




























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 20: Advanced Programming Submission date Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Truong Duy Minh Student ID GCD Class GCD1102 Assessor name 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 Grading grid P3 P4 M3 M4 D3 D
Grade: Assessor Signature: Date: Lecturer Signature:
The software code I have been discussing is a comprehensive set of tools for building and deploying web applications. This code is designed to streamline the coding process, allowing developers to write applications more quickly and efficiently while still producing high-quality, reliable software. In this report, I’ll discuss the features and functionality of this code, as well as its potential applications for web developers and businesses. I'll also explore some real-world scenarios of how this code can be used to build and deliver web applications to customers. By the end of this report, you should have a solid understanding of the benefits of using this code in your own development work and be inspired to try it out in your own projects.
A team of developers created a web application using the code we've been discussing and put it up for sale on a software project platform. Sarah, a potential customer, was interested and negotiated a final price and terms of sale with the developers. After completing the sale and transferring ownership of the application, Sarah tested it and customized it to meet her business needs. The developers provided technical support and assistance as needed, and Sarah began using the application successfully. Throughout this scenario, the team of developers used the code we've been discussing to build a web application that they sold to a customer like Sarah. They provided excellent customer service and technical support to facilitate the sale and ensure that Sarah was satisfied with the product.
The scenario presented above involves a team of developers who created a web application using a specific coding framework. They then sell the application to a potential customer who uses it successfully in her business with the help of technical support from the developers. From an analytical perspective, this scenario represents a common business model employed by many software development companies. The developers build a product, test it, and then sell it to customers who need the solution. The customer then uses the
product, reports issues and suggests improvements, which the developers can use to further refine the software and offer better support in the future. To solve this scenario, developers should: Ensure that their web application is thoroughly tested and ready for sale before putting it up on a software project platform. Provide prompt and helpful customer service by answering questions from potential customers and offering demos or other support materials to help them make informed decisions. Clearly negotiate the terms of the sale, including the price, the transfer of ownership, and the support and assistance that will be provided after the sale. Be available to help the customer with any issues or questions that arise during the customization and use of the web application. Continuously monitor and improve the web application and provide regular updates to customers to ensure that it is running smoothly and effectively. By following these steps, developers can successfully sell their web applications to potential customers and provide the necessary support and assistance to ensure that they are satisfied with the product. This leads to repeat business and a strong reputation for quality and reliability in the software development industry. Here are the UML diagram for the code:
Figure 1 : UML of the program This UML diagram consists of several classes, interfaces, and methods that are related to an inventory management system. Here is a breakdown of what each element of the diagram represents: IInventoryItem: An interface that defines the properties and methods that an inventory item should have. It includes properties for ItemName, Quantity, Price, and ID. IPurchaseOrder: An interface that defines the properties and methods that a purchase order should have. It includes properties for ID, Item, Quantity, Price, and Status. Book and Tool: Two classes that implement the IInventoryItem interface. They inherit the properties and methods defined in IInventoryItem and add an additional property for the type of item. Each of them have properties for ItemName, Quantity, Price, and ID. InventoryItemFactory: A class with a public method, CreateItem(), which returns an instance of either Book or Tool depending on the type of item requested. It also has methods for creating PurchaseOrder instances. PurchaseOrder: A class that implements the IPurchaseOrder interface, which includes properties for ID, Item, Quantity, Price, and Status. Inventory: A class that contains a list of Items and PurchaseOrders. It has methods for adding and removing items, creating purchase orders, approving or rejecting purchase orders, displaying the inventory, and editing items. Overall, this UML diagram represents a system for managing an inventory of books and tools, as well as creating and managing purchase orders for those items. The IInventoryItem and IPurchaseOrder interfaces define the properties that all inventory items and purchase orders should have, while the Book and Tool classes implement those interfaces with additional properties for the type of item. The InventoryItemFactory class creates new Book and Tool instances and manages the creation of purchase orders. The Inventory class manages a list of items and purchase orders, and includes methods for adding, removing, and editing items, creating purchase orders, and displaying the current inventory.
Figure 2 : code of program IInventoryItem: An interface that defines the properties of an inventory item, including ItemName, Quantity, Price, and ID.
Figure 4 : code of program PurchaseOrder: A class that implements the IPurchaseOrder interface and represents a purchase order object. It includes properties for ID, Item, Quantity, Price, and Status.
Figure 5 : code of program