WGU E010 OBJECTIVE ASSESSMENT FINAL
EXAM PRACTICE QUESTIONS 100+
QUESTIONS WITH CORRECT ANSWERS AND
DETAILED RATIONALES
SECTION 1: PYTHON FUNDAMENTALS & DATA TYPES
(Questions 1-25)
Q1. What is the output of print("Hello" + " " + "World")?
A) HelloWorld
B) Hello World
C) Hello+World
D) Error
Correct Answer: B
Rationale: The + operator concatenates strings. "Hello" + " " +
"World" combines to produce "Hello World" .
Q2. Which data type is 3.14 in Python?
,A) int
B) float
C) str
D) bool
Correct Answer: B
Rationale: Any number with a decimal point is a float
(floating-point number) in Python .
Q3. What is the output of type()?
A) <class 'int'>
B) <class 'float'>
C) <class 'double'>
D) <class 'number'>
Correct Answer: B
Rationale: The / operator always returns a float, even when
the result is a whole number. = 5.0 (float) .
Q4. Which is a valid variable name in Python?
A) 2cool
B) cool-variable
,C) _coolVariable
D) cool variable
Correct Answer: C
Rationale: Variables must start with a letter or underscore,
cannot start with a digit, and cannot contain spaces or
hyphens. _coolVariable is valid .
Q5. What is the output of print("Python"[2])?
A) P
B) y
C) t
D) h
Correct Answer: C
Rationale: Strings are zero-indexed. Index 2 is the third
character: "P"(0), "y"(1), "t"(2) .
Q6. What does len("Programming") return?
A) 10
B) 11
C) 12
D) 9
, Correct Answer: B
Rationale: len() counts the number of characters, including
letters. "Programming" has 11 characters .
Q7. What is the output of print(3 ** 3)?
A) 9
B) 27
C) 6
D) 12
Correct Answer: B
Rationale: ** is the exponentiation operator. 3 ** 3 = 3 × 3 × 3
= 27 .
Q8. What is the result of 15 % 4?
A) 3
B) 3.75
C) 4
D) 15
Correct Answer: A
Rationale: The modulo operator % returns the remainder of
division. 15 ÷ 4 = 3 remainder 3 .
EXAM PRACTICE QUESTIONS 100+
QUESTIONS WITH CORRECT ANSWERS AND
DETAILED RATIONALES
SECTION 1: PYTHON FUNDAMENTALS & DATA TYPES
(Questions 1-25)
Q1. What is the output of print("Hello" + " " + "World")?
A) HelloWorld
B) Hello World
C) Hello+World
D) Error
Correct Answer: B
Rationale: The + operator concatenates strings. "Hello" + " " +
"World" combines to produce "Hello World" .
Q2. Which data type is 3.14 in Python?
,A) int
B) float
C) str
D) bool
Correct Answer: B
Rationale: Any number with a decimal point is a float
(floating-point number) in Python .
Q3. What is the output of type()?
A) <class 'int'>
B) <class 'float'>
C) <class 'double'>
D) <class 'number'>
Correct Answer: B
Rationale: The / operator always returns a float, even when
the result is a whole number. = 5.0 (float) .
Q4. Which is a valid variable name in Python?
A) 2cool
B) cool-variable
,C) _coolVariable
D) cool variable
Correct Answer: C
Rationale: Variables must start with a letter or underscore,
cannot start with a digit, and cannot contain spaces or
hyphens. _coolVariable is valid .
Q5. What is the output of print("Python"[2])?
A) P
B) y
C) t
D) h
Correct Answer: C
Rationale: Strings are zero-indexed. Index 2 is the third
character: "P"(0), "y"(1), "t"(2) .
Q6. What does len("Programming") return?
A) 10
B) 11
C) 12
D) 9
, Correct Answer: B
Rationale: len() counts the number of characters, including
letters. "Programming" has 11 characters .
Q7. What is the output of print(3 ** 3)?
A) 9
B) 27
C) 6
D) 12
Correct Answer: B
Rationale: ** is the exponentiation operator. 3 ** 3 = 3 × 3 × 3
= 27 .
Q8. What is the result of 15 % 4?
A) 3
B) 3.75
C) 4
D) 15
Correct Answer: A
Rationale: The modulo operator % returns the remainder of
division. 15 ÷ 4 = 3 remainder 3 .