Skip to main content
Logo image

Java, Java, Java: Object-Oriented Problem Solving, 2022E

Section 0.10 Exercises

Exercises 0.10.1 Matching Vocabulary

1. Matching Problem for Object-Oriented Programming Principles.

2. Matching Problem for Devices and Other Vocabulary.

Subsection 0.10.2 Thinking Exercises

  1. Explain the difference between each of the following pairs of concepts.
    1. hardware and software
    2. systems and application software
    3. compiler and interpreter
    4. machine language and high-level language
    5. general-purpose and special-purpose computer
    6. primary and secondary memory
    7. the CPU and the ALU
    8. the Internet and the WWW
    9. a client and a server HTTP and HTML source and object code
  2. Identify the component of computer hardware that is responsible for the following functions.
    1. executing the fetch-execute cycle
    2. arithmetic operations
    3. executing instructions
    4. storing programs while they are executing
    5. storing programs and data when the computer is off
  3. Explain why a typical piece of software, such as a word processor, cannot run on both a Macintosh and a Windows machine.
  4. What advantages do you see in platform independence? What are the disadvantages?
  5. In what sense is a person’s name an abstraction? In what sense is any word of the English language an abstraction?
  6. Analyze the process of writing a research paper in terms of the divide-and-conquer and encapsulation principles.
  7. Analyze your car by using object-oriented design principles. In other words, pick one of your car’s systems, such as the braking system, and analyze it in terms of the divide-and-conquer, encapsulation, information-hiding, and interface principles.
  8. Make an object oriented analysis of the interaction between, a student, librarian, and a library database when a student checks a book out of a college library.
You have attempted of activities on this page.