Midterm 2 Review Quiz 09

Midterm 2 Review Quiz 09 - April7,2009 Rules , ,.You

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

View Full Document Right Arrow Icon
CS 115 Midterm 2 Exam Review Quiz April 7, 2009 Rules You must briefly explain your answers to receive partial credit. When a snippet of code is given to you, you can assume that the code is enclosed within some function, even if no function definition is shown. You can also assume that the main function is properly defined and that the iostream , fstream , iomanip , string , and cmath libraries have been included at the beginning of the program. When you are asked to write a snippet of code, you may also assume that it is enclosed within some function that any necessary libraries have been included. When you are asked to write a complete program , you must write the #include statements, the int main() , etc. in your solution to receive full credit. A line consisting solely of “ ” represents one or more unspecified C++ statements, some of which may change the values of program variables. You are encouraged to use the backs of these pages for scratch paper. If you want answers written there to be graded, they must be very clearly labeled and also noted on the main test, e.g. “See the back of page 1 for 3a.”
Background image of page 1

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

View Full Document Right Arrow Icon
Problem 1: 15 points.
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.

{[ snackBarMessage ]}

Page1 / 8

Midterm 2 Review Quiz 09 - April7,2009 Rules , ,.You

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