• 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 92 pages
Exam (elaborations)

Wgu D278 Programming And Scripting Pa And Oa Exam Bank 2025/2026 | Accurate Real Exam With 600 Questions Testing Versions And A Study Guide | Expert Verified For Guaranteed Pass

Document preview thumbnail
Preview 4 out of 92 pages

WGU D278 PROGRAMMING AND SCRIPTING PA AND OA EXAM BANK 2025/2026 | ACCURATE REAL EXAM WITH 600 QUESTIONS TESTING VERSIONS AND A STUDY GUIDE | EXPERT VERIFIED FOR GUARANTEED PASS

Content preview

WGU D278 PROGRAMMING AND
SCRIPTING PA AND OA EXAM BANK
2025/2026 | ACCURATE REAL EXAM
WITH 600 QUESTIONS TESTING
VERSIONS AND A STUDY GUIDE |
EXPERT VERIFIED FOR GUARANTEED
PASS




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
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?


A Cats and dogs have tails.
B Insert key, turn key, open door.
C The forecast for tomorrow is rain.
D A box has balls, bats, and hats. - ....ANSWER...B


Which text represents an algorithm?


A Shake bulb; if it rattles, replace it.
B Water is wet; fire is not wet.
C Staring at the sun hurts the eyes.
D The max speed is 60 mph. - ....ANSWER...A

, An algorithm should output "OK" if a list's numbers are
all non-zero, else the output is "Not OK."


Which test is a valid test of the algorithm?


A Input 0, 0, 0. Ensure output is "OK."
B Input 5, 4, 0. Ensure output is "OK."
C Input -3, -2, 5. Ensure output is "Not OK."
D Input 99, 0, 5. Ensure output is "Not OK." -
....ANSWER...D


What is put to output by the following flowchart, if the
input is 17?


A Too young
B OK
C Too old
D Nothing is put to output. - ....ANSWER...B


What is put to output by the following flowchart, if the
input is 3 5 -1?

Document information

Uploaded on
June 30, 2025
Number of pages
92
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$24.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.
Charitywairimu
3.9
(306)
Sold
2223
Followers
1507
Items
4381
Last sold
1 week 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