Strings, Streams & Numerics in C++ Quiz 2

0%
0

Strings, Streams & Numerics in C++ Quiz 2

1 / 42

What is the return type open() method?

2 / 42

Pick out the incorrect static function member in numeric limits.

3 / 42

Which of the following is not used to seek file pointer?

4 / 42

What is the default operation of adjacent_difference function in numeric library?

5 / 42

Which header file is required to use file I/O operations?

6 / 42

Which can be used to create a random number without duplication?

7 / 42

By default, all the files in C++ are opened in _________ mode.

8 / 42

What is the use of accumulate function in a numeric library?

9 / 42

To which type does the numeric limits are suitable?

10 / 42

Which of the following is the default mode of the opening using the ofstream class?

11 / 42

Which is a constant defined in header file?

12 / 42

What type of reference should be used in vector arithmetic?

13 / 42

Where does the member should be defined if it is used in the program?

14 / 42

Which of the following mathematical function is overloaded in and ?

15 / 42

1. Which of the following is the default mode of the opening using the ifstream class?

16 / 42

Which mathematics library is used for vector manipulation in c++?

17 / 42

What is the use of vector arithmetic in c++?

18 / 42

With which does the trigonometric functions work with angles in c++?

19 / 42

Which header file is used to manipulate the vector algebra in c++?

20 / 42

Which of the following library is used to do vector arithmetic?

21 / 42

What is the use of ios::trunc mode?

22 / 42

Which of the following is the default mode of the opening using the fstream class?

23 / 42

How many parameters are available in partial_sum function in c++?

24 / 42

Which operator is used to produce a certain number in a specific range?

25 / 42

What will be the type of output of vector cross product?

26 / 42

How many parameters are used in frexp function?

27 / 42

Which header file is required for manipulation of math functions in c++?

28 / 42

How many indicators are available in c++?

29 / 42

Which of the following is used to create a stream that performs both input and output operations?

30 / 42

What will the max function in the numeric limit will return for type float?

31 / 42

Which header file is used to operate on numeric sequences?

32 / 42

Which of the following is used to move the file pointer to start of a file?

33 / 42

How many macros are used by mathematical functions in the header file ?

34 / 42

How many parameters are available in srand function?

35 / 42

Which header file is used for the numeric limits in C++?

36 / 42

Which function is used to reposition the file pointer?

37 / 42

Which of the following is used to create an output stream?

38 / 42

Which header file is used to create the pseudo random generator?

39 / 42

Which of the following is not used as a file opening mode?

40 / 42

Which function is used in C++ to get the current position of file pointer in a file?

41 / 42

What is the benefit of c++ input and output over c input and output?

42 / 42

Which function is used to optimize the space in vector?

Provide Your Information

Your score is

The average score is 0%

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