Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

1. Create a defining diagram that shows the input, processing, and output - Create a solution algorithm using pseudocode - Show testing using the desk

1. Create a defining diagram that shows the input, processing, and output

- Create a solution algorithm using pseudocode

- Show testing using the desk checking table method, to include test data, expected results, and a desk checking table. Make sure your desk checking considers multiple cases including both valid and invalid test data to prove your algorithm will work in all cases

A maximum of 51 new students will be allowed to declare the ENG major, based on their cumulative GPA and whether or not the student has passed ENG 312 with a grade of C or higher. Any student who has not completed ENG 312 with a grade of C or higher or has not obtained a cumulative GPA of at least 3.0 may not declare the ENG major. Students who do meet these criteria will be allowed to declare the ENG major. For students who are eligible to declare, students that have achieved a cumulative GPA of at least 3.8 will earn a $4,920 scholarship award. Students that have achieved a cumulative GPA of at least 3.5, but less than 3.8 will earn a $550 scholarship award. Any cumulative GPAs less than 3.5 will not be eligible for a scholarship award. -

Your goal is to create an application to allow a department advisor to continually input student data until the advisor has reached the maximum number of students allowed to declare the ENG major or the advisor has indicated they are finished entering student data. One by one, the application will enable the advisor to input a students name, his/her cumulative GPA and whether or not the student has completed ENG 312 with a grade of C or higher. Based on data provided, the application must print wellformatted detail stating whether or not the student is permitted to declare the ENG major. For students eligible to declare the ENG major, the application must also print the amount of the scholarship to be awarded to the student. Upon completion of entering all student data, the application will print a wellformatted report that includes the total number of students entered by the advisor, a count of students that may declare the ENG major, and the average scholarship award earned by students that may declare the ENG major. Hints: There are a number of validations that must occur. When invalid data is entered, the user must be provided with an error message and then re-prompted for the data. Remember to parse String data using constructs like Integer.parseInt() and Double.parseDouble() where necessary. Additionally, when using these constructs, dont forget to include try/catch for good validation.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions