# IT511 Objective Oriented Application development

Anonymous

Question description

An algorithm is a representation of a solution to a problem. For computer programs, a procedure, explicitly stating the steps leading to the solution, must be transmitted to the computer. This concept of problem solution and communication makes the study of algorithms important to computer science.

For a computer to perform a desired task, a method for carrying out some sequence of events, resulting in accomplishing the task, must somehow be described to the computer. An algorithm is a set or list of instructions for carrying out some process step by step. A recipe in a cookbook is an excellent example of an algorithm. The recipe includes the requirements for the cooking or ingredients and the method of cooking them until you end up with a nice cooked dish.

Pseudocode

Pseudocode (or Structured English) is used to outline program logic in a “readable,” English-like manner, independent of any specific programming language. This simplifies program development by separating it into two main parts, logic design and coding. Once the logic is developed, coding becomes the translation of the pseudocode into the required programming language.

Pseudocode can be broken down into six components.

• Assignment: variables are determined and given names
• Input: acquire values for the defined variables
• Output/Display: actions to be done with results of steps within the code
• Selection/Decision: determine which values or variables are to be used during each step of the algorithm
• Iteration (Repetition): if the algorithm is designed to do the same steps multiple times, the iteration steps describe that process
• Processing: the actual calculations or procedures of what is going on between the input and output.

After reading Section 1.7 in your textbook, read the scenario below and write the algorithm and pseudocode to solve the problem.

Scenario:

A friend has asked you to design a simple gradebook program. He would like to create some calculations that can be used for any test given to students. This program should generate percentage scores for each student (given the number of correct answers and the total number of questions on the test).

He would also like the program to calculate the class average of the percentage scores and identify the minimum and maximum scores for the class.

Assignment:

Write the pseudocode for this electronic gradebook. For those who are ready for a little more advanced concepts, have your pseudocode determine the letter grade for each student (90+ = A, 80+ = B, 70+ = C, 64+ = D, Lower than 64 = F).

Instructor Feedback: Students can find their feedback in the Grade Center.

(Top Tutor) Studypool Tutor
School: Rice University
Studypool has helped 1,244,100 students
flag Report DMCA

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors