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 FOUNDATIONS OF PROGRAMMING (PYTHON) EXAM QUESTIONS AND ANSWERS

Rating
-
Sold
-
Pages
67
Grade
A+
Uploaded on
14-04-2026
Written in
2025/2026

WGU E010 FOUNDATIONS OF PROGRAMMING (PYTHON) EXAM QUESTIONS AND ANSWERS

Institution
WGU E010 FOUNDATIONS OF PROGRAMMING
Course
WGU E010 FOUNDATIONS OF PROGRAMMING

Content preview

WGU E010 LATEST
FOUNDATIONS OF
PROGRAMMING
(PYTHON) EXAM
1. What is the correct way to print text in Python?


A. echo("Hello")
B. print("Hello")
C. display("Hello")
D. write("Hello")


Correct Answer: B
Rationale: The built-in print() function outputs text to the console.


2. Which data type is used to store text?


A. int
B. float
C. str
D. bool
END OF
PAGE
1

, WGU E010 LATEST
FOUNDATIONS OF
PROGRAMMING
(PYTHON) EXAM

Correct Answer: C
Rationale: Strings (str) represent sequences of characters.


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


A. 5
B. "23"
C. Error
D. None


Correct Answer: A
Rationale: Python performs arithmetic addition on integers.


4. Which symbol is used for comments in Python?


END OF
PAGE
2

, WGU E010 LATEST
FOUNDATIONS OF
PROGRAMMING
(PYTHON) EXAM
A. //
B. #
C. /* */
D. --


Correct Answer: B
Rationale: # starts a single-line comment.


5. What is the result of type(10)?


A. str
B. int
C. float
D. bool


Correct Answer: B
END OF
PAGE
3

, WGU E010 LATEST
FOUNDATIONS OF
PROGRAMMING
(PYTHON) EXAM
Rationale: 10 is an integer.


6. Which of the following is a valid variable name?


A. 1name
B. name_1
C. name-1
D. name 1


Correct Answer: B
Rationale: Variable names cannot start with numbers or include
spaces/hyphens.


7. What is the output of print("Hi" * 3)?


A. HiHiHi

END OF
PAGE
4

Written for

Institution
WGU E010 FOUNDATIONS OF PROGRAMMING
Course
WGU E010 FOUNDATIONS OF PROGRAMMING

Document information

Uploaded on
April 14, 2026
Number of pages
67
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$18.89
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


Also available in package deal

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.
Teacher101 Teachme2-tutor
Follow You need to be logged in order to follow users or courses
Sold
462
Member since
2 year
Number of followers
73
Documents
10383
Last sold
1 day ago

Quality is my middle name.....100% ...my policy is to create and nurture people of quality by continuous education and training.....i guaranteed good grades 100% Feel free to get in touch through inbox...anything regarding help or issue with the exams posted... Finally after purchase please leave a good rating if satisfied with my work.... All the best as we continue working to improve ourselves through education

4.6

273 reviews

5
222
4
15
3
25
2
3
1
8

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