Page 35 - Introduction to Programming with Java: A Problem Solving Approach
P. 35
0.0 Last A-Head 1
CHAPTER 1
Introduction to Computers and Programming
Objectives
• Describe the various components that make up a computer.
• List the steps involved in program development.
• Know what it means to write algorithms using pseudocode.
• Know what it means to write programs with programming language code. • Understand source code, object code, and the compilation process.
• Describe how bytecode makes Java portable.
Apago PDF Enhancer
• Become familiar with Java’s history—why it was initially developed, how it got its name, and so forth. • Enter, compile, and run a simple Java program.
Outline
1.1 Introduction
1.2 HardwareTerminology
1.3 ProgramDevelopment
1.4 SourceCode
1.5 CompilingSourceCodeintoObjectCode 1.6 Portability
1.7 EmergenceofJava
1.8 FirstProgram—HelloWorld
1.9 GUITrack:HelloWorld(Optional)
1.1 Introduction
This book is about problem-solving. Specifically, it is about creating solutions to problems through a set of precisely stated instructions. We call such a set of instructions (when in a format that can be entered into and executed on a computer) a program. To understand what a program is, think about the following situation.
1