Summary

Section 4.1 Introduction

  • Before writing a program to solve a problem, you must have a thorough understanding of the problem and a carefully planned approach to solving it. You must also understand the building blocks that are available and to employ proven program-construction techniques.

Section 4.2 Algorithms

  • Any computing problem can be solved by executing a series of actions in a specific order.

  • A procedure for solving a problem in terms of the actions to execute and the order in which they execute is called an algorithm.

  • Specifying the order in which statements execute in a program is called program control.

Section 4.3 Pseudocode

  • Pseudocode is an informal language that helps programmers develop algorithms without having to worry ...

Get Java™ How to Program, Seventh Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.