Class Hierarchies, Library & Containers Quiz 5

0%
0

Class Hierarchies, Library & Containers Quiz 5

1 / 50

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

2 / 50

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

3 / 50

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

4 / 50

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

5 / 50

What is the function of shift()?

6 / 50

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

7 / 50

What is the use of reset function in bitset?

8 / 50

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

9 / 50

Indexing of bitset variables starts from ___________

10 / 50

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

11 / 50

Which operator is used as not operator in bitset?

12 / 50

Which function is used to swap two Valarray?

13 / 50

How many ways are there for constructing a bitset?

14 / 50

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

15 / 50

How many variants of tie() function is there?

16 / 50

What is the default value of a bitset?

17 / 50

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

18 / 50

What is the use of polar function?

19 / 50

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

20 / 50

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

21 / 50

What is the class relationship?

22 / 50

Which header file is required for using Valarray?

23 / 50

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

24 / 50

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

25 / 50

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

26 / 50

What is the use of tuple_cat() function?

27 / 50

Which is the correct syntax of constructing a bitset?

28 / 50

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

29 / 50

Which of the following is correct about Valarray?

30 / 50

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

31 / 50

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

32 / 50

What is the use of the flip function in bitset?

33 / 50

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

34 / 50

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

35 / 50

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

36 / 50

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

37 / 50

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

38 / 50

What is Valarray in C++?

39 / 50

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

40 / 50

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

41 / 50

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

42 / 50

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

43 / 50

What is the use of proj() function?

44 / 50

Which of the following is correct about the shift?

45 / 50

What does size() function returns?

46 / 50

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

47 / 50

What is bitset in C++?

48 / 50

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

49 / 50

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

50 / 50

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

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