JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
chapter 10
Sign in to Google
to save your progress.
Learn more
* Indicates required question
STUDENT NAME
*
Your answer
CLASS AND SECTION
*
Your answer
1. _______ number of arguments can be taken by Python method even when a method is definedwith one argument
*
1 point
1
3
2
4
2.. In Python ________ function will act as a constructor
*
1 point
int
inti
classname
init
3._______ is automatically executed when an object of a class is created
*
1 point
constructor
destructor
class
members
4. _______ is used to initialize the class variables
*
1 point
Destructor
Object
Constructors
Classmembers
5.. The _____ of the class should be accessed through instance of a class
*
1 point
Objects
Members
Functions
Tuples
6.. In Python, _______ method is used as destructor
*
1 point
–init—( )
–des—( )
__del__( )
--destructor –( )
7. In python, the class method must name the first argument named as __________
*
1 point
this
new
self
vcr
8._______ and _______ are the key features of object oriented programming
*
1 point
list and tuples
set and dictionary
Classes and objects
Variables and methods
9. By default the class variables are _______
*
1 point
private
public
protected
Method
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. -
Terms of Service
-
Privacy Policy
Does this form look suspicious?
Report
Forms
Help and feedback
Contact form owner
Help Forms improve
Report