Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Name: Critical Review An algorithm is a set of well - designed logical steps that must take place in order to solve a problem. The
Name:
Critical Review
An algorithm is a set of welldesigned logical steps that must take place in order to solve a problem.
The flow the algorithm takes is sequential. For example, before you process calculations, all data needed should be retrieved.
This HandsOn requires you to think about the steps that take place in a program by writing algorithms. Read the following program prior to completing the HandsOn
Write a program that will take in basic information from a student, including student name, degree name, number of credits taken so far, and the total number of credits required in the degree program. The program will then calculate how many credits are needed to graduate. Display should include the student name, the degree name, and credits left to graduate.
Step : Examine the following algorithm.
Get the student name.
Get the degree program name.
Subtract the number of credits taken far from the required credits for the degree.
Get the number of credits required for the degree program.
Get the number of credits the student has taken so far.
Display the input information in step and
Display the calculated information.
Step : What logic error do you spot and how would you fix it
Step : What steps require user interaction Ex: user must type in some input
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started