XII COMPUTER SCIENCE EM TEST 10
10. PYTHON CLASSES AND OBJECTS
one mark questions :
Prepared by S. Saminathan, GHSS- MUKHASAPARUR, CUDDALORE DT
Sign in to Google to save your progress. Learn more
Register No *
Name *
School *
1. Which of the following are the key features of an Object Oriented Programming language? *
1 point
2. Functions defined inside a class: *
1 point
3. Class members are accessed through which operator?
*
1 point
4. Which of the following method is automatically executed when an object is created? *
1 point
5. A private class variable is prefixed with *
1 point
6. Which of the following method is used as destructor? *
1 point
7. Which of the following class declaration is correct? *
1 point
8. Which of the following is the output of the following program?
class Student:
def __init__(self, name):
self.name=name
print (self.name)
S=Student(“Tamil”)
*
1 point
9. Which of the following is the private class variable? *
1 point
10. The process of creating an object is called as: *
1 point
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy