Python Exam Latest Questions and Answers
| Professional Prep | Grade A+
• Input-Process-Output thinking standard to determine coding structure.
CORRECT ANSWER: IPO thinking standard
• A special variable in Python that holds the name of the current module.
CORRECT ANSWER: __name__
• A special variable in Python that indicates the main module. CORRECT
ANSWER: __main__
• A resource for learning Python programming. CORRECT ANSWER: Python
Crash Course Book 🐍
• Application Programming Interfaces accessible to the public. CORRECT
ANSWER: Public API's
• Time management method using a timer to break work into intervals. CORRECT
ANSWER: Pomodoro Technique
• Data structure with key-value pairs used for mapping inputs to outputs.
CORRECT ANSWER: Dictionaries
• An introductory course to computer science offered by Harvard University.
CORRECT ANSWER: CS50
, • An efficient, comparison-based sorting algorithm. CORRECT ANSWER: Merge
Sort
• Ordered collection of items in Python denoted by square brackets. CORRECT
ANSWER: Lists
• Immutable ordered collection of items in Python denoted by parentheses.
CORRECT ANSWER: Tuples
• Symbols used to represent values and perform operations. CORRECT ANSWER:
Variables and Expressions
• Blocks of organized, reusable code for specific tasks. CORRECT ANSWER:
Functions
• Guided demonstrations of critical programming exercises. CORRECT
ANSWER: Lab Walkthroughs
• Symbols used to perform mathematical operations in Python. CORRECT
ANSWER: Arithmetic Operators
• Operations that return true or false based on the comparison of values.
CORRECT ANSWER: Comparisons
• Increasing the value of a variable by a specified amount. CORRECT ANSWER:
Incrementing
• Function to obtain the magnitude of an integer, removing the negative sign.
CORRECT ANSWER: Absolute value function