

















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


















Qualification BTEC Level 5 HND Diploma in Computing Unit number and title Unit 09: Software Development Life Cycle Submission date 03/09/2023 Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Ngo Thanh Tung Student ID GCH Class 1103 Assessor name Do Quoc Binh Student declaration I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that making a false declaration is a form of malpractice. Student’s signature Tung Grading grid P5 P6 P7 M3 M4 M5 M6 D3 D
Grade: Assessor Signature: Date: Internal Verifier’s Comments: Signature & Date:
1. Discuss two software quality attributes that are applicable to the project...................... 22 2. Discuss two quality assurance techniques that can help improve the software quality in the project......................................................................................................................................... 23 3. Discuss how the design techniques and approaches that you have used can help improve the software quality.......................................................................................................................... 23
Task 1 – Analysis (1)
1.1 Review the requirement definition of the project. Clearly indicate which stakeholder(s) provide what requirements. Definition of requirement: A requirement is simply a statement of a job of a system and what is the required characteristic. Throughout the process of systems development, requirements will be developed base on the needs of the business, the tasks that the users need to carry out, the actions that the software should execute, the characteristics the system should possess, and the way the system should be constructed. Definition of stakeholder: Stakeholders are individuals, groups, or organizations who can influence a software project due to their position and whose interests may be affected by its success or failure. Stakeholders may have varying degrees of responsibility and authority at different stages of the software development lifecycle. (2009. Alan Dennis) Some of the stakeholders that can influence Tune Source: Project Sponsor : Carly Edwards, Assistant Vice President, Marketing – one of the individuals that mainly contribute for the cost support of the Tune Source project. Project manager : The decision-maker on all project aspects, considering the needs and objectives of all stakeholders. They supervise the project and make necessary adjustments to create a solid product on time and within budget, making customers satisfied. Co-Founder : John Margolis, Megan Taylor, and Phil Cooper - musicians with strong passion, knowledge about the music industry with lots of strong connection with many companies. Customers : people who wish to access the company rare music archive. They can also provide feedback and suggestion for improving the product. Marketing : People who analyze market trends, design advertising campaigns, determine pricing strategies, and target consumers based on demographic information, and they work with the firm to increase brand recognition. Admin users : Managing access and user identities, provide dedicated technical support for user. Creating report for project manager base on the feedback of customers. 1.2 Identify FRs and NFRs of Tune Source Project. Definition of Functional Requirement (FR) Functional requirements are features or functions of a certain product that the developer must provide in order to allow the users accomplish their tasks. When developing a system, it is crucial to make clear its functional requirements for the development team and the stakeholders to be able to understand them clearly. Generally, functional requirements describe how a system would function under specific circumstances. In Tune Source, for instance: Application send result after user enter search keyword to find music in digital music archive. Allow user to listen to music samples.
2.1.2 Joint Application Design (JAD) Figure 1: Joint Application Development Meeting Room (p.120, Systems Analysis and Design) Joint application development is an information gathering process allows the project team, users, and management to work together to identify requirements for the system. It is a structure process that usually involve 10 to 20 people meet under a direction of a facilitator that familiar in JAD technique. The role of a facilitator is to set the meeting agenda and guide the discussion, but do not participate as a participant. 2.1.3 Questionnaires A questionnaire is a set of written questions for obtaining information from individuals. Questionnaires often are used when there is a large number of people from whom information and opinions are needed. questionnaires are typically used for systems that are intended for use outside of the organization or for systems with business users spread across many geographical locations. 2.1.4 Document Analysis Document analysis is often used by project teams to learn about the as-is system. The idea circumstances are the project team that created the original system might have prepared documentation, which was later expanded by subsequent projects. In this situation, the project team may look at documentation and examine the system itself. 2.1.5 Observation Observation, the act of watching processes being performed, is a powerful tool to gain insight into the as-is system. Observation enables the analyst to see the reality of a situation, rather than listening to others describe it in interviews or JAD sessions. Interview information can be
supplemented by observing the location and furnishings of a person’s office since it gives clues as to their power and influence in the organization. Such information can be used to support or make contradict statements made during an interview. 2.2 Selecting the Appropriate Techniques To determine which technique best suite the Tune Source project we can refer to the table below Figure 2: Comparison of Requirements Elicitation Techniques (p.129, Systems Analysis and Design) Type of Information This characteristic represent which techniques are more suitable for use at different stage of the analysis process: as-is system, identifying improvements, or developing the to-be system. For instance, Figure 2 shows Interview and JAD technique is typically used in all three stages, whereas Document Analysis and Observation usually most helpful at the as-is system. Depth of information The depth of information refers to the level of detail and complexity of the information that the technique produces and the extent to which the technique enables the user to obtain both facts and opinions as well as why those facts and opinions exist. Breadth of Information The term breadth of information refers to the range of data and resources that can be collected using that technique. Integration of Information Integration of information is the gathering information from different source. For example, people can have different opinions and beliefs base on their experience and this characteristic means combining these opinions and evaluate the information in many perspectives. User Involvement User involvement refers to the amount of time and energy the intended users of the new system must devote to the analysis process. More user become involve means there are more success change. However, that also came with cost of user time and energy. Cost This simply represent how much the does the cost to operate in short and long term. 2.3 Apply for Tune Source project
The figure illustrated above shows that with requirement traceability matrix can: Show the requirement coverage in the number of test cases Design status as well as execution status for the specific test case If there is any User Acceptance test to be done by the users, then UAT status can also be captured in the same matrix. The related defects and the current state can also be mentioned in the same matrix. As the project grow more and more complex, the test case also became larger. Consequently, when there are changes in client requirement, it is very difficult to trace which test cases affected by the change. However, if the requirement has an ID and reference in the test case document, it would be much easier to track test cases that are affected. The traceability links the business requirement to it corresponding functional requirement right up to the corresponding test cases. If a test case fail traceability helps determine the corresponding functionality. Furthermore, it also helps ensure that all requirements are tested. Task 2 – Analysis (2) Analyze the requirements that you identified in Task 1 using a combination of structural and behavioral modelling techniques that you have learned.
Figure 4: Use Case Diagram The user case diagram illustrates all the different options provide to these three users when access to the system: Customer, Subscribed customer and admin. When a customer first arrives at the site, he/she tend to browsing through and try out sample of couple songs or enter a search for a particular title, artist, or genre of music. If the customer wishes to create a favorite playlist or purchase a song, they will need to register an account. Moreover, they also have the option to pay for the monthly subscription to become a member customer and able to access many benefits such as have access to listen to the full song, gain unlimited downloads, etc. When access the system as an admin, the user able to have option to manage the customer and the system such as creating new payment, manage customer profile and review feedback.
2.1 Purchase Subscription User Case Name: Purchase Subscription Actor(s): Customer
Figure 5: Data Flow Diagram – Level 0 Looking at figure 4, it can clearly see that the data was mainly between the system and four stakeholders: Subscription customer, non-subscription customer, Store Manager and Sale Manager. For customer, they mostly receive data from the system which is the services that the company offer and send back payment and feedback of the services. The store manager job is to maintain and offer more benefit to keep the customer engaging. Furthermore, they also receive customer data information and feedback to help manage, maintain the system to satisfy customer needs. After that they will create a sale report and send to sale manager to review the situation. Lastly, the sale manager sends out notice or update for employee about business strategy and changes in the system.
Figure 6: ERD Diagram I have created an ERD for the Tune Source system in figure 5 include variety entities stored in the database for easy review. Firstly, we have entity playlist that connect to the publisher and author and store in the system. It also included category entity for easy sort and access by the customer. Customer can order a playlist through product order and order entities which will have detail of the order. The employee job is to keep track and manage the order of the customer. Customer can save payment in the database for future review or purchase. Furthermore, after purchase, they can leave feedback for the product which can be review by employee or future customer. Task 3 – Design Based on the analysis result, discuss how you would conduct the design phase:
1.1 Mock-up and Wireframe A wireframe provides a structural framework for a user interface, indicating the basic design and functions of a user interface (such as a website or application). It is a useful way to brainstorm the
with traditional software. Update overall system also more complicated since you will need to update all clients and servers and make sure it is applied on all devices. (2009, Alan Dennis) Why Client-server architectures is suitable for project Tune Source? As mention in the assignment scenario, Tune Source is a large and powerful company who want to initiate a project to increase the capability of selling digital music download to customer through kiosks in their stores, and over the Internet using the website. Currently, Tune Source already have a substantial amount of customers base and with the implement changes, they expect there will be increased in number. Therefore, having a scalable server will help easier manage the data access and data storage. As a music application, it will attract a wide range of customers who have different type devices that want to be able to connect to the service. So, in order to allow customer from many systems to gain access, it is necessary to support many types of system to increase the app popularity. Tune Source also operate in a web-based system that want to separate presentation logic such as HTML and JavaScript for client side to handle. When the presentation logic changes it will not affect most of the application, data access and data storage logic which is handle on the server side hence increase the security of the application. Finally, Tune Source also need to be consistency. The app must be up and running most of the time and allow user to gain access whenever needed. Having server failing can be extremely critical. However, with Client-server architectures only the application requiring that server will fail. Furthermore, the failure server can be quickly replaced and restore the application, minimize the down time of the app. 1.3 Which technical solution stack could be suitable to implement the project? A tech stack refers to the collection of technologies used to build an chooses to build their project with. It includes solutions for developing the application and data storage, DevOps tools, and business-centric integrations. The term “Stack” is used because when developing an application, several layers are built over each other. The layers involve the use of different programming codes, components, and hardware modules, hence forming a stack of various technologies. The Frontend tech stack for Tune Source Frontend is the user’s side which is the interface that enable user to interact with the application. Its main goal is offering, making it easy, providing an enjoyable user experience, highlighting actions, and creating events. Tune Source project will use the combination of HTML, CSS and JavaScript language to build the application and website since these are cross-platform web technologies. In another word it can also work with different type of operating system like IOS or Android. The Backend tech stack for Tune Source Backend components include programming languages, server software, server technologies, operating systems, databases, and APIs. In addition, business logic, hosting, and deployments are also involved. The LAMP stack is an open-source software package that comprises the PHP programming language, the Linux operating system, the Apache HTTP Server, and the MySQL database management system. It works very well at building and delivering web-based application like Tune Source. It makes it possible for smaller companies to compete with large commercial software development solutions in terms of flexibility and efficiency. Furthermore, it is easily customizable
and users can replace every component with another open-source solution and tailor to meet the customer satisfaction.
2.1 Activity diagram Activity diagram is another important behavioral diagram describe dynamic aspects of the system. It is essentially an advanced version of flow chart that modeling the flow from one activity to another activity. A diagram flow diagram illustrates the sequence of activities that occur while a process is being executed, including all of the possible decision paths. With this we can see how the software function which kind of data it receives and how will it execute. 2.2 Pseudocode Pseudocode literally means ‘fake code’. Pseudocode is often used as a substitute for conventional code to convey the sequence of steps required to perform a certain task in a manner that is easy to understand by humans. The language of computer is very inflexible, you are not allowed to make any mistakes or deviate from the rules. However, with pseudocode, you make the rule. As long as it is comprehension, it doesn’t matter what language you use to write pseudocode. (Kingsley Ubah,
With these advantages, it allows you to plan instructions which follow a logical pattern and specify the software behavior without including all of the technical details. It helps you explain exactly what each line in a software program should do. Pseudocode gives you absolute control over every aspect of the code, one of the things that makes it so appealing.
UML state machine An entity's behavior is not only determined by its input, but also depends on its prior state. A finite state machine or traditionally called automata diagram best illustrates an entity's past history. UML state machine show the different states of an entity, how an entity responds to various events by changing from one state to another. Generally, keeping track of different state of entities can help specify one software behavior. Entities have various responds to the same event depending on what state it is in hence predict the logic and algorithm behind a software. (Visual Paradigm, 2022) Finite State Machine (FSM) and extended FSM A finite state machine (FSM) is a mathematical model of a system that has a fixed number of states. From each of these states, the machine can switch to several other fixed states in response to factor like events and inputs. Some of the main feature of FSM: Only a single state at a time can be operate in the machine. The next stage of the machine can be identified.