Class Hierarchies, Library & Containers Quiz 5

0%
0

Class Hierarchies, Library & Containers Quiz 5

1 / 50

Which of the following is corect way of constructing bitset using binary string?

2 / 50

Which function is used to swap two Valarray?

3 / 50

What is Valarray in C++?

4 / 50

Which of the following is correct about bitset and vector of bools?

5 / 50

What is the use of count() function in bitset?

6 / 50

Which of the following is correct about the shift?

7 / 50

Which function is used to calculate the conjugate of a complex number?

8 / 50

What happens when no argument is supplied to reset() function?

9 / 50

Which of the following is the limitation of bitset over vector bool?

10 / 50

Which of the following is the correct syntax of declaring a complex number?

11 / 50

What is the use of log() function in a complex?

12 / 50

Which operator is used to take AND of two bitset variables?

13 / 50

What is the default value of a bitset?

14 / 50

What is bitset in C++?

15 / 50

How many variants of tie() function is there?

16 / 50

Indexing of bitset variables starts from ___________

17 / 50

What happens when only one argument is supplied to flip() function?

18 / 50

What happens when only one argument is supplied to reset() function?

19 / 50

Which function is used to get the imaginary part of the complex number?

20 / 50

Which operator is used to access the nth bit in a bitset?

21 / 50

What is the use of apply() function in Valarray?

22 / 50

Which header file is required for using Valarray?

23 / 50

What is the use of sum() function in Valarray?

24 / 50

Which of the following is corect way of constructing bitset using integer number?

25 / 50

What is the class relationship?

26 / 50

Which header file is required to use complex class in your program?

27 / 50

Which function is used to get the absolute of a complex number?

28 / 50

Which function is used to get the real part of the complex number?

29 / 50

Which of the following is correct about Valarray?

30 / 50

Which operator is used to take OR of two bitset variables?

31 / 50

Which operator is used as not operator in bitset?

32 / 50

What is the use of the set() function in bitset?

33 / 50

What is the function of shift()?

34 / 50

What is the use of tuple_cat() function?

35 / 50

What is the use of proj() function?

36 / 50

What is the use of reset function in bitset?

37 / 50

What happens when no argument is supplied to set() function?

38 / 50

Which of the following is correct about any() function in bitset?

39 / 50

What does size() function returns?

40 / 50

What happens when no argument is supplied to flip() function?

41 / 50

How many ways are there for constructing a bitset?

42 / 50

Which header file is required for using bitset in your program?

43 / 50

Which word is used to stop the unpacking of a value in a tuple?

44 / 50

What is the use of polar function?

45 / 50

Which function is used to get the argument of a complex number?

46 / 50

Which function is used to print the maximum element from Valarray?

47 / 50

What is the use of the flip function in bitset?

48 / 50

Which of the following is correct about none() function in bitset?

49 / 50

What happens when only one argument is supplied to set() function?

50 / 50

Which is the correct syntax of constructing a bitset?

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