Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
C++ Programming From Problem Analysis
Quiz 3: Inputoutput
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 21
Multiple Choice
In C++, the dot is an operator called the ____ operator.
Question 22
Short Answer
The functions get, ignore, and so on are members of the data type ____________________.
Question 23
Multiple Choice
Suppose that outFile is an ofstream variable and output is to be stored in the file outputData.out. Which of the following statements opens the file outputData.out and associates outFile to the output file?
Question 24
Multiple Choice
Suppose that ch1, ch2, and ch3 are variables of the type char and the input is: A B C What is the value of ch3 after the following statements execute? cin.get(ch1) ; cin.get(ch2) ; cin.get(ch3) ;
Question 25
Multiple Choice
What is the output of the following statements? cout << setfill('*') ; Cout << "12345678901234567890" << endl Cout << setw(5) << "18" << setw(7) << "Happy" << setw(8) << "Sleepy" << endl;
Question 26
Short Answer
In the C++ statement, cin.get(u); u must be a variable of type ____________________.
Question 27
Multiple Choice
Suppose that ch1 and ch2 are char variables and the input is: WXYZ What is the value of ch2 after the following statements execute? Cin.get(ch1) ; Cin.putback(ch1) ; Cin >> ch2;
Question 28
Multiple Choice
____ is a parameterized stream manipulator.
Question 29
Multiple Choice
What is the output of the following statements? cout << "123456789012345678901234567890" << endl Cout << setfill('#') << setw(10) << "Mickey" << setfill(' ') << setw(10) << "Donald" << setfill('*') << setw(10) << "Goofy" << endl;