• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 44 pages
Exam (elaborations)

WGU E010 FOUNDATIONS OF PROGRAMMING (PYTHON) OBJECTIVE ASSESSMENT | OA V1 QUESTIONS AND CORRECT ANSWERS (VERIFIED ANSWERS) PLUS RATIONALES 2026 Q&A | INSTANT DOWNLOAD PDF.

Document preview thumbnail
Preview 4 out of 44 pages

WGU E010 FOUNDATIONS OF PROGRAMMING (PYTHON) OBJECTIVE ASSESSMENT | OA V1 QUESTIONS AND CORRECT ANSWERS (VERIFIED ANSWERS) PLUS RATIONALES 2026 Q&A | INSTANT DOWNLOAD PDF.

Content preview

WGU E010 FOUNDATIONS OF
PROGRAMMING (PYTHON)
OBJECTIVE ASSESSMENT | OA V1
QUESTIONS AND CORRECT ANSWERS
(VERIFIED ANSWERS) PLUS
RATIONALES 2026 Q&A | INSTANT
DOWNLOAD PDF.
Core Domains
1. Python Syntax, Variables, and Data Types
2. Operators, Expressions, and Input/Output
3. Control Flow, Conditionals, and Loops
4. Functions, Scope, and Modular Programming
5. Strings, Lists, Tuples, Dictionaries, and Sets
6. File Handling, Exceptions, and Debugging
7. Object-Oriented Programming and Classes
8. Algorithms, Recursion, and Problem Solving
9. Testing, Documentation, and PEP 8 Standards
10. Software Development, Ethics, and Security Basics
Introduction
This comprehensive assessment evaluates foundational
programming knowledge and practical Python skills
required for success in software development. It covers
syntax, data types, control flow, functions, collections,
file handling, exceptions, object-oriented programming,

,algorithms, testing, and professional standards.
Questions are designed as multiple-choice and scenario-
based items that require analysis, code tracing,
debugging, and decision-making. The examination
emphasizes real-world application, problem-solving,
ethical responsibility, and the ability to write clear,
correct, and maintainable Python code. Candidates must
demonstrate readiness to apply programming concepts
safely and effectively in academic and professional
environments.
SECTION ONE: QUESTIONS 1–100


1. What is the primary purpose of indentation in
Python?
A. It improves readability only
B. It defines code blocks
C. It declares variables
D. It marks comments
B. It defines code blocks

RATIONALE: Python uses indentation to delimit blocks
of code, such as those in functions, loops, and
conditionals. Incorrect indentation causes syntax errors
or changes program logic.


2. Which Python data type is immutable?

,A. list
B. dict
C. set
D. tuple
D. tuple

RATIONALE: Tuples cannot be changed after creation,
so they are immutable. Lists, dictionaries, and sets are
mutable and can be modified.


3. In Python 3, what is the output of type()?
A. <class 'float'>
B. <class 'int'>
C. <class 'double'>
D. <class 'decimal'>
A. <class 'float'>

RATIONALE: The division operator / always returns a
float in Python 3, even when both operands are integers.


4. Which operator is used for floor division in
Python?
A. /
B. **
C. //
D. %

, C. //

RATIONALE: The // operator performs floor division,
returning the largest integer less than or equal to the
result. The / operator returns a float.


5. What does len("Python") return?
A. 5
B. 6
C. 7
D. Error
B. 6

RATIONALE: The string "Python" contains six
characters, so len returns 6.


6. Which statement creates an empty list?
A. []
B. {}
C. ()
D. set()
A. []

RATIONALE: Square brackets [] create an empty list.
Curly braces {} create an empty dictionary, and
parentheses () create an empty tuple.

Document information

Uploaded on
September 27, 2026
Number of pages
44
Written in
2026/2027
Type
Exam (elaborations)
Contains
Unknown
$28.99

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

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.
Sold
198
Followers
6
Items
2362
Last sold
23 hours ago




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