Chapter 1 An Overview of Computers and Programming Languages
Chapter 1 An Overview of Computers and Programming Languages
Java Programming:
From Problem Analysis to Program Design,
Second Edition
Chapter Objectives
Learn about different types of computers.
Explore the hardware and software components of a
computer system.
Learn about the language of a computer.
Learn about the evolution of programming
languages.
Examine high-level programming languages.
Discover what a compiler is and what it does.
Hardware
Software
Main memory
Examples:
Keyboard
Mouse
Secondary storage
Examples:
Printer
Monitor
Secondary storage
System programs
Application programs
Sample Run:
My first Java program.
The sum of 2 and 3 = 5
7 + 8 = 15
Structured design
Object-oriented design