Chapter 5


Chapter 4

1. 

List at least five components of a typical computer system.

 - system unit, mouse, keyboard, speakers, monitor

2. 

What device do the peripheral components of a computer system exist to support?

image from book

3. 

From what two perspectives can programs be viewed? How does each perspective differ from the other?

image from book

4. 

List and describe the four steps of the processing cycle?

 - fetch, decode, execute, store

5. 

State in your own words the definition of an algorithm.

 - a recipe for performing some type of operation with a computer program

6. 

How does a processor’s architecture serve to implement its feature set?

 - a processor s feature set is a function of its architecture.

7. 

How can programmers access a processor’s feature set?

 - via its set of machine instructions

8. 

State the purpose of the Java HotSpot virtual machine.

 - allows java programs to run on various hardware platforms

9. 

What is the difference between the client and server versions of the HotSpot virtual machine compilers?

image from book

10. 

How is the HotSpot virtual machine different from the Java Classic VM and the Just-in-Time (JIT) compiler?

image from book

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.




Java For Artists(c) The Art, Philosophy, and Science of Object-Oriented Programming
Java For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming
ISBN: 1932504052
EAN: 2147483647
Year: 2007
Pages: 452

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net