Chapter 1
5. In linking, an object program is combined with other programs in the library, used in the program, to
create the executable code.
7. #
9. Programming is a process of problem solving.
11. (1) Analyze and outline the problem and its solution requirements, and design an algorithm to solve the
12. (1) Thoroughly understand the problem. (2) Understand the problem requirements. (3) If the problem is
complex, divide the problem into subproblems and repeat Steps 1 and 2.
13. To find the weighted average of the four test scores, first you need to know each test score and its
2. Get testScore2, weightTestScore2
4. Get testScore4, weightTestScore4
5. weightedAverage = testScore1 * weightTestScore1 +
14. a. Get quarters
b. Get dimes
15. To find the price per square inch, first we need to find the area of the pizza. Then we divide the price
of the pizza by the area of the pizza. Let radius denote the radius and area denote the area of the
circle, and price denote the price of pizza. Also, let pricePerSquareInch denote the price per