Quiz #5 Solutions

Quiz #5 Solutions - 1 CSE 100: Principles of Programming...

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

View Full Document Right Arrow Icon
1 CSE 100: Principles of Programming with C++ Department of Computer Science, Arizona State University Fall 2007, Quiz 5 20 Points, 20 Minutes Part I: Indicate whether the statement is true or false. Each question worth 1 point 1. A user-defined value-returning function with four parameters can only be called four times in a program. False 2. The following function prototype in a C++ program is valid: int funcExp(int u, char v, float g); True 3. Whenever the value of a reference parameter changes, the value of the actual parameter changes. True 4. All components (data elements) of an array are of the same type. True 5. Arrays can store only one data item at a given time. False Part II: Identify the choice that best completes the statement or answers the question. Each question worth 1 point. 6. Given the function prototype: float test(int, int, int); which of the following statements is legal? a.
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

Quiz #5 Solutions - 1 CSE 100: Principles of Programming...

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

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