New ! Computer Science MCQ Practise Tests



12th Standard English Medium Computer Science Subject Python Classes and Objects Creative 1 Mark Questions with Solution Part - II

12th Standard

    Reg.No. :
  •  
  •  
  •  
  •  
  •  
  •  

Computer Science

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

    1 Marks

    5 x 1 = 5
  1. Functions of the class are called as

    (a)

    Methods

    (b)

    Members

    (c)

    Variables

    (d)

    Loog

  2. Which position of the argument named self in python class method?

    (a)

    First

    (b)

    Second

    (c)

    Third

    (d)

    Last

  3. Which of the following gets executed automatically when an object exit from the scope?

    (a)

    Destructor

    (b)

    Constructor

    (c)

    Class

    (d)

    Object

  4. In Python, a class is defined by using the _______ class.

    (a)

    Operator

    (b)

    Identifier

    (c)

    Object

    (d)

    Keyword

  5. Constructor must begin and with double _________

    (a)

    Colon

    (b)

    Semicolon

    (c)

    Dot

    (d)

    Underscore

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

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

Write your Comment