Chapter One – The Way of the Program


Chapter one introduces you to programming and thinking like a computer scientist. The authors point out that problem solving as perhaps the most important skill a computer scientist can posses. You must “formulate problems, think creatively about solutions, and express solutions clearly and accurately.” You learn about what constitutes a computer program, what is computer science, and what are programming languages. You also learn how Java differs from truly compiled computer languages such as C++. The authors then provide you an overview of the programming constructs of: class, statement, comment, and you get some practice in writing your first Java programs.

Chapter Slides
Try It – Step by Step
Supplementary Videos

Here are some excellent video tutorials presented by LearningLad that should help with the concepts presented in this chapter.

  • What is Programming (In particular Java)?
  • The Java Virtual Machine (JVM)
  • Java Introduction
  • Comments
  • Strings/Hello World
  • Escape Strings