• 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
Start selling Create your account
Document preview thumbnail
Preview 3 out of 23 pages
Exam (elaborations)

Wgu D278 Scripting And Programming - Foundations Final Exam Prep Questions With Verified Answers 2026/2027

Document preview thumbnail
Preview 3 out of 23 pages

Wgu D278 Scripting And Programming - Foundations Final Exam Prep Questions With Verified Answers 2026/2027

Content preview

WGU D278 SCRIPTING AND
PROGRAMMING - FOUNDATIONS
FINAL EXAM PREP QUESTIONS WITH
VERIFIED ANSWERS 2026/2027


1. Which phase of the Software Development Life Cycle (SDLC) focuses on determining the

specific features and functions the final product must have based on stakeholder needs?

A. Analysis


B. Implementation


C. Design


D. Maintenance


Answer: A


Conceptual Explanation: The Analysis phase involves gathering requirements from

stakeholders to define the system’s goals and functional requirements.


2. In programming logic, which operator will result in true only if both operands are true?

A. OR


B. NOT


C. AND


D. XOR

,Answer: C


Conceptual Explanation: The AND operator requires both inputs to be true for the output

to be true.


3. Which data type is most appropriate for a variable storing the price of a retail item, such as

19.99?

A. Integer


B. Boolean


C. String


D. Float


Answer: D


Conceptual Explanation: Floating-point (Float) data types are used for numbers that

require decimal precision.


4. A programmer discovers that their code runs but produces the wrong mathematical result.

Which type of error is this?

A. Syntax Error


B. Logic Error


C. Runtime Error


D. Compilation Error


Answer: B

, Conceptual Explanation: Logic errors occur when the program runs without crashing but

produces incorrect output due to flawed reasoning.


5. In a flowchart, what does a diamond shape represent?

A. Start/End


B. Process/Task


C. Decision


D. Input/Output


Answer: C


Conceptual Explanation: The diamond shape is the standard flowchart symbol for a

decision point, usually resulting in a Yes/No or True/False branch.


6. What is the value of the expression (15 % 4)?

A. 1


B. 3


C. 0


D. 4


Answer: B


Conceptual Explanation: The modulo operator (%) returns the remainder of a division.

15 divided by 4 is 3 with a remainder of 3.

Document information

Uploaded on
October 15, 2026
Number of pages
23
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
£12.34

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.
Fyndlay
3.6
(79)
Sold
444
Followers
82
Items
22336
Last sold
1 day ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed 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