This space intentionally left blank
This space intentionally left blank
This space intentionally left blank
This space intentionally left blank
Terms
scope
life time of a variable
function header
function definition
return value
value parameter
reference parameter
function call
formal/actual variables
local/global variables

Concepts
tests for loops
compound tests
endings for loops
initialization for loops
function call with return value

Continuation of Patricia Wagner pages

Study Guide for Exam 2

Chapter 6 - while loops
page 229 ex. 4, 5, 6, 7
page 230 ex. 8, 9
page 231 ex. 12

Chapter 7 - functions
page 269 ex. 4
page 270 ex. 5 - 14
page 271 ex. 15, 16, 17

Chapter 8 - scope and lifetime
page 310 ex. 1 - 8
page 311 ex. 1 - 6
page 312 ex. 7
page 313 ex. 10-17

Chapter 9 - do while/for loops; switch statements
page 340 ex. 8, 11, 12
page 341 ex. 13 - 16

Email address: pwagner@fdu.edu

Copyright © 2005, Patricia Wagner, except images copyright Fairleigh Dickinson University, used with permission.
This page originally created with FDU Pagetoaster. Click to see how'd they do that?
Click if you are the owner and you wish to edit this page.