New ! Computer Science MCQ Practise Tests



Classes and objects Two Marks Questions

11th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 00:45:00 Hrs
Total Marks : 30
    15 x 2 = 30
  1. What are called members?

  2. Differentiate structure and class though both are user defined data type.

  3. What is the difference between the class and object in terms of oop?

  4. Why it is considered as a good practice to define a constructor though compiler can automatically generate a constructor?

  5. Write down the importance of destructor.

  6. Write a short note on class members

  7. What is global class?

  8. What is called instance of class?

  9. When the memory space allocated to the class members?

  10. What is the size of the objects s1, s2?
    class sum
    {
    int n1, n2;
    public;
    void add( ){int n3=10;n 1=n2=10;}
    } s1, s2;

  11. What are the ways the classes can be nested?

  12. What is container class?

  13. How the instantiating object is done in C++?

  14. What are the two ways of using parameterized constructor?

  15. Why are the most suitable method of involving parameterized constructor? Give reason.

*****************************************

Reviews & Comments about 11th Standard Computer Science - Classes and objects Two Marks Questions

Write your Comment