OOP in Python MCQs | JoinMyTutor
MCQs on Object Oriented Programming in Python.
Oop MCQs
-
Python supports OOP via?
- A. classes
- B. objects
- C. inheritance
- D. all of the above
Answer: D — All of the mentioned are features of OOP.
-
Which keyword creates a class?
- A. class
- B. def
- C. object
- D. struct
Answer: A — class keyword defines a class.
-
Every class method must have first parameter?
- A. this
- B. cls
- C. self
- D. object
Answer: C — self refers to instance of class.
-
Output: class A: pass; a=A(); type(a)
- A. <class A>
- B. object
- C. Error
- D. None
Answer: A — Creates instance of A.
-
Which method is the constructor?
- A. __main__
- B. __constructor__
- C. __init__
- D. __new__
Answer: C — __init__ initializes objects.
-
Which operator is used for inheritance?
- A. ->
- B. extends
- C. inherits
- D. class Child(Parent)
Answer: D — Inheritance uses class Child(Parent).
-
Which is used for data hiding in Python?
- A. __doubleUnderscore
- B. _singleUnderscore
- C. both
- D. None
Answer: C — Both are used for access control.
-
Output: isinstance(3,int)
- A. True
- B. False
- C. Error
- D. None
Answer: A — 3 is an integer, so True.
-
Which keyword refers to parent class?
- A. super
- B. parent
- C. base
- D. upper
Answer: A — super() calls parent class methods.
-
Which OOP feature is not supported directly in Python?
- A. Polymorphism
- B. Encapsulation
- C. Multiple inheritance
- D. Interfaces
Answer: D — Python doesn’t have formal interfaces.
💡 Tips & Common Mistakes
Remember to review concepts carefully. Fill in custom tips for oop here.
📅 Last Updated: November 20, 2026
Vinod Kumar
Senior Full-Stack InstructorPython & JavaScript Tutor at JoinMyTutor
Vinod teaches practical Python and JavaScript—ranging from basics to advanced web apps—with a focus on clear mental models, code readability, and interview preparation. He authors both the Python and JavaScript tracks on JoinMyTutor.