100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

WGU D278 Pre-Assessment for Scripting and Programming - Foundations includes accurate and verified questions covering Python fundamentals, control structures (if/else, loops), functions, data types, input/output operations, basic debugging, and probl

Rating
-
Sold
-
Pages
28
Grade
A+
Uploaded on
16-06-2025
Written in
2024/2025

Which data type is used for items that are measured in length? A Integer B Float C String D Boolean - ANSWER-B

Institution
WGU D278 Pre-Assessment For Scripting And Program
Course
WGU D278 Pre-Assessment for Scripting and Program










Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
WGU D278 Pre-Assessment for Scripting and Program
Course
WGU D278 Pre-Assessment for Scripting and Program

Document information

Uploaded on
June 16, 2025
Number of pages
28
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

WGU D278 Pre-Assessment for Scripting and
Programming - Foundations includes accurate and
verified questions covering Python fundamentals,
control structures (if/else, loops), functions, data types,
input/output operations, basic debugging, and
problem-solving logic. Designed to evaluate readiness
for the D278 Objective Assessment in WGU’s IT and
computer science programs.



Which data type is used for items that are measured in length?
A Integer
B Float
C String
D Boolean - ANSWER-B


Which data type should be used to keep track of how many planes are in
a hangar?
A Integer
B Float
C String
D Boolean - ANSWER-A


Page 1 of 28

,A function should convert hours and minutes to seconds, such as
converting 1 hour and 10 minutes to 4,200 seconds.


What should be the input to the function?
A Hours only
B Minutes only
C Hours and minutes
D Hours, minutes, and seconds - ANSWER-C


A function returns a number x cubed. For example, if x is 3, the function
returns 3 * 3 * 3, or 27.


What should be the input to the function?
Ax
B x, x
C x, x, x
D 27 - ANSWER-A


A function calculates the weight difference (Diff) given two sample
weights (S1 and S2).


What should be the output from the function?
A S1 only
Page 2 of 28

, B S2 only
C S1 and S2
D Diff - ANSWER-D


function P(integer x) returns integer y
y=2*x


What does P(5) evaluate to?
A2
B5
C 10
D 25 - ANSWER-C


Function F()
Put "Hey" to output


What entire output appears after three successive calls to F()?
A Hey
B HHHey
C HeyHeyHey
D Hey Hey Hey - ANSWER-C



Page 3 of 28

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.
johnkabiru Chamberlain College Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
3251
Member since
3 year
Number of followers
2651
Documents
6479
Last sold
1 day ago
TopGrade Tutoring: Expert Psychology, Nursing, HR & Math Resources

Welcome to my academic support store, your trusted destination for top-tier homework help and tutoring services! Specializing in key subjects like Psychology, Nursing, Human Resource Management, and Mathematics, I’m dedicated to helping students excel with high-quality, meticulously crafted resources. My mission is to deliver scholarly, reliable content that guarantees excellent grades, earning me a reputation as one of Stuvia’s BEST GOLD RATED TUTORS. Whether you need assistance with quizzes, exams, or detailed study materials, I prioritize your success with a commitment to academic excellence and results you can count on.

Read more Read less
3.7

555 reviews

5
225
4
115
3
119
2
24
1
72

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

Frequently asked questions