D522 Python for IT Automation Question with
Verified Correct Answers
Python
A high-level interpreted programming language known for simplicity readability and
versatility.
Guido van Rossum
The creator of Python who first released it in 1991.
Interpreted Language
A language that executes code line-by-line without requiring prior compilation.
Programming Paradigm
A fundamental style or approach to structuring and organizing code.
Procedural Programming
A paradigm that focuses on step-by-step instructions and linear execution.
Object-Oriented Programming (OOP)
A paradigm that organizes code around objects containing data and methods.
Functional Programming
A paradigm that emphasizes the use of functions and immutable data.
Readable Syntax
A Python feature that makes code clear easy to understand and maintain.
Dynamic Typing
, A feature where variable types are determined at runtime rather than declared explicitly.
Standard Library
A built-in collection of modules and packages that provide ready-to-use functionality.
Encapsulation
An OOP principle that restricts direct access to data and bundles it with related methods.
Polymorphism
An OOP principle that allows objects to be treated as instances of their parent class enabling
flexibility.
Python Syntax
The set of rules that define how symbols keywords and structure form valid Python
programs.
Indentation
The use of spaces to define code blocks and structure in Python typically four spaces per
level.
Code Block
A group of statements that belong together and are defined by indentation in Python.
Comment
A note in code beginning with # that is ignored by the Python interpreter.
Variable
A named storage location created by assigning a value using the equals sign.
Verified Correct Answers
Python
A high-level interpreted programming language known for simplicity readability and
versatility.
Guido van Rossum
The creator of Python who first released it in 1991.
Interpreted Language
A language that executes code line-by-line without requiring prior compilation.
Programming Paradigm
A fundamental style or approach to structuring and organizing code.
Procedural Programming
A paradigm that focuses on step-by-step instructions and linear execution.
Object-Oriented Programming (OOP)
A paradigm that organizes code around objects containing data and methods.
Functional Programming
A paradigm that emphasizes the use of functions and immutable data.
Readable Syntax
A Python feature that makes code clear easy to understand and maintain.
Dynamic Typing
, A feature where variable types are determined at runtime rather than declared explicitly.
Standard Library
A built-in collection of modules and packages that provide ready-to-use functionality.
Encapsulation
An OOP principle that restricts direct access to data and bundles it with related methods.
Polymorphism
An OOP principle that allows objects to be treated as instances of their parent class enabling
flexibility.
Python Syntax
The set of rules that define how symbols keywords and structure form valid Python
programs.
Indentation
The use of spaces to define code blocks and structure in Python typically four spaces per
level.
Code Block
A group of statements that belong together and are defined by indentation in Python.
Comment
A note in code beginning with # that is ignored by the Python interpreter.
Variable
A named storage location created by assigning a value using the equals sign.