Placeholder

CMIS 141 Assignment 3 Calculate Student Grade

$19.00

Description

Write a Java program to calculate student’s final course grade. The program should:
(1) Prompt and read user’s input for the student’s name, assignment 1 grade (A1), assignment 2 grade (A2), ex@m grade (EX), and participation grade (P). User Scanner to read input.
(2) Each grade input should be 0-100 and the final grade should be calculated as follows: A1*0.25+A2*0.25+EX*0.4+P*0.1
(3) Output the student’s information and the calculated course grade
(4) prompt user whether they want to calculate grade for another student and repeat the input/output processing
(5) Allow user to exit program without inputting student’s data
Test program:
A minimum of 3 test cases should be supplied in the form of table with columns indicating the input values, expected output, actual output and if the test case passed or failed. This table should contain 4 columns with appropriate labels and a row for each test case. An example template is shown below. Note that the actual output should be the actual results you receive when running your program and applying the input for the test record.
The three minimum test cases should include:
(1) Run for one student’s data
(2) Run for 2 students’ data
(3) Start program but select to exit without inputting student’s data
Make sure your Java program is using the recommended style such as:
Javadoc comment up front with your name as author, date, and brief purpose of the
program
Comments for variables and blocks of code to describe major functionality
Meaningful variable names and prompts
Identifiers are written in upper CamelCase
Class name starts with upper case letter and variables in lower case letter
Constants are written in All Capitals
Use proper spacing and empty lines to make code human readable
Capture execution:
You should capture and label screen captures associated with compiling your code, and running each of your 3 test cases.
Here are a couple sample runs:
RUN1:
Welcome to the grade calculation program
Do you want to enter student’s data? Yes/No => Yes
Enter student’s name => Alicja Jones
Enter student’s grades separated by space: A1 A2 Ex P => 80 95 90 88
Student Name: Alicja Jones A1=80 A2=95 Ex@m=90 Participation=88 Final course grade=88.55
Do you want to enter another student’s data? Yes/No => Yes
Enter student’s name => John Paul
Enter student’s grades separated by space: A1 A2 Ex P => 75 70 80 85
Student Name: John Paul A1=75 A2=70 Ex@m=80 Participation=85 Final course grade=76.75
Do you want to enter another student’s data? Yes/No => No
Thank you for using the grade calculation program
RUN2:
Welcome to the grade calculation program
Do you want to enter student’s data? Yes/No => No
Thank you for using the grade calculation program
SCREENSHOTS
SOLUTION
PAYMENT
The solution consists of:
A report word document for this assignment
All Java programs in case you want to run theses programs on your computer.
Screenshots while running programs
Attachments [Move over files to preview content of those files]
CMIS_141_Assignment_3.zip (202.04 KB)
CMIS 141 Assignment 3 Report.docx
CMIS141-Assignment-3-Screenshot-1.png
CMIS141-Assignment-3-Screenshot-2.png
CMIS141-Assignment-3-Screenshot-3.png
Source Code
CMIS141Assignment3.java
Preview CMIS141Assignment3.java
xxxxxx xxxx, xx, xxxxxx;
xxxxxxx xx = xxx xxxxxxx(xxxxxx.xx);
xxxxx (xxxx) { //xxxxxx xxxxx xxxx
System.out.println(“Do you want to enter student’s data? [Yes/No]”); in = sc.next();
if (in.trim().toLowerCase().equals(“no”)) { System.out.println(“Thank you for using Grade Calculator program”); break; //Stop loop }
System.out.println(“Enter student’s name: “); // Print String. sc.nextLine(); name = sc.nextLine(); //User input for student’s name
xxxxxx.xxx.xxxxxxx(“xxxxx xxxxxxx’x xxxxxx xxxxxxxxx xx xxxxx: x1 x2 xx x: “); //xxxxx xxx.
xxxxxx = xx.xxxxxxxx(); //xxxx xxxxx xxx xxxxx #1, xxxxx #2, xxxx xxxxx, xxxxxxxxxxxxx xxxxx
xxxxxx[] xxxxxx = xxxxxx.xxxxx(” “);
xxxxxx xxxxx1, xxxxx2, xxxxxxxxx, xxxxxxxxxxxxxxxxxx;
xxxxx1 = xxxxxx.xxxxxxxxxxx(xxxxxx[0]);
xxxxx2 = xxxxxx.xxxxxxxxxxx(xxxxxx[1]);
Price: $19
You May Also Like:
CMIS 141 Assignment 1 Student GPA
CMIS 141 Assignment 2 Perform Operation on Two Numbers
CMIS 141 Assignment 4 Output Triangle and Diamond Pattern
CMIS 141 Assignment 5 Body Mass Index
CMIS 141 Assignment 6 Highest and Lowest Score
CMIS 141 Final Project Employee Salary

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.