CHAPTER 1
INTRODUCTION 
CHAPTER GOALS
To learn about computers and programming
To compile and run your first Java program
To recognize compile-time and run-time errors
To describe an algorithm with pseudocode
CHAPTER CONTENTS
Random Fact 1.1: The ENIAC and the dawn of Computing
1.3 THE JAVA PROGRAMMING LANGUAGE
1.4 BECOMING FAMILIAR WITH YOUR PROGRAMMING ENVIRONMENT
Programming Tip 1.1: Backup Copies
Video Example 1.1: Compiling and Running a Program ![]()
1.5 ANALYZING YOUR FIRST PROGRAM
Common Error 1.1: Omitting Semicolons
Common Error 1.2: Misspelling Words
1.7 PROBLEM SOLVING: ALGORITHM DESIGN
How To 1.1: describing an Algorithm with Pseudocode
Worked Example 1.1: Writing an Algorithm for Tiling a Floor ![]()
Video Example 1.2: dividing Household Expenses ![]()
Just as you gather tools, study a project, and make a plan for tackling it, in this chapter you will gather up the basics you need to start learning to ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access