Demonstrate the use of arrays with a programming language

Assignment Help JAVA Programming
Reference no: EM132552996

COMP 10005 Introduction to Programming - Middle East College

Learning Outcome 1: Demonstrate the use of arrays with a programming language
Learning Outcome 2: Define and work with classes and objects in a programming language

Assignment Objective

The aim of this assignment is to the test student's ability to use Control Structure, arrays and work with classes and objects to solve specific problems using a programming language.

Assignment Tasks

1) Submit a work proposal for this assignment on or before 17/06/2020 (23:59) which must include:
• Timeline for completion of the given tasks.
• General overview of proposed plan - initial understanding of all tasks
• Identification of Literature Resources

2)
Red Sands University (RSU) is a popular brand of education in Bidiya. RSU offers business degree for undergraduate programs. It wants to have an information system to calculate the GPA of the students appearing for the examination. Write a java program as per following scenario:

I. As a first step, you have been asked to develop a mini system in Java to read data of (n) students.
II. The program must read the student id, name and marks scored in 5 modules -
module1, module2, module3, module4, and module5. Each module is of 10 credits.
III. The program must determine the grade based on the marks scored using table 1.1 given below:

Table 1.1: Determining grades

A

A-

B+

B

B-

C+

C

C-

D+

D

D-

F

91-

100

87-

90

84-

86

80-

83

77-

79

74-

76

70-

73

66-

69

60-

65

55-

59

50-

54

0-

49

IV. Based on the grade, the program must map the equivalent numerical value of grade for each module using table 1.2 given below:

Table 1.2: Mapping grades to numerical values

Grade

Numerical value

A

4.0

A-

3.67

B+

3.33

B

3.0

B-

2.67

C+

2.33

C

2.0

C-

1.67

D+

1.33

D

1.0

D-

0.7

F

0

V. The program needs to calculate and display the Grade Point Average (GPA). You may use the following as an example to understand this whole business process.

The program must use array of objects to read the student id, name, and marks in 5 modules for n students. Format the output, especially the numeric values to two decimal places.

Create a test case for sample inputs, work out manually the possible output for these inputs. Verify that the program actually produces the same output.

3) Write a java program to calculate the bonus of employee using class and object as per following scenario:

Write java code to read employee name, Salary and year of services and two methods. Calculate and display the bonus of the employee as per following conditions:
• If years of service is in between 15 and 10 years then bonus is 100% of the salary.
• Else the years of service is in between 9 to 6 years, then bonus is 75% of the salary
• Else the years of service is between 5 to 1 years, then bonus is only 50% of the salary.
• otherwise ,no bonus

Create class that hosts the main method and create one object. The created object should be used to call
all methods and display appropriate messages.

4) Write a brief reflection of Task 2 and 3 which may include description on data type used to solve the given task, variable used, and objects created. Reflection should also include justification on logic used to solve the given task along with proper references

Attachment:- Introduction to Programming.rar

Reference no: EM132552996

Questions Cloud

Maximize reproductive success : If a male dog wandering the neighborhood could consciously control the amount of sperm he released each time he mated, what two opposing factors
Exposed to chemical-radiological or biological elements : What standards should be implemented when decontaminating people exposed to chemical, radiological, or biological elements?
Discuss how the current global situation from the covid : Discuss how the current global situation from the COVID-19 pandemic is likely to affect the management accounting role in organisations
Which substance crossed the dialysis membrane : 1. Why is it necessary to have positive and negative controls in this experiment?
Demonstrate the use of arrays with a programming language : Demonstrate the use of arrays with a programming language and Define and work with classes and objects in a programming language
What amount should abc report for allowance for discounts : ABC, Inc. In its December 31,2017. Statement of Financial Position, what amount should ABC report for allowance for discounts?
Weather and climate : This course is named Weather and Climate but we haven't said much about the climate part of the course.
Find what is the cost per unit of cheap : Under an activity-based product costing system, Find what is the cost per unit of Cheap? Each activity, its cost and related activity driver are identified
Describe best practice for designing effective written : Describe a "best practice" for designing effective written, visual, and oral presentation materials to share with organizational stakeholders.

Reviews

len2552996

6/23/2020 3:27:18 AM

i dont want to write the assinment i did a code i have some errors i want some one to correct it i don want someone to write another codes because the solution must be in basic level

Write a Review

JAVA Programming Questions & Answers

  Write a java program called salesinfominer

Write a Java program called SalesInfoMiner that reads in a file of products, stored in text format. The program must then read in information about past sales transactions and output all the products to a new file, sorted by product description,..

  Implement a fastdefaultlist class that represent

Implement a FastDefaultList class that represents an infinite list with indices 0,1,2,3,...,∞ When we start, every value in this list is assigned the default value null.

  Implement the scan, c_scan, and look disk scheduling algo

The code must have a separate method for each scheduling algorithm and they all have to be called from the main() method.

  Create a separate class for the selected product

Create a separate class for the selected product that holds the item number, the name of the product, the department in which the product belongs, the number of units in stock, and the price of each unit.

  Explain how to declare and manipulate data in arrays

Please respond to all of the following prompts: Explain how to declare and manipulate data in arrays. Explain the meaning of "array index out of bounds".

  Simple java application that uses the string

Create a simple Java application that uses the String class and/or the StringBuffer class and at least 4 of the class methods. Show the code, demonstrate it works properly and describe what it is doing.

  State the approximate worst-case running time

If you are unsure of one of the calls into the Java Platform APIs, think about how the method might be implemented, and/or read its documentation.

  Identify the constructor in the firstclassoops class

To use a class, call the constructor. Below are two Java classes. The name of the first isFirstClassOOPS. It defines variables, constructors, and methods. Identify the Constructor in the FirstClassOOPS class.

  Using a linked implementation of graph write a method

Write a method that takes two nodes as input and returns true if joining an edge between these two nodes, forms a duplicate path to one of the input nodes within the graph.

  Considered to be an improved version

Part (c) is considered to be an improved version of Part (b). You may use an array (2-dimessional) to store some values that has been computed during the run so that when making recursive calls the program does not compute certain values over and ..

  Use server-side validation to validate all user entries

Use server-side validation to validate all user entries

  Write a method to get list of all the books

Make a map for a book with Book ISBN as key and book title as value - Write a method to get list of all the books in JSON format using restul client.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd