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 D278 OA Objective Assessment Exam Questions and Answers 2026 Update 100% Correct updated

Rating
-
Sold
-
Pages
33
Grade
A+
Uploaded on
05-03-2026
Written in
2025/2026

WGU D278 OA Objective Assessment Exam Questions and Answers 2026 Update 100% Correct updated

Institution
WGU D278 OA Objective Assessment
Course
WGU D278 OA Objective Assessment

Content preview

WGU D278 OA Objective Assessment Exam Questions and
Answers 2026 Update 100% Correct updated




What is the loop variable initialization in the following pseudocode?
y = 0 s = 100.0 while y < 10 s = s + (s * 5.0) y = y + 1
Ay=0
By=y+1
C s = 100.0
D s = s + ( s * 5.0)



1
Smart Study HQ

, - ANSWER: A




Order the steps needed to output the minimum of x and y from first (1) to last (4).
Select your answers from the pull-down list.
A Declare variable min
B Put min to output
C min = x
D If y < min, set min = y
- ANSWER: ACDB




Order the steps needed to calculate speed in miles per hour given a start and end
location and time traveled in hours from first (1) to last (4).
Select your answers from the pull-down list. A
Put speedMph to output
B Declare variables distMiles and speedMph
C distMiles = endLocation – startLocation
D speedMph = distMiles / timeHours
- ANSWER: BCDA



2
Smart Study HQ

, Order the tasks needed to create a pyramid (large on bottom, small on top) on a
table from first (1) to last (4).
Select your answers from the pull-down list.
A Place largest shape.
B Clear table.
C Place smallest shape.
D Place middle-sized shape.
- ANSWER: BADC




What does the following algorithm determine? if x == y
z = 1 else z = 0
A Whether x and y are the same
B Whether x and y are negative
C Whether x is 1
D Whether x is 0
- ANSWER: A


What does the following algorithm accomplish?
x = Get next input if x == -1
Put "Goodbye" to output
A Outputs -1 when user types any input
B Outputs "x" when user types -1
C Outputs -1 when x is positive


3
Smart Study HQ

, D Outputs Goodbye when user types -1
- ANSWER: D


What does an output of 1 indicate for the following algorithm running on a five-
element list of integers?
i = 0 x = 0 while
i<5
if list[i] < 0 x = 1 i
=i+1
Put x to output
A All integers are positive.
B All integers are negative.
C At least one integer is negative.
D At least one integer is positive.
- ANSWER: C


When should a programmer develop an algorithm to solve a problem?
A Before knowing the problem.
B Before writing a program to solve the problem.
C While writing a program to solve the problem. D After writing a program to
solve the problem .
- ANSWER: B




Which text represents an algorithm?


4

Smart Study HQ

Written for

Institution
WGU D278 OA Objective Assessment
Course
WGU D278 OA Objective Assessment

Document information

Uploaded on
March 5, 2026
Number of pages
33
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$30.49
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.
Chareiezekiel Chamberlain College Of Nursing
Follow You need to be logged in order to follow users or courses
Sold
100
Member since
2 year
Number of followers
22
Documents
3035
Last sold
3 weeks ago

✅ Trusted by Top Nursing Students Nationwide My mission is to be your LIGHT in the dark. If you're worried or having trouble in nursing school, I really want my notes to be your guide! I know they have helped countless others get through and that's all I want for YOU! Stay with me and you will find everything you need to study and pass any tests, quizzes and exams!

4.9

996 reviews

5
947
4
19
3
18
2
3
1
9

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