New ! Computer Science MCQ Practise Tests



12th Standard English Medium Computer Science Subject Python Classes and Objects Book Back 1 Mark Questions with Solution Part - I

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

Time : 01:00:00 Hrs
Total Marks : 5

    1 Marks

    5 x 1 = 5
  1. Which of the following are the key features of an Object Oriented Programming language?

    (a)

    Constructor and Classes

    (b)

    Constructor and Object

    (c)

    Classes and Objects

    (d)

    Constructor and Destructor

  2. Functions defined inside a class:

    (a)

    Functions

    (b)

    Module

    (c)

    Methods

    (d)

    section

  3. Class members are accessed through which operator?

    (a)

    &

    (b)

    .

    (c)

    #

    (d)

    %

  4. Which of the following method is automatically executed when an object is created?

    (a)

    __object__( )

    (b)

    __del__( )

    (c)

    __func__( )

    (d)

    __init__( )

  5. A private class variable is prefixed with

    (a)

    __

    (b)

    &&

    (c)

    ##

    (d)

    **

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

Reviews & Comments about 12th Standard English Medium Computer Science Subject Python Classes and Objects Book Back 1 Mark Questions with Solution Part - I

Write your Comment