Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part I: Pseudocode The first part of this assignment is to create pseudocode that reflects the main elements of the logic that will drive the

Part I: Pseudocode

The first part of this assignment is to create pseudocode that reflects the main elements of the logic that will drive the code. This section should not be produced using actual code. However, you should include important variables, calculations, relationships, and/or any critical components of the problem. Using the How to Write Pseudocode document for guidance, address the following:

A. Analyze the given problem statement.

B. Break the problem down into distinct steps of pseudocode that will solve the problem.

C. Create variables to track the various elements in the pseudocode.

D. If applicable, determine any breakdown of pseudocode into functions and/or classes.

E. Use natural language to work through the problems.

Imagine that you are a student about to graduate. You realize that it would be handy to have a tool to help you calculate your GPA and determine whether you are graduating with honors. In the GPA scale, an A is a 4.0, a B is 3.0, a C is 2.0, a D is 1.0, and an F is 0.0. GPA scales typically factor in course credits as well, but all of your classes are the same number of credits, so you can ignore that as a variable.

Honor level is based on the following scale: greater than or equal to 3.9 is summa cumlaude, 3.8 to 3.89 is magna cumlaude, 3.65 to 3.79 is cumlaude, below 3.65 there are no honors given.

Your graduation calculator should prompt the user to input four grades as the numerical value (you can ask four times, one at a time), calculate the average of the inputted grades, display this value to the user, and display a Boolean (true or false) statement for each of the honor levels.

You can use the grades A, A, B, and A as a test case, which should result in the following: Your GPA is 3.75.

Graduating summa cumlaude is false.

Graduating magna cumlaude is false.

Graduating cumlaude is true.

Graduating without honors is false.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

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

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

Students also viewed these Databases questions

Question

a. How do you think these stereotypes developed?

Answered: 1 week ago

Question

7. Describe phases of multicultural identity development.

Answered: 1 week ago