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

Document preview thumbnail
Preview 3 out of 23 pages

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

Content preview

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


1. Which term describes a step-by-step procedure for solving a problem or accomplishing a

task?

A. Function


B. Variable


C. Compiler


D. Algorithm


Answer: D


Conceptual Explanation: An algorithm is a specific set of instructions or a step-by-step

process used to perform a calculation or solve a problem.


2. In a flowchart, which shape is typically used to represent a decision point?

A. Rectangle


B. Oval


C. Diamond


D. Parallelogram

,Answer: C


Conceptual Explanation: A diamond represents a decision (like an if-then-else condition),

while rectangles are for processes and parallelograms are for input/output.


3. Which phase of the Software Development Life Cycle (SDLC) involves defining the

hardware and software architecture?

A. Analysis


B. Testing


C. Implementation


D. Design


Answer: D


Conceptual Explanation: The Design phase focuses on how the system will work,

including architecture, data models, and interface design.


4. What is the primary difference between a compiler and an interpreter?

A. A compiler executes code line by line, while an interpreter translates the whole program

at once.


B. An interpreter is only used for low-level languages, while a compiler is for high-level.


C. There is no difference; the terms are synonymous.


D. A compiler translates the entire source code into machine code before execution, while

an interpreter translates and executes it line by line.

, Answer: D


Conceptual Explanation: Compilers convert the whole script into an executable file,

whereas interpreters translate the code on the fly during runtime.


5. Which of the following is a characteristic of a high-level programming language?

A. It is written in binary (0s and 1s).


B. It interacts directly with the computer’s CPU registers without abstraction.


C. It does not require a compiler or interpreter.


D. It is easily understood by humans and uses English-like keywords.


Answer: D


Conceptual Explanation: High-level languages like Python or Java are designed to be

human-readable, abstracting away the complex hardware details.


6. Which data type would be most appropriate for storing the value 3.14?

A. Integer


B. Boolean


C. Floating-point


D. String


Answer: C

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