Strings, Streams & Numerics in C++ Quiz 1

0%
1

Strings, Streams & Numerics in C++ Quiz 1

1 / 50

Which header file is used for reading and writing to a file?

2 / 50

How does the limits.h header file can be represented in C++?

3 / 50

How many categories are available in facets?

4 / 50

When will the cin can start processing of input?

5 / 50

Which operator is used to insert the data into file?

6 / 50

Which is used to get the input during runtime?

7 / 50

How many elements does a floating point number is composed of?

8 / 50

Which function is used to position back from the end of file object?

9 / 50

By using which function does the buffer are automatically flushed?

10 / 50

How many parameters can a resize method take?

11 / 50

How many objects are used for input and output to a string?

12 / 50

How many groups of output of operation are there in c++?

13 / 50

How many types of output stream classes are there in c++?

14 / 50

Which function allows you to set minimum width for the next input?

15 / 50

What can be improved by formatting the source code?

16 / 50

Which is an instantiation of the basic_string class template?

17 / 50

What kind of locale does every program is having in C++?

18 / 50

What can be used to input a string with blank space?

19 / 50

How many parameters are available in the function setbuf?

20 / 50

What must be specified when we construct an object of class ostream?

21 / 50

Which member function is used to determine whether the stream object is currently associated with a file?

22 / 50

Where are the strings stored?

23 / 50

Which is used for formatting purpose in c++?

24 / 50

What will happen if a string is empty?

25 / 50

What will the monetary facet will do?

26 / 50

How many parameters are there in getline function?

27 / 50

Which header file is used with input and output operations of C in C++?

28 / 50

What will act as a intermediate between i/o operations and physical file?

29 / 50

Pick out the correct syntax of the header file that can be used with C++.

30 / 50

How many maximum number of parameters does a string constructor can take?

31 / 50

How many streams are automatically created when executing a program?

32 / 50

Which operator is used for input stream?

33 / 50

How many tests are available in read and write operations?

34 / 50

Which of the following have their changes in their declaration related to constness of parameter?

35 / 50

What is the use of the function "showbase"?

36 / 50

Which header file is used to manipulate the string?

37 / 50

Choose the correct formatted code.

38 / 50

Where does a cin stops it extraction of data?

39 / 50

What is the main feature of locale in C++?

40 / 50

Pick out the correct objects about the instantiation of output stream.

41 / 50

Which one is always faster in writing on C++?

42 / 50

How does the strings are stored in the memory?

43 / 50

What is the difference between unsigned int length() and unsigned int size()?

44 / 50

Which will be used with physical devices to interact from C++ program?

45 / 50

How many number of spaces should be set in default tab?

46 / 50

Where are standard C libraries defined in C++?

47 / 50

What is meant by ofstream in c++?

48 / 50

Which objects information is loaded in locale object?

49 / 50

Which constant member functions does not modify the string?

50 / 50

Which character is used to terminate the string?

Provide Your Information

Your score is

The average score is 2%

0%

Qunoot e Nazilah
Dua e Hajat
4 Qul
6 Kalma
Dua-e-Akasha
Darood Akbar
Surah Fatiha
Dua-e-Ganj Ul Arsh
Dua-e-Jamilah
Ayat-ul-Kursi