Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

WGU E010 OBJECTIVE ASSESSMENT FINAL AND PRACTICE QUESTIONS AND SOLUTIONS

Rating
-
Sold
-
Pages
29
Grade
A+
Uploaded on
26-06-2026
Written in
2025/2026

WGU E010 OBJECTIVE ASSESSMENT FINAL AND PRACTICE QUESTIONS AND SOLUTIONS

Institution
WGU
Course
WGU

Content preview

WGU E010 OBJECTIVE
ASSESSMENT FINAL AND
PRACTICE QUESTIONS AND
SOLUTIONS
WGU E010 – Complete 100-Question Sample Assessment (with Rationales)



Section 1: Python Basics (Q1–Q15)

Q1. What is the output of print("Hello" + " " + "World")?
A) HelloWorld
B) Hello World
C) Hello+World
D) Error

Rationale: The + operator concatenates strings. "Hello" + " " + "World" produces "Hello World".
Answer: B



Q2. Which data type is 3.14?
A) int
B) float
C) str
D) bool

Rationale: Any number with a decimal point is a float (floating-point number).
Answer: B



Q3. What is the output of type()?
A) <class 'int'>
B) <class 'float'>
C) <class 'double'>
D) <class 'number'>

Rationale: The / operator always returns a float, even when the result is a whole number. =
5.0 (float).
Answer: B

,Q4. Which is a valid variable name?
A) 2cool
B) cool-variable
C) _coolVariable
D) cool variable

Rationale: Variables must start with a letter or underscore, cannot start with a digit, and cannot contain
spaces or hyphens. _coolVariable is valid.
Answer: C



Q5. What is the output of print("Python"[2])?
A) P
B) y
C) t
D) h

Rationale: Strings are zero-indexed. Index 2 is the third character: "P"(0), "y"(1), "t"(2).
Answer: C



Q6. What does len("Programming") return?
A) 10
B) 11
C) 12
D) 9

Rationale: len() counts characters including letters. "Programming" has 11 characters.
Answer: B



Q7. What is the output of print(3 ** 3)?
A) 9
B) 27
C) 6
D) 12

Rationale: ** is exponentiation. 3 ** 3 = 3 × 3 × 3 = 27.
Answer: B



Q8. What is the result of 15 % 4?
A) 3
B) 3.75

, C) 4
D) 1

Rationale: Modulo returns remainder. 15 ÷ 4 = 3 remainder 3 (since 4×3=12, 15-12=3).
Answer: A



Q9. What does 17 // 5 return?
A) 3.4
B) 3
C) 4
D) 3.0

Rationale: Floor division (//) returns the integer quotient, discarding remainder. 17 ÷ 5 = 3.4, floor is 3.
Answer: B



Q10. What is the output of print(2 + 3 * 4)?
A) 20
B) 14
C) 24
D) 18

Rationale: Multiplication before addition: 3 * 4 = 12, then 2 + 12 = 14.
Answer: B



Q11. What does 10 != 10 return?
A) True
B) False
C) None
D) Error

Rationale: != means "not equal". 10 equals 10, so it returns False.
Answer: B



Q12. What is the Boolean value of bool(1)?
A) True
B) False
C) None
D) 1

Rationale: In Python, any non-zero number is True in a Boolean context. 1 is True.
Answer: A

Document information

Uploaded on
June 26, 2026
Number of pages
29
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$27.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
clementmuriithi

Get to know the seller

Seller avatar
clementmuriithi Chamberlian School of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
9 months
Number of followers
0
Documents
96
Last sold
1 month ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions