New ! Computer Science MCQ Practise Tests

11th Standard Computer Science Inheritance English Medium Free Online Test One Mark Questions with Answer Key 2020 - 2021

11th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 00:10:00 Hrs
Total Marks : 10

    Answer all the questions

    10 x 1 = 10
  1. Which of the following derives a class student from the base class school

    (a)

    school: student

    (b)

    class student: public school

    (c)

    student: public school

    (d)

    class school: public student

  2. Which visibility mode should be used when you want the features of the base class to be 'available to the derived Class but not to the classes that are derived from the derived class?

    (a)

    Private

    (b)

    Public

    (c)

    Protected

    (d)

    All of these

  3. Which of the following statement is true or false?
    (i) A class that is used as the base for inheritage is called parent class.
    (ii) A class used to derived a new class called derived class.
    (iii) The derived is a power packed class.
    (iv) Inheritage allows to inherit all the members of one class to another class.

    (a)

    (i) false, (ii) false, (iii) true, (iv)-true

    (b)

    (i) false,(ii) true, (iii) false, (iv)-true

    (c)

    (i) true, (ii) false,(iii) true, (iv)-false

    (d)

    (i) true, (ii) true, (iii) false, (iv)-false

  4. How many types of inheritanse are there?

    (a)

    3

    (b)

    4

    (c)

    5

    (d)

    2

  5. When a class derived from a class which it self is a derived class is called

    (a)

    Multiple

    (b)

    Multiple

    (c)

    hybrid

    (d)

    None of these

  6. In which type of inheritance the order in which the derived class to inherit the base class?

    (a)

    right to left

    (b)

    left to right

    (c)

    top to bottom

    (d)

    bottom to top

  7. In which type of inheritance the base class do not have any relationship between them?

    (a)

    Multilevel inheritance

    (b)

    Hierarchical inheritance

    (c)

    Multiple inheritance

    (d)

    Hybrid inheritance

  8. In which inheritance a derived class itself acts as a base class to derive another class?

    (a)

    Multiple

    (b)

    Hybrid

    (c)

    Hierarchical

    (d)

    Multilevel

  9. The derived class may inherit the properties of the base class based on its ________

    (a)

    access specifier

    (b)

    visibility mode

    (c)

    members

    (d)

    function

  10. Which of the following class destructor expires first____________
    (i) base class
    (ii) derived class

    (a)

    only (i)

    (b)

    only (ii)

    (c)

    both (i) and (ii)

    (d)

    none of these

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

TN 11th Standard Computer Science free Online practice tests

Reviews & Comments about 11th Standard Computer Science Inheritance English Medium Free Online Test One Mark Questions with Answer Key 2020 - 2021

Write your Comment