Unit 41 Programming in Java Assignment Brief

Unit 41 Programming in java

Unit 41 Programming in Java Assignment Brief

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:

  1. Area of the room
  2. Time necessary to install the wood floor
  3. 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

  1. discuss the principles, characteristics and features of programming in Java. 
  2. critically evaluate the environmental flexibility of programming in Java

LO 2 Be able to design Java solutions

  1. design a Java programming solution to a given problem
  2. explain the components and data and file structures required to implement a given design

LO 3    Be able to implement Java Solutions

  1. implement a Java programming solution based on a prepared design
  2. define relationships between objects to implement design requirements
  3. implement object behaviours using control structures to meet the design algorithms
  4. identify and implement opportunities for error handling and reporting
  5. make effective use of an Integrated Development Environment (IDE) including code and screen templates

LO 4  Be able to test and document Java solutions

  1. critically review and test a Java programming solution
  2. analyse actual test results against expected results to identify discrepancies
  3. evaluate independent feedback on a developed Java program solution and make recommendations for improvements
  4. create user documentation for the developed Java program solution
  5. create technical documentation for the support and maintenance of a Java program solution