JNCIA-DevOps: Juniper Networks Certified Associate – Automation and DevOps — Question 19
Which statement is correct about Python?
Answer options
- A. The Python interpreter is written using the Visual Basic programming language
- B. Python strictly enforces the use of indentation and white space
- C. Python requires that you manually delete unused objects from memory
- D. Python behavior is influenced by the host OS
Correct answer: D
Explanation
Option D is correct because Python's behavior can vary based on the operating system's characteristics and how it manages resources. Option A is incorrect as the Python interpreter is not written in Visual Basic; it is primarily implemented in C. Option B is misleading since Python does enforce indentation but does not strictly enforce whitespace beyond that. Option C is false because Python uses automatic memory management through garbage collection.