| 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. Which among the following is false?

Correct Answer is : TRUE

2. The object can’t be:

Correct Answer is : 4

3. What is size of the object of following class (64 bit system)? class student { int rollno; char name[20]; static int studentno; };

Correct Answer is : SELECT

4. Functions can’t return objects. (True/False)

Correct Answer is : Between

5. How members of an object are accessed?

Correct Answer is : Equality condition

6. If a local class is defined in a function, which of the following is true for an object of that class?

Correct Answer is : Equality condition

7. Which among the following is wrong?

Correct Answer is : Equality condition

8. Object declared in main() function:

Correct Answer is : Yes

9. When an object is returned___________

Correct Answer is : Not equal to

10. Which among the following is correct?

Correct Answer is : Yes

11. Which among following is correct for initializing the class below? class student{ int marks; int cgpa; public: student(int i, int j){ marks=I; cgpa=j } };

Correct Answer is : Yes

12. Object can’t be used with pointers because they belong to user defined class, and compiler can’t decide the type of data may be used inside the class. (True/False)

Correct Answer is : Expression fall under certain range

13. Which was the first purely object oriented programming language developed?

Correct Answer is : Both Numeric and Temporal data type

14. Which of the following best defines a class?

Correct Answer is : Range condition

15. Who invented OOP?

Correct Answer is : All employees details between 2007 and 2008

16. What is the additional feature in classes that was not in structures?

Correct Answer is : Lower and upper limit

17. Which is not feature of OOP in general definitions?

Correct Answer is : None of the mentioned

18. Pure OOP can be implemented without using class in a program. (True or False)

Correct Answer is : Only those details will be shown whose as available balance form 3000 to 5000

19. Which Feature of OOP illustrated the code reusability?

Correct Answer is : Both and !=

20. Which language does not support all 4 types of inheritance?

Correct Answer is : 0