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

WGU D278 SCRIPTING AND PROGRAMMING| PA |PRE-ASSESSMENT |EXAM QUESTIONS AND ANSWERS | LATEST UPDATE | FULLY SOLVED

Rating
-
Sold
-
Pages
40
Grade
A+
Uploaded on
01-02-2026
Written in
2025/2026

WGU D278 SCRIPTING AND PROGRAMMING| PA |PRE-ASSESSMENT |EXAM QUESTIONS AND ANSWERS | LATEST UPDATE | FULLY SOLVED












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

Document information

Uploaded on
February 1, 2026
Number of pages
40
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

WGU D278 SCRIPTING AND PROGRAMMING
|PA|PRE-ASSESSMENT EXAM QUESTIONS
AND ANSWERS


Correct
100%
Incorrect




of 70

Term



What is an advantage of using a programming library?



Give this one a try later!

, Don't know?




2 of 70

Term



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



Give this one a try later!



at least one integer is positive all integers are positive




all integers are negative at least one integer is negative


Don't know?




3 of 70

Term


Joe is building an online game. He wants to provide a riddle and
have the player guess the answer. The game needs to prompt the
user to enter the answer, check to see if it the input provided does

,not match the correct answer, and continue prompting the user
until the answer entered matches the correct answer.
Which control structure supports Joe’s needs?



Give this one a try later!



for loop if-else branch




while loop do-while loop


Don't know?




4 of 70

Term



A language substantially supports a programmer creating items
like person, teacher, and students. Each item has internal data and
some operations. Which characteristic describes that language?



Give this one a try later!



statically typed dynamically typed




object-oriented markup


Don't know?

, 5 of 70

Term



A programmer shows a program's first version to a customer.
Based on feedback, the programmer begins writing a second
version of the program. In which phase of an agile approach does
the writing of a second version of the program occur?



Give this one a try later!



analysis testing




implementation design


Don't know?




6 of 70

Term



A program uses the number of seconds in a minute in various
calculations. How should the item that holds the number of
seconds in a minute be declared?



Give this one a try later!



constant float userTime variable float userTime




variable integer secondsPerMinute

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.
millyphilip West Virginia University
View profile
Follow You need to be logged in order to follow users or courses
Sold
2838
Member since
3 year
Number of followers
1957
Documents
42022
Last sold
13 hours ago
white orchid store

EXCELLENCY IN ACCADEMIC MATERIALS ie exams, study guides, testbanks ,case, case study etc

3.7

540 reviews

5
234
4
86
3
103
2
31
1
86

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