Strings, Streams & Numerics in C++ Quiz 1
1 / 50
How many types of output stream classes are there in c++?
2 / 50
How many number of spaces should be set in default tab?
3 / 50
How many elements does a floating point number is composed of?
4 / 50
Which header file is used to manipulate the string?
5 / 50
How does the limits.h header file can be represented in C++?
6 / 50
By using which function does the buffer are automatically flushed?
7 / 50
How many groups of output of operation are there in c++?
8 / 50
Which function is used to position back from the end of file object?
9 / 50
Which character is used to terminate the string?
10 / 50
What will the monetary facet will do?
11 / 50
What is the use of the function "showbase"?
12 / 50
Which objects information is loaded in locale object?
13 / 50
Which header file is used for reading and writing to a file?
14 / 50
What will happen if a string is empty?
15 / 50
Pick out the correct objects about the instantiation of output stream.
16 / 50
Which operator is used to insert the data into file?
17 / 50
Which function allows you to set minimum width for the next input?
18 / 50
Which one is always faster in writing on C++?
19 / 50
How many objects are used for input and output to a string?
20 / 50
What can be used to input a string with blank space?
21 / 50
Which constant member functions does not modify the string?
22 / 50
Choose the correct formatted code.
23 / 50
Where are standard C libraries defined in C++?
24 / 50
Which header file is used with input and output operations of C in C++?
25 / 50
Where does a cin stops it extraction of data?
26 / 50
What kind of locale does every program is having in C++?
27 / 50
Where are the strings stored?
28 / 50
What must be specified when we construct an object of class ostream?
29 / 50
Which operator is used for input stream?
30 / 50
What will act as a intermediate between i/o operations and physical file?
31 / 50
Which is an instantiation of the basic_string class template?
32 / 50
How many parameters can a resize method take?
33 / 50
How many tests are available in read and write operations?
34 / 50
How many parameters are there in getline function?
35 / 50
What is meant by ofstream in c++?
36 / 50
When will the cin can start processing of input?
37 / 50
Which of the following have their changes in their declaration related to constness of parameter?
38 / 50
Which member function is used to determine whether the stream object is currently associated with a file?
39 / 50
How does the strings are stored in the memory?
40 / 50
What can be improved by formatting the source code?
41 / 50
What is the main feature of locale in C++?
42 / 50
How many parameters are available in the function setbuf?
43 / 50
How many categories are available in facets?
44 / 50
What is the difference between unsigned int length() and unsigned int size()?
45 / 50
Which will be used with physical devices to interact from C++ program?
46 / 50
How many streams are automatically created when executing a program?
47 / 50
Which is used to get the input during runtime?
48 / 50
How many maximum number of parameters does a string constructor can take?
49 / 50
Pick out the correct syntax of the header file that can be used with C++.
50 / 50
Which is used for formatting purpose in c++?
Provide Your Information
Your score is
The average score is 2%
Restart quiz