| Snaprecruit.com

| Snaprecruit.com

Interview question based on skill :

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. What is the use of accumulate function in numeric library?

Correct Answer is : throw

2. How many parameters are available in partial_sum function in c++?

Correct Answer is : The program compiles successfully with warnings

3. What is the default operation of adjacent_difference function in numeric library?

Correct Answer is : Caught A Class

4. What are the Generators in C++?

Correct Answer is : Caught B Class

5. What are Distributions in C++?

Correct Answer is : Caught A Class

6. What is Pseudo-random number engines?

Correct Answer is : catch(…)

7. What is linear_congruential_engine?

Correct Answer is : termination of program

8. What are different operations are used in Pseudo-random number engines?

Correct Answer is : its callee

9. What is mersenne_twister_engine?

Correct Answer is :

10. What is subtract_with_carry_engine?

Correct Answer is : try

11. What is a Random number generator?

Correct Answer is : catch

12. What is random_device?

Correct Answer is : i, iv

13. Which algorithm is used in subtract_with_carry_engine?

Correct Answer is : Compiler executes remaining statements of outer try-catch block and then the main() function

14. What is the default random engine?

Correct Answer is : The compiler will check for appropriate catch handler of the outer try block

15. What are Engine Adaptors?

Correct Answer is : Program will be termianted abnormally

16. How many Engine Adaptors are there in C++?

Correct Answer is : terminate()

17. How many types of exception handling are there in c++?

Correct Answer is : By defining a function with throw clauses

18. How many runtime error messages associated with exception?

Correct Answer is : unexpected()

19. Which block should be placed after try block?

Correct Answer is : bool

20. Pick out the correct Answer.

Correct Answer is : i, ii, iii