Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

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 employ proven program-construction techniques.

Section 4.2 Algorithms

  • Any computing problem can be solved by executing a series of actions (p. 103) 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 (p. 103).

  • Specifying the order in which statements execute in a program is called program control (p. 104).


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial