1. When exceptions are used?
Correct Answer is : A function is limited to throwing only a specified list of exceptions
2. What is the user-defined header file extension in c++?
Correct Answer is : A function can throw an exception of certain type only
3. Which of the following keyword is used to declare the header file?
Correct Answer is : arise an error
4. Identify the incorrect statement.
Correct Answer is : All of the mentioned
5. What does a default header file contain?
Correct Answer is : Exception:std:bad_typeid
6. setprecision requires which of the following header file?
Correct Answer is : Can’t able to create the dynamic instance for the triangle, So it is arising an exception
7. Which of the following header file does not exist?
Correct Answer is : depends on compiler
8. Which of the header file must be included to use stringstream?
Correct Answer is : It can throw anything
9. Which of the following header files is required for creating and reading data files?
Correct Answer is : Operations which are irreversible
10. What is meant by heap?
11. Which value is pointed out first in heap?
Correct Answer is : error
12. Which operator is used to compare the elements in heap?
13. How to protect the heap from affecting the memory?
Correct Answer is : Depends on the memory of the computer
14. In what form does the STL provides heap?
Correct Answer is : calls the standard library function terminate()
15. How many types are there in binary heaps?
Correct Answer is : Reduces the amount of code in cache
16. Which operator works only with integer variables?
Correct Answer is : It will be added to the overhead
17. How many types are there in increment/decrement operator?
Correct Answer is : Resource cleanup
18. Pick out the correct statement
Correct Answer is : Establish the class invariant
19. Which concepts does the Pre Increment use?
Correct Answer is : Exception object is created only if an error actually happens
20. What is Inheritance in C++?
Correct Answer is : exception handler