1. c 11. c 21. d 31. a 41. b 2. a 12. a 22. e 32. c 42. a 3. b 13. b 23. e 33. b 43. b 4. a 14. e 24. b 34. d 44. e 5. c 15. a 25. b 35. d 45. a 6. c 16. d 26. b 36. c 46. c 7. a 17. b 27. b 37. c 47. a 8. a 18. c 28. a 38. d 48. c 9. b 19. e 29. d 39. d 49. b 10. c 20. d 30. d 40. b 50. a
8. In the binary numeral 11010, there are 1's in the 2's, 8's, and 16's columns and 0's everywhere else. Hence, the number it represents is 2+8+16, which is 26.
10. Because main memory (RAM) is volatile, whatever is stored there (e.g., an MS Word document that you have edited in the last ten seconds) disappears if there is an electrical power outage (or your laptop's battery goes dead) or you are forced to reboot because the machine "hung" (i.e., became unresponsive).
11. ROM is used mostly to hold instructions that, when executed, initiate the "boot up" process. When you install software (either from the Web or a CD), the usual place to store the file(s) holding that software is on the hard disk.
13. With respect to files (stored in secondary storage), the term volatile is sometimes used to mean "frequently changing in content" (corresponding to choice (d)). But with respect to RAM, volatility refers to the property of its contents "disappearing" when there is an interruption of power.
14. This question asks about the relationship between primary memory and secondary storage. (a) is wrong because primary memory is more expensive (per byte). (b) is wrong because primary memory is used for short-term storage, not long-term. (c) is wrong because primary memory (almost always) has a smaller capacity. Obviously, then, (d) cannot be right, so (e) is the only choice left.
16. Floppy disks and flash memory are forms of secondary storage, and hence not volatile, which eliminates both (c) and (e). In comparison to hard disks, their storage capacities are low, so (a) is eliminated. Floppy disks are very slow, even in comparison to hard disks, so (b) is eliminated.
17. Auto-flush toilets were not mentioned in the videorecording, eliminating (d) and (e) as viable answers. (a) and (c) remain reasonable answers, but neither is right. You will notice that the correct answer is given in the third paragraph of the web page summarizing Giant Brains.
20-26. Look in the web page summarizing Giant Brains.
27-33. Look in the web page summarizing Paperback Computer. In particular, the main point of that videorecording is that computers have become household items because they have become small, inexpensive, and easy to use. (See question 32.)
37,39. See the web page on software and operating systems.
40. (b) is the answer, as interpreting and displaying web pages is what a web browser (e.g., Internet Explorer, Mozilla Firefox) does.
42. Many students answered (c), suggesting that they thought that the effect of STORE 5 was to store the value 5 in the accumulator, and that the effect of ADD 5 was to add 5 to the accumulator, yielding 10.
But what really happens here is that the user's input (stipulated to be 6) gets put into the accumulator (as a result of READ, then 6 gets stored into memory location 5 (as a result of STORE 5), and then (as a result of ADD 5) the contents of memory location 5 (which is the value 6) is added to the accumulator (which still holds the input value, 6), yielding 12 in the accumulator. Then that value is written (as a result of WRITE), producing 12 as output.
In general, this program, given a value x as input, produces as output 2x.
43. This program, given x as input, produces as output 2x + 2.
44,45. If you got these right, you should consider becoming a computing major!
What the program does is to place the two inputs into memory locations 15 and 16, and then (in the loop in lines 4-11) subtract two from location 15 and one from location 16, repeating this until such time as location 16 has value zero.
For the inputs stipulated in problem 44, 10 and 2, what happens is that, on the loop's first iteration, the 10 (in location 15) becomes 8 and the 2 (in location 16) becomes 1. Then on the second iteration of the loop, the 8 becomes 6 and the 1 becomes 0. As location 16 has become zero, the loop terminates and the value in location 15, 6, is produced as output.
With inputs 42 and 20 (as stipulated in problem 45), the loop would iterate twenty times (as the 20 counted down to 0), on each iteration subtracting two from what had originally been 42. Subtracting 2 from 42 twenty times leaves 2.
In general, the program, given x and y as inputs, produces x - 2y as output.