Docsity

SDLC Models & Techniques: A Guide for BTEC Computing Students - Prof. Decano, Exercises of Computer Communication Systems

Partial preview of the text

Download SDLC Models & Techniques: A Guide for BTEC Computing Students - Prof. Decano and more Exercises Computer Communication Systems in PDF only on Docsity!

PROGRAM TITLE: BTEC in Computing (Software Engineering)

UNIT TITLE: Software Development Life Cycle

ASSIGNMENT NUMBER:

ASSIGNMENT NAME:

SUBMISSION DATE:

DATE RECEIVED:

TUTORIAL LECTURER:

WORD COUNT:

STUDENT NAME:

STUDENT ID:

MOBILE NUMBER:

Summative Feedback:

Contents

3.5. Evaluate the effectiveness of the system investigation process in improving software quality (D3)

  • I. Describe different software development lifecycles (LO1)......................................................................
    • 1.1. Software development life cycle (SDLC) (P1).................................................................................
    • 1.2. Risk management in models (P2).....................................................................................................
    • the project (M1)..................................................................................................................................... 1.3. Give examples and explain why it is necessary to choose the appropriate development model for
    • 1.4. Specific example of a large software effectively applying the Waterfall model (D1).....................
    • 2.1. Possible report (P3)........................................................................................................................
    • 2.2. To compare technological solutions that can be applied to the project (P4)...................................
    • 2.3. Components of a feasibility report (M2).........................................................................................
    • 2.4. Impact of feasibility criteria (D2)...................................................................................................
  • III. Implement the software development life cycle (LO3)........................................................................
    • 3.1. Do a software investigation (P5).....................................................................................................
    • 3.2. Use appropriate software analysis tools/techniques to perform software investigations (P6).........
    • 3.3. Theo dõi các yêu cầu phần mềm (M3)............................................................................................
    • 3.4. Presenting two approaches to improving software quality. (M4)....................................................
  • IV. Software behavioral design techniques (LO4).....................................................................................
    • 4.1. Discuss software behavioral design (P7)........................................................................................
    • 4.2. Analyze software tools and behavior (M5).....................................................................................
    • 4.3. Finite state machine (FSM) and extended state machine (M6).......................................................
    • 4.4. Finite state machine........................................................................................................................
    • 4.6. FSM and extended FSM application examples...............................................................................
    • 4.7. How data-driven software development can improve software reliability and efficiency (D4)......
  • V. References............................................................................................................................................
  • 1 Software Development Life Cycle............................................................................................................ Tables of images
  • 2 DFD 0....................................................................................................................................................
  • 3 DFD 1( Customer dose not have an account)........................................................................................
  • 4 DFD 1( customer has an account)..........................................................................................................
  • 5 DFD 1(Admin)......................................................................................................................................
  • 6 ERD.......................................................................................................................................................
  • 7 Schedule Baseline 1.1............................................................................................................................
  • 8 Schedule Baseline 1.2............................................................................................................................

Stage-3 : Designing Architecture SRS is a reference for software designers to come up with the best architecture for the software. Hence, with the requirements defined in SRS, multiple designs for the product architecture are present in the Design Document Specification (DDS). This DDS is assessed by market analysts and stakeholders. After evaluating all the possible factors, the most practical and logical design is chosen for development.  Stage-4 : Developing Product At this stage, the fundamental development of the product starts. For this, developers use a specific programming code as per the design in the DDS. Hence, it is important for the coders to follow the protocols set by the association. Conventional programming tools like compilers, interpreters, debuggers, etc. are also put into use at this stage. Some popular languages like C/C+ +, Python, Java, etc. are put into use as per the software regulations.  Stage-5 : Product Testing and Integration After the development of the product, testing of the software is necessary to ensure its smooth execution. Although, minimal testing is conducted at every stage of SDLC. Therefore, at this stage, all the probable flaws are tracked, fixed, and retested. This ensures that the product confronts the quality requirements of SRS. Documentation, Training, and Support: Software documentation is an essential part of the software development life cycle. A well-written document acts as a tool and means to information repository necessary to know about software processes, functions, and maintenance. Documentation also provides information about how to use the product. Training in an attempt to improve the current or future employee performance by increasing an employee’s ability to work through learning, usually by changing his attitude and developing his skills and understanding.  Stage 6: Deployment and Maintenance of Products After detailed testing, the conclusive product is released in phases as per the organization’s strategy. Then it is tested in a real industrial environment. It is important to ensure its smooth performance. If it performs well, the organization sends out the product as a whole. After retrieving beneficial feedback, the company releases it as it is or with auxiliary improvements to make it further helpful for the customers. However, this alone is not enough. Therefore, along with the deployment, the product’s supervision.

Two sequential life cycle models Overview of the model.

  • Waterfall model is one of the most classic software development models, in which development steps are performed in a linear sequence, from requirements, design, implementation, testing to maintenance.
  • The V-model is similar to the Waterfall model, however it links each step in the development process with a corresponding step in the testing process. This helps ensure that each stage of development is carefully tested before moving on to the next stage. + The model has stages
    1. Collect requirements
    2. Requirements analysis
    3. System design
    4. Deployment and programming
    5. Testing
    6. Maintenance  Advantage:  Easy to understand and develop declaratively: Development steps are performed in a clear sequence, making it easy to understand and develop the development process.  Easy management: Tracking progress and costs becomes easy with the weekly model.  Explicit documentation: Each stage generates specific documentation, aiding in management and traceability.  Disadvantage:
    • Inflexible when it comes to changing requirements: This model has difficulty adapting to changes in customer requirements.
    • Late error detection: Because testing takes place in the final stages, it can lead to late error discovery, when the cost of fixing errors has already increased  Two iterative life cycle modelsSpiral Model:Overview: The Spiral model focuses on controlling risks during the development process. It combines elements of planning, analysis, design and testing with risk assessment and mitigation.  Phases: This model includes iterative phases of requirements definition, analysis, design, implementation, and testing. Advantage Disadvantage

risks. Risk prevention and mitigation measures are applied throughout the development process.  V-Model Model : In this model, risk management is typically performed by identifying and assessing risks from the design and testing phase. Risk prevention and mitigation measures are applied throughout the development and testing process. 1.3. Give examples and explain why it is necessary to choose the appropriate development model for the project (M1) Example of a project : Build a new mobile application to provide a delivery service. The model chosen to develop the above project is the Aglie model The reason for choosing the Agile model for the project of building a delivery mobile application is because of its flexibility and ability to continuously interact with customers. In the IT industry, market requirements can change rapidly, and Agile allows development teams to quickly adapt and adjust products to meet new needs. At the same time, developing in small phases helps minimize risks and optimize project performance:

  1. Flexibility : The Agile model allows development teams to adapt quickly to changes in requirements or business environments. This gives the project the ability to react flexibly and respond quickly to new requirements from customers or the market.
  2. Continuous interaction with customers : Agile encourages regular interaction between the development team and customers to ensure that the product developed meets their needs and desires. This helps minimize the risk of the product not meeting the customer's final requirements.
  3. Minimize risk : Developing in short sprints helps minimize project risk. By breaking the project into small phases, development teams can control and manage risk more effectively, while optimizing testing and feedback during development. 1.4. Specific example of a large software effectively applying the Waterfall model (D1) Microsoft Office example  Advantages of applying the Waterfall model to Microsoft Office projects:  Clear and structured process: The Waterfall model provides a phased software development process, helping to minimize risk and ensure quality.  Effective project management: The Waterfall model allows for accurate project planning and estimation, helping project managers control scope and timetable.

 Comprehensive documentation: The Waterfall model emphasizes complete documentation, creating comprehensive documents that can be used as references throughout the development lifecycle.  Suitable for projects with stable requirements: The Waterfall model is suitable for projects with stable requirements and not many changes in scope.  Disadvantages of applying the Waterfall model to Microsoft Office projects :  Lack of flexibility: Waterfall model is not flexible and finds it difficult to adapt to changes in scope or requirements.  Long development time: The Waterfall model requires completion of one phase before moving on to the next, resulting in long development time.  Slow response to user needs: The Waterfall model does not allow for quick response to changing user needs, as changes must be incorporated into subsequent development stages.  Evaluate whether the application of the Waterfall model is effective for Microsoft Office projects:  In my opinion , applying the Waterfall model to Microsoft Office projects is considered effective because:  Microsoft Office is a large project with stable requirements and not many changes in scope.  The Waterfall model provides a clear and structured process, helping to manage projects effectively and ensure quality.  Microsoft Office has been successful in developing and releasing many software versions, proving that the Waterfall model can be effectively applied to large software projects. II. Feasibility study (LO2) 2.1. Possible report (P3)

  • Feasibility report is a document presenting research contents on the necessity, feasibility and effectiveness of construction investment according to the selected plan, which is the basis for deciding or approving the investment. construction investment.
  • The purpose of the feasibility report is to present research content on the necessity, feasibility and effectiveness of construction investment. This report helps make decisions or approve construction investments based on factors such as technical, economic, social, environmental and legal feasibility.

 Legal and ethical feasibility: Whether the project complies with applicable laws and regulations, and whether it raises any ethical issues.  Political feasibility: Does the project have the support of key stakeholders?  Social feasibility: Does the project bring benefits to society?  Environmental feasibility: Does the project have a negative impact on the environment  Each feasibility criterion impacts a software investigation in different ways:

  • Technical feasibility: The software investigation must identify the project's technical requirements and evaluate whether they can be met with available technologies and resources.
  • Economic feasibility: The software investigation must estimate the costs of developing and implementing the software, as well as the potential benefits it may bring.
  • Operational feasibility: The software investigation must assess whether the software can be integrated into existing processes and systems, as well as its impact on business operations.
  • Legal and ethical feasibility: The software investigation must identify any legal or ethical issues related to the project and recommend risk mitigation measures.
  • Political feasibility: The software survey must identify key stakeholders and assess their level of support for the project.
  • Social feasibility: The software investigation must assess the potential social impact of the software and recommend measures to maximize benefits and minimize negative impacts.
  • Environmental feasibility: The software investigation must assess the potential environmental impact of the software and recommend measures to minimize this impact. III. Implement the software development life cycle (LO3) 3.1. Do a software investigation (P5) This project we will implement will be an online laptop selling website. The laptop selling website project aims to build a website that specializes in providing laptop products to consumers. This website will include features such as displaying a list of laptop products from many different brands and types, allowing users to view detailed product information.  For users
  • For those who do not have an account, they can only view, search for product information and register a new account
  • For those who already have an account, they can log in, search, view detailed product information, add products to their cart, and directly order one or more products at the same time.  For admin:
  • You can add, edit, and delete products, categories, and brands on the admin page
  • Can update order status Edit or delete customer accounts Online Laptop Sales Website Ø Admin  Product management: Add, edit, delete products, update product information and images.  Order management: View orders, confirm orders, update order status.  User management: Create, edit, delete user accounts, manage access rights.  Report management: View and create reports on sales and number of products sold. Ø UsersUser already has an account  Login: Log in to your existing account  Product search: Search and filter products by criteria such as price, product category.  View product details: View detailed information, images and reviews of the product.  Add to cart: Select product and add to cart to buy later.  Payment: Make payment for selected orders.  User does not have an account  Register: Register a new account  Product search: Search and filter products by criteria such as price, product category.  View product details: View detailed information, images and reviews of the product Present the non-functional requirements of the project.
    • User-friendly interface : Ensure the website interface is easy to use, user-friendly, compatible on different devices such as computers, mobile phones and tablets.
    • Powerful search feature : Provides flexible search tools, allowing users to filter products by many criteria such as manufacturer, configuration, screen size, price, and other features.
    • Performance and speed : Make sure the website runs smoothly and has fast load times to provide a good user experience.
    • Information security: Protects users' personal and payment information through the use of encryption techniques and other security measures.
    • Review and comment feature : Allows users to rate and write comments about the product, helping buyers have more information when deciding to purchase.
    • Safe payment integration : Supports many safe and convenient payment methods such as card payment, bank transfer, e-wallet.

- The data flow diagram includes the following levels: Data Flow Diagram (DFD) is often divided into four different levels, including:

  1. Level 0 DFD : This is the highest level in the data flow diagram, representing an overview of the system or process without going into detail.
  2. Level 1 DFD : This level describes in more detail the specific processes represented in the Level 0 DFD. Each level 1 process can be decomposed into smaller processes.
  3. DFD level 2 : This level further decomposes the processes at level 1 into more specific components and activities.
  4. Final DFD : This is the most detailed level, clearly describing how data is processed and transformed in the system. + Level 0 DFD diagram of online laptop sales software 2. DFD 0 + Level 1 DFD diagram of online laptop sales softwareCustomer does not have an account

3. DFD 1( Customer dose not have an account)Customer has an account 4. DFD 1( customer has an account)

6. ERD

3.3. Theo dõi các yêu cầu phần mềm (M3)  One possible solution for versioning software is to use the Git version management system. Git allows developers to track changes in source code, create branches (branches) for parallel development, and merge (merge) changes dynamically. Additionally, services like GitHub or GitLab provide online platforms for coding source hosting and version management, facilitating team work and effective software version control.  Schedule Baseline of the online Laptop sales website project 7. Schedule Baseline 1.

8. Schedule Baseline 1. 3.4. Presenting two approaches to improving software quality. (M4)  Software testing Software testing is the process of evaluating a piece of software to find errors and ensure that it meets requirements. There are many different types of software testing, including:  Unit testing  Integration testing  System testing  Acceptance testing Advantage Disadvantage Detect errors before software is deployed, helping to reduce risk and costs. Improve software reliability and performance. Enhance customer satisfaction by delivering high quality software. Can take time and effort. There can be no guarantee that the software is error-free. Some errors that are difficult to detect may be missed.  Software engineering Software engineering is a set of methods and practices used to develop high-quality software. Includes activities such as:  Collect requirements  Software design  Write code  Testing  Maintenance Advantage Disadvantage Improve software quality by applying Có thể yêu cầu các kỹ sư phần mềm có trình