Assignment title: Management


Objective: The aim of this assignment is to the test student's ability to use control structures, arrays and work with classes and objects to solve specific problems using a programming language. Learning Outcomes Covered: 1. Use different program control statements in a programming language 2. Demonstrate the use of arrays with a programming language 3. Define and work with classes and objects in a programming language. 1 Basic Assignment Task & Deliverables Note: Provide adequate documentation/comments of your code in all the tasks. 1.1 Submission of Assignment Proposal Evaluation Guidelines: The evaluation will be done on the strength of analysis presented in the proposal. You need to submit a work proposal for this assignment in the form of a completed Word document on Moodle before 8 PM on Thursday, November 17, 2016 which must include:  What you will do with the given tasks and the dates by when they will be completed  General overview of initial understanding of solutions to all the tasks  Identification of Literature Resources 2 6 2 1.2 a XYZ Group is a leading construction company in Oman and they are specialize in delivering solutions to diverse businesses in Oman and UAE. Inorder to motivate the employees, the company has decided to announce the different types of bonus depends up on the employee's Grade. 25 ITP – COMP 10005/COMP 0303.1 – FALL– 16 – CW3(ASSMNT) – ALL - QP COMP 10005/COMP 0303.1 Page 2 of 12 b. If the employee belong to Grade A bonus=20% basic Grade B bonus=15% basic Grade C bonus=10% basic Grade D bonus=7% basic Grade E bonus=5% basic Write a Java program using classes and object to read the employee code (Integer), employee name (string), Basic salary (double), Category (Character) then calculate the bonus (double) and the total salary (double) eligible for each employ. The output should have the employee code, employee name, basic salary, grade bonus and the total salay. The program must use switch-case construct for calculations. Test your program for 5 employees. Sample Output Employee code : 1234 Employee Name : aaaaa Basic Salary : 1000 OMR Grade : A/B/C/D/E Bonus : 1111 OMR Total Salary : Basic salary + Bonus Students are instructed to show the 5 test cases for the above scenario 5 1.3 Write a Java program to declare and store numbers from 1 to 10 in a single dimensional array and display the output in the following format. 20 ITP – COMP 10005/COMP 0303.1 – FALL– 16 – CW3(ASSMNT) – ALL - QP COMP 10005/COMP 0303.1 Page 3 of 12 1.4 a b Oman Data Park is an organization in Oman providing IT Services to its customers. The company has a turnover of around 2.0 Billion OMR in a year. The company has assigned with a new project to automate the electricity bill processing using Java technology. As a learners of Java technology you are expected to help the Oman Data Park by wring a Java program using classes and objects that calculates and prints the monthly electricity bill for the customers. The programs should read the customer number (Integer), Customer name(string), previous month reading (Integer), current month reading (Integer). Note: Assume that OMR refers to Omani Rials Calculations: Units consumed=current month reading-previous month reading First 100 units, unit rate = 1.25 OMR Next 250 units (101-250), unit rate = 3.10 OMR Next 300 units (251-550), unit rate = 5.00 OMR Remaining units, unit rate = 4.00 OMR A sample output is as follows: Customer Id : 1234 Customer Name : xxxxxxxxxxxxxxxx Previous Month reading : 1000 Current Month reading : 2200 Units consumed : 1200 Total amount (OMR) : 111111 Students should show the result for 5 different values 35 5 1.5 Evaluation Criteria: You would be evaluated on the following:  Originality of answer, i.e. writing your own programs  WRITTEN VIVA: Your Assignment marks are based on the WRITTEN VIVA which will be conducted upon submission of assignment during week 14. The WRITTEN VIVA will be based on the tasks given in the assignment. ZERO marks will be awarded to the student if she/he is absent for VIVA. ITP – COMP 10005/COMP 0303.1 – FALL– 16 – CW3(ASSMNT) – ALL - QP COMP 10005/COMP 0303.1 Page 4 of 12  Proper analysis of given problem, adequate covering of intended learning outcomes and presenting the answers in good, documented form.  Adequate referencing has been done, following CU Harvard style of referencing. Total Marks 100 Note:  Task 1.3 is compulsory. No marks will be awarded to tasks 1.1 and 1.2 without written viva.  Do not copy from your friend's work or from any other student work. You are required to submit the assignment proposal on or before