232 stand 1 pro

See attached

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

College of Computing and Informatics
Project
Deadline: Day 04/12/2023 @ 23:59
[Total Mark is 14]
Student Details:
CRN:
Name:
Name:
Name:
ID:
ID:
ID:
Instructions:
• You must submit two separate copies (one Word file and one PDF file) using the Assignment Template on
Blackboard via the allocated folder. These files must not be in compressed format.
• It is your responsibility to check and make sure that you have uploaded both the correct files.
• Zero mark will be given if you try to bypass the SafeAssign (e.g. misspell words, remove spaces between
words, hide characters, use different character sets, convert text into image or languages other than English
or any kind of manipulation).
• Email submission will not be accepted.
• You are advised to make your work clear and well-presented. This includes filling your information on the cover
page.
• You must use this template, failing which will result in zero mark.
• You MUST show all your work, and text must not be converted into an image, unless specified otherwise by
the question.
• Late submission will result in ZERO mark.
• The work should be your own, copying from students or other resources will result in ZERO mark.
• Use Times New Roman font for all your answers.
Description and Instructions
Pg. 01
Description and Instructions
Part 1:
(5 Marks)
Write a complete Java program that allows users to enter two integer numbers
as follows:
Upon providing the two integer numbers, the users should be given a list of
operations to select from, as follows:
Based on the users’ selection, a method should be called to perform the
selected operation and return the result. After that the main method should
print the result. The output of the program should be as follows:
Pg. 02
Description and Instructions
Description and Instructions
Pg. 03
Part 2:
(9 Marks)
1)Create a class Student according to the following requirements:
a) A student has four attributes: id, name, GPA and major.
b) Add the default constructor (no parameters).
c) Add a constructor with four parameters to initialize all the attributes
by specific values.
d) Add all the required setter methods
e) Add all the required getter methods
f) Add the method changeMajor
2) Create a Driver class. that has the main method, in which:
a) Create a student object (obj1), provide all values for the class
attributes.
b) Create another student object (obj2), provide all values for the class
attributes.
c) Print the values of obj1 and obj2 fields.
d) Change the major for obj1.
e) Change the major for obj2.
f) Print the values of obj1 and obj2 fields.

Still stressed with your coursework?
Get quality coursework help from an expert!