New

Connect on Whatsapp : +97143393999 , Uninterrupted Access, 24x7 Availability, 100% Confidential. Connect Now

# ZLX05 HND In Computing

## Question:

### Scenario

You are required to design, implement, test and document windows forms application within Microsoft Visual Studio 2017 community edition environment (C#). The application will implement the following app.

A carpet company has asked you to write an application that calculates the price of carpeting for rectangular rooms. To calculate the price, you multiply the area of the room (width times length) by the price per square meter of carpet. For example, the area of a room that is 6 meter long and 5 meter wide is 30 square meter. To cover that room with carpet that costs £8 per square meter would cost £240 (6x5x8=240)

First, you should create a class named RoomDimension that has two Fields: one for the length of the room and one for the width. The RoomDimension class should have a method that returns the area of the room (the area of the room is the room's length multiplied by the room's width).

Next, you should create a RoomCarpet class that has a RoomDimension object as a field. It should also have a field for the cost of the carpet per square meter. The RoomCarpet class should have a method that returns the total cost of the carpet.

Once you have written these classes, use them in an application that asks the user to first enter the number of rooms. For each room, the user must enter dimensions, then calculate the area. The next step is to enter the price per square meter of the desired carpeting and calculating the carpeting price per room. This repeats for each room and the application should calculate and display the total cost of the carpeting for all the rooms at the end.

All the values on the forms are required and you need to check the value range for valid inputs. If you entered the values wrong there should be a clear button that clears all the values from the form.

Expected programming output: For fulfilment of task 3 you need implementation of all the functionalities, providing that they are complete and follow OOD and OOP principles, it is possible to achieve full marks.

### Understand the principles of object oriented programming

Various programming language are available to design and develop the application.

Discuss the principles, characteristics and features of objected oriented programming.

Explain the advantages of OOP principles in the design of software solution to a problem such as described in the above scenario. Here you may refer to inheritance, modularity and extensibility.

• To achieve M1, you must demonstrate a clear understanding of the core principles of object oriented programming and will have met the deadline to submit the tasks and achieve the unit assessment criteria.

### Be able to design object oriented programming solutions

You need to produce a full design for the requirements given. Identify the objects and data and file structures for given problem

For the requirement specification given in the above scenarios, identify and list the classes required in your proposed OOP design solution. Show these by drawing a UML class diagram(s) depicting the classes (with their attributes and methods) and their relationships with each other in the design.

• To achieve D1, you have to present detailed level in your design using effective approach; you have demonstrate proper use-case diagram. You have to justify your choices of classes, properties and relationship amongst them; also, you have to demonstrate proper use of UML class diagrams.

### Be able to implement object oriented programming solutions

Within the MS Visual Studio (VS) IDE implement an objected oriented solution to each of the above given problem scenarios. Your code must follow good software design and development conventions some of which are given in the good programming practice section below. You must also demonstrate effective use of the VS IDE, including code and screen templates. To this end, you have to:

Implement your design for the software designed in tasks 2.1 and 2.2.

Your code must make use of programming standards to define relationships between objects to implement design requirements

You should state any changes made to the design with reasons by implementing object behaviours and using control structures to meet the designed algorithms.

Screenshots evidence showing coding and running of the program must also be included.

Important: You need to screenshot all of the source code very visibly and include it in your final report. Please avoid attaching the source code to the final report.

• To achieve M2, you have to demonstrate a proper implementation of functional object oriented program using effective approach for the main functionalities and features of the system.
• To achieve D2, you have to demonstrate a proper implementation of object behaviours using control structures to meet the designed algorithms

### Be able to test and document object oriented programming solutions

Critically review and test an object orientated programming solution you developed for the given scenario.

Analyses actual test results against expected results to identify discrepancies. You are advised to use a table to show this.

Evaluate independent feedback on a developed object oriented programme solution and make recommendations for improvements.

Create onscreen help to assist the users of the computer program you developed.

As part of the user and design documentation, create brief documentation for the support and maintenance of the program and day-to-day user.

• To achieve M3, you have to demonstrate appropriate structure of the application documentation, introducing coherent, consistent user guide for the intended audience and providing technical documentation to support and maintain the system appropriately.
• To achieve D3, you have to introduce a proper functional object oriented program, running in stable manner, showing creative thinking in design, implementation and testing, including all the application service s specified in the given scenario. You have to apply various testing methods in requirement analysis phase to system completion phase and critically discuss each of them.

### Cite This Work

My Assignment Help (2020) HND In Computing [Online]. Available from: https://myassignmenthelp.com/free-samples/zlx05-hnd-in-computing/develop-application-for-an-carpet-company.html
[Accessed 18 August 2022].

My Assignment Help. 'HND In Computing' (My Assignment Help, 2020) <https://myassignmenthelp.com/free-samples/zlx05-hnd-in-computing/develop-application-for-an-carpet-company.html> accessed 18 August 2022.

My Assignment Help. HND In Computing [Internet]. My Assignment Help. 2020 [cited 18 August 2022]. Available from: https://myassignmenthelp.com/free-samples/zlx05-hnd-in-computing/develop-application-for-an-carpet-company.html.

### Content Removal Request

If you are the original writer of this content and no longer wish to have your work published on Myassignmenthelp.com then please raise the content removal request.

## 5% Cashback

On APP - grab it while it lasts!