Chapter 6 Test 2

Chapter 6 Test 2 - Chapter 6 Test 2 Thursday, February 24,...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
1. True/False: One reason for using functions is to break programs into manageable units, or modules. A. True B. False 2. A _________ is a statement that causes a function to execute. A. for loop B. do-while loop C. function prototype D. function call E. None of these 3. It is a good programming practice to ____________ your functions by writing comments that describe what they do. A. execute B. document C. eliminate D. prototype E. None of these Chapter 6 Test 2 Thursday, February 24, 2011 5:12 AM General Page 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4. A(n) _________ is information that is passed to a function, and a(n) _________ is information that is received by a function. A. function call, function header B. parameter, argument C. argument, parameter D. prototype, header E. None of these 5. True/False: You must furnish an argument with a function call. A. True B. False 6. When only a copy of an argument is passed to a function, it is said to be A. passed by reference B. passed by copy C. passed informally D. passed by value
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/24/2011 for the course CS 245 taught by Professor Duke during the Fall '10 term at VCU.

Page1 / 7

Chapter 6 Test 2 - Chapter 6 Test 2 Thursday, February 24,...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online