- A. Class
- B. classCorrect
- C. define
- D. struct
12th Standard Computer Science — Python Classes and objects: Additional MCQs with Answers & Explanations
15 extra multiple-choice questions for Python Classes and objects (12th Standard Computer Science, Samacheer Kalvi), beyond the ones printed in the textbook — each with the correct option highlighted and a clear, worked explanation. Free to read in English and Tamil.
- A. Class Initialisation
- B. Class Inheritance
- C. Class InstantiationCorrect
- D. Class Implementation
- A. Arrow operator (->)
- B. Dot operator (.)Correct
- C. Scope resolution operator (::)
- D. Colon operator (:)
- A. object
- B. this
- C. selfCorrect
- D. init
- A. __init__()Correct
- B. __new__()
- C. __constructor__()
- D. __del__()
- A. Prefixing the variable name with a single underscore (_)
- B. Prefixing the variable name with a double underscore (__)Correct
- C. Suffixed with a double underscore (__)
- D. Declaring it under a private access specifier block
- A. It prints the value of __n2 successfully.
- B. It prints None because the variable is private.
- C. Python throws an AttributeError indicating the object has no such attribute.Correct
- D. Python throws a NameError indicating the variable is not defined.
- A. Declared directly at the top of the class block.
- B. Declared inside a method using the self keyword.Correct
- C. Declared using the global keyword inside a method.
- D. Declared without any prefix inside the constructor.
- A. __init__()
- B. __destroy__()
- C. __del__()Correct
- D. __exit__()
- A. Private
- B. Protected
- C. PublicCorrect
- D. Global
- A. Zero
- B. One
- C. TwoCorrect
- D. Three
- A. Prefixed by the class name and dot operatorCorrect
- B. Prefixed by the global keyword
- C. Using the variable name directly without any prefix
- D. Prefixed with double dollar signs
- A. Python automatically assigns None to all parameters.
- B. Python raises a TypeError due to missing required positional arguments.Correct
- C. Python ignores the parameters and instantiates the object successfully.
- D. Python prompts the user for inputs at runtime.
- A. Using the del keyword followed by the object nameCorrect
- B. Calling the __del__() method directly using the object
- C. Setting the object equal to 0
- D. Calling the close() method on the object
- A. Class variables have separate copies for every object, while instance variables are shared.
- B. Both class variables and instance variables have separate copies created for every object.
- C. Both class variables and instance variables are shared across all objects of the class.
- D. Class variables are shared by all objects of the class, while instance variables are unique to each object.Correct
More for this chapter
About these Python Classes and objects questions
These are the Additional multiple-choice questions for Python Classes and objects from the Tamil Nadu State Board (Samacheer Kalvi) 12th Standard Computer Science syllabus. Each question shows the correct option and an original, step-by-step explanation so you understand the method, not just the answer. Use the answer key above to jump to any question, then take the practice test to check yourself under exam-like conditions.
Frequently asked questions
How many MCQs are there in Python Classes and objects?
This chapter has 15 book-back multiple-choice questions, each with the correct answer and a step-by-step explanation.
Are these 12th Standard Computer Science MCQs free to practise online?
Yes. Every question, answer and explanation here is free, and you can also take them as a timed practice test.
Where can I find the Python Classes and objects book-back answers?
The correct option for each question is highlighted on this page with a worked explanation, plus a quick answer-key summary at the top.