Topic / 88 questions

Python MCQs

Page 3 of Python multiple-choice questions with answers. Tap an option to check yourself.

Page 3 of 5

Question 42 Python

What happens if the same module is imported twice in one Python program?

Correct answer D. Its code runs only once; later imports reuse the cached module from sys.modules

Open question
Advertisement
Question 46 Python

What does it mean to say that Python is dynamically typed?

Correct answer B. Types belong to objects and are checked at runtime, so a name can be rebound to a value of a different type

Open question
Advertisement
Advertisement