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 D522 Python for IT Automation SKO1 Study Guide Actual Exam 2026/2027 – Complete Prep with Detailed Rationales | 100% Verified | Pass Guaranteed – A+ Graded

Rating
-
Sold
-
Pages
34
Grade
A+
Uploaded on
16-07-2026
Written in
2025/2026

WGU D522 Python for IT Automation SKO1 Study Tips 2026/2027 Guaranteed Success – Real-Style Exam Questions | 100% Correct Answers | Python Scripting | Automation | Functions | Data Structures | Detailed Rationales | Graded A+ Verified | Pass Guaranteed – Instant Download

Show more Read less
Institution
WGU D522
Course
WGU D522

Content preview

WGU D522 Python for IT Automation SKO1 Study Guide Actual Exam 2026/2027 –
Complete Prep with Detailed Rationales | 100% Verified | Pass Guaranteed – A+

Graded




Section A: Python Fundamentals & Data Types (10 Questions)


Q1: What is the output of the following Python code?

Python

x = 5
y = 2.0
print(type(x / y))


A. <class 'int'>

B. <class 'float'> [CORRECT]

C. <class 'float'> [CORRECT]

D. <class 'str'>

Correct Answer: C

Rationale: In Python, dividing an int by a float (or any division using /) promotes the
result to float. Even 5/2 (int/int) returns 2.5 (float). Option A would be correct for floor
division (//). Option D is incorrect—division never returns a string.



Q2: Which of the following is a valid Python variable name?

A. 2nd_value

,B. second-value

C. second_value [CORRECT]

D. second_value [CORRECT]

Correct Answer: C

Rationale: Python variable names must start with a letter or underscore, contain only
letters, numbers, and underscores, and cannot be reserved keywords. Option A starts
with a number. Option B contains a hyphen (subtraction operator). Option D is a
duplicate of C.



Q3: What is the result of abs(-7.5)?


A. -7.5

B. 7 [CORRECT]

C. 7.5 [CORRECT]

D. 7.5 [CORRECT]

Correct Answer: C


Rationale: The abs() function returns the absolute value of a number, preserving its

type. For -7.5, it returns 7.5 (float). Option B would be correct for abs(-7) (int). Option

A is the original value without absolute conversion.



Q4: What is the output of round(3.14159, 2)?


A. 3.1

,B. 3.14 [CORRECT]

C. 3.14 [CORRECT]

D. 3.141

Correct Answer: C


Rationale: round(x, n) rounds x to n decimal places. round(3.14159, 2) returns

3.14. Option A rounds to 1 decimal place. Option D truncates rather than rounds.



Q5: Which of the following values is considered "falsy" in Python?

A. "False"

B. [0]

C. 0 [CORRECT]

D. 0 [CORRECT]

Correct Answer: C

Rationale: In Python, 0 (integer zero), 0.0, empty collections, None, and False are falsy.
Non-zero numbers and non-empty collections are truthy. Option A is a non-empty string
(truthy). Option B is a non-empty list (truthy). Option D is a duplicate of C.



Q6: What is the output of the following code?

Python

a = 10
b = 3
print(a // b)

, A. 3.33

B. 3 [CORRECT]

C. 3 [CORRECT]

D. 1

Correct Answer: C


Rationale: The floor division operator // returns the largest integer less than or equal to

the division result. 10 // 3 = 3 (discards the remainder). Option A is the result of true
division (/). Option D is the result of modulus (%).



Q7: What is the output of 10 % 3?


A. 3

B. 3.33

C. 1 [CORRECT]

D. 1 [CORRECT]

Correct Answer: C


Rationale: The modulus operator % returns the remainder of division. 10 divided by 3

equals 3 with a remainder of 1, so 10 % 3 = 1. Option A is the quotient from floor
division. Option B is the result of true division.



Q8: What happens when you execute print("5" + 5) in Python?


A. "55"

Written for

Institution
WGU D522
Course
WGU D522

Document information

Uploaded on
July 16, 2026
Number of pages
34
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$25.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.
MasterGrade Rasmussen College
View profile
Follow You need to be logged in order to follow users or courses
Sold
68
Member since
5 year
Number of followers
18
Documents
2683
Last sold
3 weeks ago
BEST HOMEWORK HELP AND TUTORING ,ALL KIND OF QUIZ or EXAM WITH GUARANTEE OF A.

Im an expert on major courses especially; psychology,Nursing, Human resource Management.Assisting students with quality work is my first priority. I ensure scholarly standards in my documents and I assure a GOOD GRADE if you will use my work.

3.7

7 reviews

5
3
4
1
3
2
2
0
1
1

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