Class Hierarchies, Library & Containers Quiz 5

1 / 50

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

2 / 50

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

3 / 50

Indexing of bitset variables starts from ___________

4 / 50

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

5 / 50

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

6 / 50

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

7 / 50

How many ways are there for constructing a bitset?

8 / 50

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

9 / 50

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

10 / 50

Which of the following is correct about the shift?

11 / 50

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

12 / 50

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

13 / 50

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

14 / 50

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

15 / 50

What is the default value of a bitset?

16 / 50

Which header file is required for using Valarray?

17 / 50

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

18 / 50

Which function is used to swap two Valarray?

19 / 50

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

20 / 50

Which operator is used as not operator in bitset?

21 / 50

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

22 / 50

What is the use of tuple_cat() function?

23 / 50

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

24 / 50

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

25 / 50

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

26 / 50

How many variants of tie() function is there?

27 / 50

What is the use of reset function in bitset?

28 / 50

What is the use of polar function?

29 / 50

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

30 / 50

What is the use of the flip function in bitset?

31 / 50

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

32 / 50

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

33 / 50

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

34 / 50

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

35 / 50

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

36 / 50

What is Valarray in C++?

37 / 50

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

38 / 50

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

39 / 50

What is the class relationship?

40 / 50

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

41 / 50

What does size() function returns?

42 / 50

What is bitset in C++?

43 / 50

What is the function of shift()?

44 / 50

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

45 / 50

Which is the correct syntax of constructing a bitset?

46 / 50

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

47 / 50

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

48 / 50

What is the use of proj() function?

49 / 50

Which of the following is correct about Valarray?

50 / 50

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

Provide Your Information

Your score is

The average score is 0%

Restart quiz