nerdexam
Huawei

H13-311_V3.5 · Question #181

Which of the following descriptions about Python program are correct? (Multiple choice)

The correct answer is A. The program consists of modules B. Module contains statements C. statement contains an expression D. Expressions create and process objects. All four options describe the hierarchical structure of a Python program from top to bottom: a program is composed of modules (.py files), each module is a sequence of statements (assignments, loops, function definitions, etc.), statements are built from expressions (e.g., x =…

Huawei AI Development Platforms and Solutions

Question

Which of the following descriptions about Python program are correct? (Multiple choice)

Options

  • AThe program consists of modules
  • BModule contains statements
  • Cstatement contains an expression
  • DExpressions create and process objects

How the community answered

(29 responses)
  • A
    100% (29)

Explanation

All four options describe the hierarchical structure of a Python program from top to bottom: a program is composed of modules (.py files), each module is a sequence of statements (assignments, loops, function definitions, etc.), statements are built from expressions (e.g., x = 1 + 2 is a statement containing the expression 1 + 2), and expressions are the building blocks that create and process objects - every expression evaluates to a Python object. Since all four choices are correct, there are no distractors to rule out; the question tests whether you recognize that this is a complete, valid description of Python's architecture.

Memory tip: Think of it as a Russian nesting doll - Program > Module > Statement > Expression > Object. The acronym PMSEO ("programs make stuff execute objects") keeps the order straight for exam day.

Topics

#Python program structure#modules#statements#expressions

Community Discussion

No community discussion yet for this question.

Full H13-311_V3.5 Practice