< previous page page_39 next page >

Page 39
4. Put a check next to each item below that is a peripheral device.
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
_______ a. Disl drive
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
_______ b. Arithmetic/logic unit
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
_______ c. Magnetic tape drive
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
_______ d. Printer
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
_______ e. CD-ROM drive
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
_______ f. Memory
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
_______ g. Auxiliary storage device
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
_______ h. Control unit
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
_______ i. Terminal
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
_______ j. Mouse
5. Next to each item below, indicate whether it is hardware (H) or software (S).
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
_______ a. Disk drive
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
_______ b. Memory
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
_______ c. Compiler
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
_______ d. Arithmetic/logic unit
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
_______ e. Editor
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
_______ f. Operating system
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
_______ f. Object program
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
_______ h. Terminal
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
_______ i. Central processing unit
6. Means-ends analysis is a problem-solving strategy.
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
a. What are three things you must know in order to apply means-ends analysis toa problem?
3e26ecb1b6ac508ae10a0e39d2fb98b2.gif
b. What is one way of combining this technique with the divide-and-conquer strategy?
7. Show how you would use the divide-and-conquer approach to solve the problem of finding a job.
Programming Warm-Up Exercises
1. Write an algorithm for driving from where you live to the nearest airport that has regularly scheduled flights. Restrict yourself to a vocabulary of 48 words plus numbers and place names. You must select the appropriate set of words for this task. An example of a vocabulary is given in Appendix A, the list of reserved words (words with special meaning) in the C++ programming language. Notice that there are just 48 words in that list. The purpose of this exercise is to give you practice writing simple, exact instructions in an equally small vocabulary.
2. Write an algorithm for making a peanut butter and jelly sandwich, using a vocabulary of just 48 words (you choose the words). Assume that all of the ingredients are in the refrigerator and that the necessary tools are in a drawer under the kitchen counter. The instructions must be very simple and exact because the person making the sandwich has no knowledge of food preparation and takes every word literally.
3. In Exercise 1 above, identify the sequential, conditional, repetitive, and subprogram steps.

 
< previous page page_39 next page >