1. | List at least five components of a typical computer system. | |
2. | What device do the peripheral components of a computer system exist to support? | |
3. | From what two perspectives can programs be viewed? How does each perspective differ from the other? | |
4. | List and describe the four steps of the processing cycle? | |
5. | State in your own words the definition of an algorithm. | |
6. | How does a processor’s architecture serve to implement its feature set? | |
7. | How can programmers access a processor’s feature set? | |
8. | State the purpose of the Java HotSpot virtual machine. | |
9. | What is the difference between the client and server versions of the HotSpot virtual machine compilers? | |
10. | How is the HotSpot virtual machine different from the Java Classic VM and the Just-in-Time (JIT) compiler? | |
Answers
1. | - System unit, mouse, keyboard, speakers, monitor |
2. | - The microprocessor |
3. | - Human, computer. The human’s view of a program is high-level, whereas the computer’s view of a program is simply strings of ones and zeros. |
4. | - Fetch, decode, execute, store |
5. | - A recipe for performing some type of operation with a computer program |
6. | - A processor’s feature set is a function of its architecture. |
7. | - Via its set of machine instructions |
8. | - Allows Java programs to run on various hardware platforms |
9. | - The client version is optimized for quick application loading; the server version is optimized for server applications. |
10. | - The HotSpot VM has a code profiler that analyzes code execution and compiles frequently used sections of byte code first. |