COMP 10005 Introduction to Programming Assignment

Assignment Help JAVA Programming
Reference no: EM132407556

Introduction to Programming (COMP 10005)

Middle East College

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:
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.1 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 Wednesday, November 13, 2019which 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

1.2 Oman College has decided to develop OAM calculation system to determine student's classification after their graduation. Write a java program using array concept to perform the following:

1. Write a java code to read the number of students (to input data). The code must then read for each student: student id, student name and (module credits, mark) for 5 modules: (credit1, mark1, credit2, mark2, credit3, mark3, credit4, mark4, credit5, mark5)
2. Calculate OAM as per following formula
OAM = ((credit1 * mark1 + credit2 * mark2 + credit3 * mark3 + credit4 * mark4+ credit5 * mark5)/sum of all credits)

3. Calculate and print the classification based on following condition:
• If OAM greater than or equal to 80, classification is "distinction"
• If OAM between 70 and 79, classification is "second class upper division"
• If OAM between 60 to 69, classification is "second class lower division"
• If OAM between 50 to 59, classification is "third class"
• Otherwise, classification is "fail"

The program must finally display all details of all students with their OAM

1.3

Write a java program to calculate the Amount and Total interest using class and object as per following scenario:
Calculate Amount that will compute and display the amount based on the following conditions:

If the type of is c or C for Car and the monthly income is greater than 3,000 then able amount is twice of the monthly income. Otherwise able amount is the same as the monthly income. If the type of is h or H for Housing and the monthly income is greater than 3,000 then the able amount is 5 times of the monthly income. Otherwise, the able amount is 3 times the monthly income.

Calculate Interest that will calculate and display the overall total interest (monthly interest multiply by years to pay) based on the following criteria:

If type of is c or C for Car and years to pay is 3 years, then monthly interest for 3 years is 2% of the able amount. But if the years to pay is 5 years, then monthly interest for 5 years is 3.5% of the able amount. If the type of is h or H for Housing and the years to pay is 3 years, then monthly interest for 3 years is 5% of the able amount. Else if the years to pay is 5 years, then monthly interest for 5 years is 7% of the able amount.

Finally create a main class and then create object for the java class and perform the functionalities. NOTE:- you have to use switch case selection structure for this program.

1.4

Write a java program to print following pattern using inner loop concept

*
2 3
* * *
5 7
* * * * *

Attachment:- Introduction to Programming.rar

Reference no: EM132407556

Questions Cloud

Implementing risk management framework for blue wood : What are the main challenges in developing and implementing a risk management framework for Blue Wood?
Plan schedule management : The task "Plan Schedule Management" is a 5-day task. Expenditures/day are set at $3,000 per day. Day 3 is just completed.
Skills associated with being an effective project manager : Which of the eight traits/skills associated with being an effective project manager is the most important? The least important?
Examples of risk management control measures : What are some examples of Risk Management Control measures that are both beneficial and non-beneficial to customers?
COMP 10005 Introduction to Programming Assignment : COMP 10005 Introduction to Programming Assignment Help and Solution, Middle East College - Assessment Writing Service - Demonstrate the use of arrays
Discuss the benefits of an organization : What are the important transition activities that will ensure that the benefit will continue to deliver value?
Good regulatory compliance when moving to the cloud : What a dba must be aware of to maintain good regulatory compliance when moving to the cloud.
Hawthorne studies conducted at western electric : Name 2 positive findings and one negative finding from the Hawthorne Studies conducted at Western Electric.
PUBH6013- Qualitative Research Methods for Public Health : PUBH6013: Qualitative Research Methods for Public Health, Laureate International Universities, Australia, Reflect on your experience of interviewing.

Reviews

Write a Review

JAVA Programming Questions & Answers

  When is the default constructor not created by java

When is the default constructor not created by Java? Classes in which packages do you not need to import?

  Construct java applications

Construct Java applications that demonstrate string manipulation, file input and output, and error handling. Create a Graphical User Interface application

  Create a two dimensional integer array in java

Create a two dimensional integer array in JAVA that produces the sum of rows and columns as selected by the user.

  Create a driver class with a main method

Create a driver class with a main method that creates a course, adds several students, prints a roll, and prints the overall course test average

  What is object-oriented programming

What is object-oriented programming? What are the differences between a class and an object

  Write an applet that includes a pie chart

Write an applet that includes a pie chart. Use a news article with statistics that are good candidates for a pie chart: for example, political candidate preferences; percentages of those for, against, or undecided about a ballot measure; and so for..

  Prepare a java program to create a bank account

Write a client java program that will use a pre-implemented class BankAccount.java. BankAccount class provides template to create BankAccount objects that represent real world bank accounts

  Java program to find a value at in index

Construct a main class named Array Program that generates an array of 50-integers, all ranging from one to one hundred.

  Employee for an hourly pay rate and hours worked

Write an application that prompts an employee for an hourly pay rate and hours worked. If any of the fields is empty, prompt the user to key in all details completely. Compute gross pay (hours times rate), withholding tax and net pay (gross pay mi..

  Implement a class called reversewords

Implement a class called ReverseWords that uses a stack to output a set of elements input by the user in reverse order.

  Write a main method that will simulate playing the game

On the Monty Hall game show, a contestant is given a choice of three doors. Behind one door is a car and behind the other two doors are goats.

  Find the errors in the java code

What are the errors in the following codes: What would correct the errors?

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