nerdexam
Huawei

H13-311_V3.5 · Question #173

Which of the following features does Python support? (Multiple choice)

The correct answer is A. Inheritance B. Heavy load C. Derived D. Multiple inheritance. There appears to be an error in the provided answer key - "Heavy load" (B) is not a Python feature and should not be marked correct. The actual correct answers are A, C, and D. A (Inheritance) is correct because Python is an object-oriented language that fully supports…

Huawei AI Development Platforms and Solutions

Question

Which of the following features does Python support? (Multiple choice)

Options

  • AInheritance
  • BHeavy load
  • CDerived
  • DMultiple inheritance

How the community answered

(26 responses)
  • A
    100% (26)

Explanation

There appears to be an error in the provided answer key - "Heavy load" (B) is not a Python feature and should not be marked correct. The actual correct answers are A, C, and D.

A (Inheritance) is correct because Python is an object-oriented language that fully supports inheritance, allowing a child class to acquire attributes and methods from a parent class. D (Multiple inheritance) is correct and is one of Python's distinguishing OOP features - unlike Java, a Python class can inherit from more than one parent simultaneously (e.g., class C(A, B)). C (Derived) is correct in that Python explicitly uses the concept of derived classes (subclasses that extend a base class), making "derived" a valid OOP term within Python. B (Heavy load) is a distractor with no meaning in Python's feature set - it is not an OOP concept, a language feature, or a technical term used in Python documentation.

Memory tip: Think of Python's OOP pillars - Inheritance, Polymorphism, Encapsulation, Abstraction (IPEA). "Heavy load" fits none of these; if a choice sounds like a vague physical metaphor rather than a programming concept, it's almost certainly a distractor.

Topics

#Python OOP#Inheritance#Overloading#Multiple Inheritance

Community Discussion

No community discussion yet for this question.

Full H13-311_V3.5 Practice