- Study guides, Class notes & Summaries
Looking for the best study guides, study notes and summaries about ? On this page you'll find 1 study documents about .
1 results
Exam (elaborations)
CS 010 Intro to Computer Science Midterm – practice exam
CS 010 
Intro to Computer Science 
Midterm – practice exam 
Answers in Red 
Each question is worth 1 point. 
 
1.	What will be output by the following code fragment? 
double f = 123.4567 
cout << fixed << setprecision(5) << f << " " 
<< setprecision(1) << f << endl; 
a. 123.45 1 
b. 123.4567 123.4 
c. 123.45670 123.4 
d. 123.45670 123.5 
e. 123.4567 123.4567 
f.	none of the above 
 
2.	What is the value of f after the code in the previous question ...