• 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 Guide Questions With Verified Answers 2026/2027

Document preview thumbnail
Preview 3 out of 23 pages

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

Content preview

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


1. Which flowchart symbol is used to represent a decision-making process where a condition

is evaluated?

A. Diamond


B. Rectangle


C. Parallelogram


D. Oval


Answer: A


Conceptual Explanation: In flowcharting, a diamond represents a decision point where a

boolean condition is tested, leading to different paths.


2. What is the value of the expression 15 % 4 in most programming languages?

A. 3.75


B. 3


C. 1


D. 0

,Answer: B


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

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


3. Which of the following is a primary characteristic of a ‘while’ loop compared to a ‘for’ loop?

A. It always executes at least once.


B. It is only used for iterating through arrays.


C. It automatically increments a counter variable.


D. It is generally used when the number of iterations is unknown.


Answer: D


Conceptual Explanation: While loops are condition-controlled and used when the number

of iterations is not predetermined, whereas for loops are typically count-controlled.


4. In Object-Oriented Programming, what is a ‘class’?

A. An instance of an object in memory.


B. A specific function that returns a value.


C. A variable that stores multiple data types.


D. A blueprint or template for creating objects.


Answer: D

, Conceptual Explanation: A class defines the attributes and behaviors that the objects

created from it will possess; it acts as a blueprint.


5. Which phase of the Software Development Life Cycle (SDLC) involves fixing bugs and

updating the software?

A. Design


B. Implementation


C. Analysis


D. Maintenance


Answer: D


Conceptual Explanation: The maintenance phase is the final stage of the SDLC where

software is monitored, bugs are fixed, and updates are provided.


6. What is the result of the logical expression: (True AND False) OR (True)?

A. Undefined


B. False


C. Null


D. True


Answer: D


Conceptual Explanation: (True AND False) evaluates to False. Then, (False OR True)

evaluates to True because only one side needs to be true in an OR operation.

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