D 522 / D522 Final Exam (Latest Update 2025 / 2026) Python for IT Automation | Review Questions with Verified Answers | 100% Correct | Grade A - WGU
Question:
What is name binding?
Answer:
associating names with interpreter objects
Question:
What are the three properties each object has?
Answer:
value, type, and identity
- / 4
Question:
What is an immutable object?
Answer:
modification is limited to inside the function; any modification results in the creation of a new object in the function's local scope; integers and strings are immutable
Question:
What does the identity of an object tell you?
Answer:
it is a unique numeric identifier that normally refers to the memory address where the object is stored
Question:
What does e mean in scientific notation?
Answer:
x10 to the value of the next number
- / 4
Question:
What is the limit for a floating-point value?
Answer:
max of 1.8x10^308 min of 2.3x10^-308
Question:
What is an expression in Python?
Answer:
combination of variables, literals, operators, and parenthesis that evaluates to a value; just because it is an expression in algebra DOES NOT mean it is an expression in Python (for example, having both sides of the equation or having 2x without the * operator)
Question:
How do you find the absolute value in Python?
Answer:
abs( )
- / 4
Question:
How do you find the square root in Python?
Answer:
import math math.sqrt( )
Question:
How do you request input in Python?
Answer:
default is string variable = float(input()) variable = int(input())
Question:
What is a string literal?
Answer:
a string value specified in the source code; 'text' or "text"
- / 4