Quiz on Chapter 1
This page contains questions on Chapter 1 of Introduction to Programming Using Java. You should be able to answer these questions about studying that chapter. Sample answers to these questions can be found here.
One of the components of a computer is its CPU. What is a CPU and what role does it play in a computer?
Explain what is meant by an "asynchronous event." Give some examples.
What is the difference between a "compiler" and an "interpreter"?
Explain the difference between high-level languages and machine language.
If you have the source code for a Java program, and you want to run that program, you will need both a compiler and an interpreter. What does the Java compiler do, and what does the Java interpreter do?
What is a subroutine?
Java is an object-oriented programming language. What is an object?
What is a variable? (There are four different ideas associated with variables in Java. Try to mention all four aspects in your answer. Hint: One of the aspects is the variable's name.)
Java is a "platform-independent language." What does this mean?
What is the "Internet"? Give some examples of how it is used. (What kind of services does it provide?)