Full OOPs Python Assessment Guide With Questions
Full OOPs Python Assessment Guide With Questions
a) Faster execution
c) Use of arrays
Answer: b
a) Encapsulation
b) Polymorphism
c) Inheritance
d) Abstraction
Answer: c
OOPs Concepts with Python - Assessment Preparation
class A:
def greet(self):
class B(A):
pass
b = B()
b.greet()
a) Hello from A
b) Hello from B
c) Error
d) No output
Answer: a
a) class
OOPs Concepts with Python - Assessment Preparation
b) object
c) define
d) def
Answer: a
a) __delete__
b) __start__
c) __init__
d) __new__
Answer: c