MCQOPTIONS
Saved Bookmarks
This section includes 9 Mcqs, each offering curated multiple-choice questions to sharpen your Company QA knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What is the use of header |
| A. | Contains the standard exception files |
| B. | Contains the standard library files |
| C. | It is used to arise an exception in the program |
| D. | Reduce the memory size |
| Answer» B. Contains the standard library files | |
| 2. |
Pick out parameter for rehash method in unordered_set in c++? |
| A. | count |
| B. | size |
| C. | hash |
| D. | type |
| Answer» B. size | |
| 3. |
What is meant by standard c++ library? |
| A. | It is the collection of class definitions for standard data structures and a collection of algorithms |
| B. | It is a header file |
| C. | Collection of algorithms |
| D. | Step by step process |
| Answer» B. It is a header file | |
| 4. |
Pick out the wrong header file. |
| A. | <algorithm> |
| B. | <containers> |
| C. | <iterators> |
| D. | <process> |
| Answer» E. | |
| 5. |
Pick out the wrong header file about strings. |
| A. | <string> |
| B. | <regex> |
| C. | <ios> |
| D. | <reg> |
| Answer» D. <reg> | |
| 6. |
WHAT_IS_MEANT_BY_STANDARD_C++_LIBRARY??$ |
| A. | It is the collection of class definitions for standard data structures and a collection of algorithms |
| B. | It is a header file |
| C. | Collection of algorithms |
| D. | None of the mentioned |
| Answer» B. It is a header file | |
| 7. |
Pick out the wrong header file? |
| A. | <algorithm> |
| B. | <containers> |
| C. | <iterators> |
| D. | <process> |
| Answer» B. <containers> | |
| 8. |
What is meant by vector in the container library contains? |
| A. | It is a sequence container that encapsulates dynamic size arrays |
| B. | It is a sequence container that encapsulates static size arrays |
| C. | It manages the memory |
| D. | None of the mentioned |
| Answer» E. | |
| 9. |
Which is best for coding the standard library for c++? |
| A. | no trailing underscores on names |
| B. | complex objects are returned by value |
| C. | have a member-swap() |
| D. | all of the mentioned |
| Answer» D. all of the mentioned | |