Learning Objectives and Outcomes
Determine program input, processing, and output stages.
Create the necessary flowcharts to describe a program’s structure.
Use pseudocode to define a program’s structure.
Formulate solution algorithms for calculations by properly following the order of operations.
Assignment Requirements
Answer:
Short Answer 1, 2, 3, and 4 on page 71
Algorithm Workbench Review Questions 1 and 2 on page 71
Programming Exercises Questions 1 and 4, starting on page 72
Submission Requirements
Submit your written answers to your instructor at the beginning of Unit 3.
Short Answer 1, 2, 3, and 4 on page 71
1. What does a professional programmer usually do first to gain an understanding of a problem?
The first thing a professional programmer will usually do to gain the understanding of a problem is to work with the customer to find out exactly what they are asking for from the program.
2. What is pseudocode?
Pseudocode is an informal language that has no syntax rules, and is not meant to be compiled or executed.
3. Computer programs typically perform what three steps?
1. Input is received. 2. Some process is performed on the input.
3. Output is produced.
4. What does the term “ user- friendly” mean? software business to describe pro-grams that are easy to use
Algorithm Workbench Review Questions 1 and 2 on page 71
1. Design an algorithm that prompts the user to enter his or her height and stores the user’s input in a variable named height.
a. Put your back against the wall
b. Stand up straight against the wall with your back toward it
c. Measure his/her height
d. Display his/her height
2. Design an algorithm that prompts the user to enter his or her favorite color and stores the user’s input in a variable named color.
a. Ask his/her favorite color
b. Red, Blue, Green, White, or Yellow
c. Waite for his/her input
d. Display his/her color
Programming Exercises Questions 1 and 4,