The Result of Attempting to Read Invalid Data Is

Chapter 03 - Quiz

i. The ____ manipulator controls the output of merely the next expression.

a. setw

two. To use a parameterized southtream manipulator in a C++ program, y'all must include the header file

____

a. iomanip

three. I/O functions are typically called ____ member functions.

a. stream

4. Dot note is used to separate a(due north) ____ from its member, or function, name.

a. input stream variable proper name

5. Another proper noun for function arguments is role ____.

a. parameters

6. The output stream variables can use the manipulator ____ to fill the unused columns with a

character other than a space.

a. setfill

7. A(north) ____ is a sequence of characters from an input device to the computer.

a. input stream

8. To left-justify output in C++, use the ____ manipulator.

a. left

ix. The fstream header file contains the definitions of two data types: _____ and ofstream.

a. ifstream

10. The extractiveness operator takes ____ operands.

a. 2

11. A ____ is an area in secondary storage used to hold information.

a. file

12. To read a string containing blanks, you canorth use the function ____.

a. getline

13. In C++, the default output of floating-point numbers is ____ notation.

a. scientific

14. The manipulator ____ is used to output floating-point numbers in scientific format.

a. scientific

15. You can utilize the ____ function to restore an input stream to a working state.

a. articulate

xvi. To force floating-point output to bear witness the decimal point and trailing zeros, use the ____

manipulator.

a. showpoint

17. In C++, the dot is an operator chosen the ____.

a. member access operator

18. The result of attempting to read invalid data is ____.

a. input failure

xix. Variables of type ____ are called input stream variables.

a. istream

20. Which of the following is non an input stream part?

a. identify

lunsfordconand1977.blogspot.com

Source: https://www.studocu.com/en-us/document/lone-star-college-system/programming-fundamentals-i/quiz-3-inputoutput-c/14471885

0 Response to "The Result of Attempting to Read Invalid Data Is"

Publicar un comentario

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel