Algorithms, Objects & Iterators in C++ Quiz 2

0%
0

Algorithms, Objects & Iterators in C++ Quiz 2

1 / 47

Which operator is used to deallocate the memory?

2 / 47

What are binary functors?

3 / 47

Which of the following is an advantage of Forward iterator over input and output iterator?

4 / 47

How many ways are there to use functors?

5 / 47

Pick the correct statement.

6 / 47

In which type of semantics does c++ implements iterator?

7 / 47

What is the correct function prototype of () operator overloading?

8 / 47

What are Iterators?

9 / 47

How many parameters are required for sort_heap function?

10 / 47

Which of the following operators are overloaded for functors?

11 / 47

What does the checked iterator allow you to find?

12 / 47

Which of the following is correct?

13 / 47

What is the use of includes function in c++?

14 / 47

What kind of pattern is iterator pattern?

15 / 47

What are Random-access Iterators?

16 / 47

Which of the following is a Non-modifying Sequence Operation?

17 / 47

What will happen if the iterator is unchecked?

18 / 47

What are functors in C++?

19 / 47

Which function can be used to find the sum of a vector container?

20 / 47

What is the use of reference member type in allocator?

21 / 47

Which operator is used to allocate the memory?

22 / 47

1. What is the property of partial sort function provided by the STL algorithm?

23 / 47

Which of the following is a Modifying Sequence Operation?

24 / 47

Which of the following is correct about Input Iterators?

25 / 47

Which of the following is a logical unary functor?

26 / 47

What is the property of stable sort function provided by the STL algorithm?

27 / 47

What is the use of random_shuffle() function of STL algorithm?

28 / 47

Which of the following is an arithmetic unary functor?

29 / 47

What is the correct syntax for declaring an allocator?

30 / 47

Which of the following is correct about Input Iterators?

31 / 47

Where are allocators implemented?

32 / 47

Which of the following can serve as random-access iterator?

33 / 47

How many types of Iterators are there?

34 / 47

Which function is used increment the iterator by a particular value?

35 / 47

Which of te following is a built-in example of functors in C++?

36 / 47

What are Bi-directional iterators?

37 / 47

Which header file is used to manipulate the allocater?

38 / 47

How many types of sequence operations are provided by the C++ algorithm STL?

39 / 47

Which of the header file is used to implement algorithms provided by C++ STL?

40 / 47

How many adaptors support the checked iterators?

41 / 47

How many categories of iterators are there in c++?

42 / 47

What is the use of checked iterators?

43 / 47

Which of the following is correct about Functors?

44 / 47

What are unary functors?

45 / 47

Which header file is required to use accumulate() function?

46 / 47

Which of the following header file is required to use in-bulit functors of C++?

47 / 47

What kind of errors do checked iterators detect?

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