Class Hierarchies, Library & Containers Quiz 5
1 / 50
Which header file is required for using Valarray?
2 / 50
Which operator is used to take AND of two bitset variables?
3 / 50
Which of the following is corect way of constructing bitset using integer number?
4 / 50
Which header file is required for using bitset in your program?
5 / 50
Which is the correct syntax of constructing a bitset?
6 / 50
Which function is used to calculate the conjugate of a complex number?
7 / 50
Which of the following is the correct syntax of declaring a complex number?
8 / 50
Which word is used to stop the unpacking of a value in a tuple?
9 / 50
What does size() function returns?
10 / 50
Which header file is required to use complex class in your program?
11 / 50
Indexing of bitset variables starts from ___________
12 / 50
What is the use of the set() function in bitset?
13 / 50
What is the function of shift()?
14 / 50
What is the use of polar function?
15 / 50
Which operator is used to take OR of two bitset variables?
16 / 50
How many ways are there for constructing a bitset?
17 / 50
How many variants of tie() function is there?
18 / 50
Which of the following is correct about the shift?
19 / 50
What happens when only one argument is supplied to set() function?
20 / 50
What is Valarray in C++?
21 / 50
What is the use of apply() function in Valarray?
22 / 50
What is bitset in C++?
23 / 50
What happens when no argument is supplied to reset() function?
24 / 50
What is the use of proj() function?
25 / 50
What happens when only one argument is supplied to flip() function?
26 / 50
What is the use of count() function in bitset?
27 / 50
Which function is used to get the absolute of a complex number?
28 / 50
Which function is used to get the imaginary part of the complex number?
29 / 50
What is the class relationship?
30 / 50
Which function is used to get the argument of a complex number?
31 / 50
Which of the following is correct about Valarray?
32 / 50
Which of the following is correct about bitset and vector of bools?
33 / 50
Which operator is used as not operator in bitset?
34 / 50
What happens when only one argument is supplied to reset() function?
35 / 50
What is the use of sum() function in Valarray?
36 / 50
Which function is used to swap two Valarray?
37 / 50
Which function is used to print the maximum element from Valarray?
38 / 50
What is the default value of a bitset?
39 / 50
Which function is used to get the real part of the complex number?
40 / 50
What happens when no argument is supplied to set() function?
41 / 50
What happens when no argument is supplied to flip() function?
42 / 50
What is the use of tuple_cat() function?
43 / 50
Which of the following is correct about none() function in bitset?
44 / 50
Which of the following is the limitation of bitset over vector bool?
45 / 50
Which of the following is correct about any() function in bitset?
46 / 50
Which operator is used to access the nth bit in a bitset?
47 / 50
What is the use of the flip function in bitset?
48 / 50
What is the use of log() function in a complex?
49 / 50
What is the use of reset function in bitset?
50 / 50
Which of the following is corect way of constructing bitset using binary string?
Provide Your Information
Your score is
The average score is 0%
Restart quiz