| 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. Object cout and cin _________________

Correct Answer is : Can be used directly with << and >> symbols respectively

2. Objects type ____________________

Correct Answer is : Can’t be changed in runtime

3. Objects type ____________________

Correct Answer is : Can’t be changed in runtime

4. An object can be used to represent _________________

Correct Answer is : A real world entity

5. An object can be used to represent _________________

Correct Answer is : A real world entity

6. Objects can be used _____________________

Correct Answer is : To access only public members of a class

7. Objects can be used _____________________

Correct Answer is : To access only public members of a class

8. Which among the following is not a use of object?

Correct Answer is : Defining a member function

9. Which among the following is not a use of object?

Correct Answer is : Defining a member function

10. Which object can be used to access the standard input?

Correct Answer is : cin

11. Which object can be used to access the standard input?

Correct Answer is : cin

12. A single object can be used __________________

Correct Answer is : As only one class type at a time

13. A single object can be used __________________

Correct Answer is : As only one class type at a time

14. If same object name is given to different objects of different class then _____________

Correct Answer is : Its compile time error

15. If same object name is given to different objects of different class then _____________

Correct Answer is : Its compile time error

16. Which definition best describes an object?

Correct Answer is : Instance of a class

17. How many objects can be declared of a specific class in a single program?

Correct Answer is : As many as you want

18. Which among the following is false?

Correct Answer is : Objects can’t be passed by reference

19. Which of the following is incorrect?

Correct Answer is : class student{ }s[];

20. The object can’t be:

Correct Answer is : Passed as function