Abstract

Computation rests on two foundations: memory and control. Having developed a memory model in Chapter 1, this chapter extends the computational model with control statements. Such statements direct the flow of computation: the if/else construct enables conditional computation; and the while and for constructs facilitate iterative computation. Function calls, when combined with conditional statements, can yield even more complex control in the form of recursion.

Keywords

Unit Test Conditional Statement Naming Convention Successful Execution Helper Function 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag Berlin Heidelberg 2011

Authors and Affiliations

  1. 1.Dept. of Electrical, Computer, and Energy EngineeringUniversity of ColoradoBoulderUSA

Personalised recommendations