Programming in Java Assignment
Qualification - BTEC Higher National Diploma in Computing and Systems Development
Unit Number and Title - Unit 41 Programming in Java
Purpose of this assignment
To provide learners with an understanding of the principles of programming in Java, exploring the object oriented nature of the language and the multi-platform versatility offered.
Case Study - Company
Robert is running a small company supplying Wood Flooring to offices and houses. He has hired two assistants to do the work. Each assistant can install wood flooring at an average rate of 3 meter square, every hour. Each assistant is paid £ 10.25 / hour. Robert charges an additional £85.00 / week for his administrative work. Design a program to calculate the overall job cost, assuming that there will be only one type of wood used in all the rooms with a price of £19.95/meter square. The user should provide dimensions of the room and you are required to calculate following:
Area of the room
Time necessary to install the wood floor
Final cost of the job.
Assume Robert will always use both of his assistants for every job.
Robert accepts cash payment if the final cost of the job is less than or equal to £300.
If the final cost is above £300, payment by debit or credit card is accepted.
Your program should prompt the user with "Payment Options", if the final cost is over £300.
If "Debit Card" is selected as the payment option, there is a charge of £0.50 per transaction.
If "Credit Card" is selected as payment option, there is a charge of 2% of the final cost.
If the client chooses to pay in Cash, there will not be any additional charge.
LO 1 Understand the principles of programming in Java
discuss the principles, characteristics and features of programming in Java.
critically evaluate the environmental flexibility of programming in Java
LO 2 Be able to design Java solutions
design a Java programming solution to a given problem
explain the components and data and file structures required to implement a given design
LO 3 Be able to implement Java Solutions
implement a Java programming solution based on a prepared design
define relationships between objects to implement design requirements
implement object behaviours using control structures to meet the design algorithms
identify and implement opportunities for error handling and reporting
make effective use of an Integrated Development Environment (IDE) including code and screen templates
LO 4 Be able to test and document Java solutions
critically review and test a Java programming solution
analyse actual test results against expected results to identify discrepancies
evaluate independent feedback on a developed Java program solution and make recommendations for improvements
create user documentation for the developed Java program solution
create technical documentation for the support and maintenance of a Java program solution