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 OA EXAM /ACTUAL WGU E010 OBJECTIVE ASSESSMENT FINAL SECTION 1: PYTHON PROGRAMMING & DATA TYPES

Rating
-
Sold
-
Pages
39
Uploaded on
10-06-2026
Written in
2025/2026

WGU E010 OA EXAM /ACTUAL WGU E010 OBJECTIVE ASSESSMENT FINAL SECTION 1: PYTHON PROGRAMMING & DATA TYPES

Institution
3x@m
Course
3x@m

Content preview

WGU E010 OA EXAM /ACTUAL WGU E010
OBJECTIVE ASSESSMENT FINAL



SECTION 1: PYTHON PROGRAMMING & DATA TYPES (Questions 1-30)

Q1. What is the output of print(type())?

• A) ``
• B) ``
• C) ``
• D) ``

Correct Answer: B

Rationale: In Python, the / operator always returns a float, even when the two
numbers divide evenly. evaluates to 5.0, which is a float .

Q2. Which of the following data types is immutable?

• A) list
• B) dict
• C) set
• D) tuple

Correct Answer: D

Rationale: Tuples cannot be changed after creation (immutable). Lists,
dictionaries, and sets are mutable and can be modified after creation .

Q3. What is the result of print(10 // 3)?

, • A) 3.333…
• B) 3
• C) 4
• D) 3.0

Correct Answer: B

Rationale: The // operator performs floor division (integer division). It returns the
quotient without the remainder, so 10 // 3 evaluates to 3 .

Q4. What is the output of print(2 ** 3)?

• A) 6
• B) 8
• C) 9
• D) 5

Correct Answer: B

Rationale: The ** operator is the exponentiation operator. 2 ** 3 means 2 raised
to the power of 3, which is 2 * 2 * 2 = 8 .

Q5. What does the input() function return?

• A) An integer
• B) A float
• C) A string
• D) A boolean

Correct Answer: C

Rationale: The built-in input() function reads a line from standard input and
returns it as a string .

Q6. Which of the following variable names is invalid?

, • A) _myVar
• B) 2ndValue
• C) myVar
• D) my_var

Correct Answer: B

Rationale: Variable names cannot start with a digit. 2ndValue begins with 2,
making it invalid. Underscores and letters are allowed as first characters .

Q7. What is the output of print("a" + "b" * 2)?

• A) ab
• B) abb
• C) bab
• D) Error

Correct Answer: B

Rationale: Multiplication (*) has higher precedence than addition (+). First, "b" is
repeated twice ("bb"), then concatenated with "a" .

Q8. Given x = "Hello", what does print(x[1]) output?

• A) H
• B) e
• C) l
• D) o

Correct Answer: B

Rationale: Strings are zero-indexed. Index 0 → 'H', index 1 → 'e' .

Q9. What is the output of print("Python"[2:5])?

• A) Pyt

, • B) tho
• C) yth
• D) hon

Correct Answer: B

Rationale: Slicing [2:5] takes characters from index 2 up to (but not including)
index 5. Indices: P0 y1 t2 h3 o4 n5 → slice "tho" .

Q10. What does print(x[-1]) output if x = [1, 2, 3]?

• A) 1
• B) 2
• C) 3
• D) Error

Correct Answer: C

Rationale: Negative indexing starts from the end of the sequence. -1 refers to the
last element, which is 3 .

Q11. What is the value of 10 % 3?

• A) 1
• B) 2
• C) 3
• D) 0

Correct Answer: A

Rationale: The % operator is the modulo operator, which returns the remainder of
division. 10 ÷ 3 = 3 with a remainder of 1 .

Q12. Which operator is used for exponentiation in Python?

• A) ^

Written for

Institution
3x@m
Course
3x@m

Document information

Uploaded on
June 10, 2026
Number of pages
39
Written in
2025/2026
Type
Exam (elaborations)
Contains
Unknown

Subjects

$24.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
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
lectsam Chamberlain College Of Nursing
Follow You need to be logged in order to follow users or courses
Sold
285
Member since
3 year
Number of followers
228
Documents
1885
Last sold
19 hours ago

3.6

79 reviews

5
39
4
10
3
7
2
5
1
18

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