Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

WGU D278 Scripting and Programming Foundations OA & PA Practice Questions (100+ MCQs with Answers & Explanations) | 2025/2026 Exam Prep Guide

Rating
-
Sold
-
Pages
9
Grade
A+
Uploaded on
30-04-2026
Written in
2025/2026

This comprehensive study guide for WGU D278 Scripting and Programming Foundations provides over 100 carefully designed multiple-choice questions (MCQs) with correct answers and clear explanations. It is aligned with key course competencies including programming logic, variables, data types, control structures, functions, arrays.

Show more Read less
Institution
WGU D278
Course
WGU D278

Content preview

✅ WGU D278 Practice MCQs (100
Questions)

🔹 Basics of Programming (1–15)
1. What is a variable?
A. A fixed value
B. A storage location for data
C. A loop structure
D. A function
Answer: B – Stores data that can change.

2. Which is a valid variable name in Python?
A. 2name
B. user-name
C. user_name
D. user name
Answer: C

3. What does a compiler do?
A. Executes code line-by-line
B. Translates code to machine language
C. Stores variables
D. Deletes errors
Answer: B

4. Which is a programming language?
A. HTML
B. HTTP
C. Python
D. SQL Server
Answer: C

5. What is pseudocode used for?
A. Running programs
B. Designing logic in plain language
C. Debugging hardware
D. Encrypting data
Answer: B

, 6. What is an algorithm?
A. A bug
B. A step-by-step solution
C. A variable type
D. A compiler
Answer: B

7. What is debugging?
A. Writing code
B. Testing and fixing errors
C. Running code faster
D. Compiling programs
Answer: B

8. Which symbol is used for comments in Python?
A. //
B. <!-- -->
C. #
D. **
Answer: C

9. What is syntax?
A. Program speed
B. Rules of writing code
C. Memory storage
D. Output display
Answer: B

10. What happens if syntax is wrong?
A. Program runs slowly
B. Program crashes or errors
C. Output improves
D. Nothing
Answer: B

11. Which is NOT a programming language?
A. Java
B. Python
C. Excel
D. C++
Answer: C

12. What is an IDE?
A. Internet data engine
B. Integrated Development Environment
C. Input data editor

Written for

Institution
WGU D278
Course
WGU D278

Document information

Uploaded on
April 30, 2026
Number of pages
9
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$18.99
Get access to the full document:

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

Get to know the seller
Seller avatar
Lightjose98

Get to know the seller

Seller avatar
Lightjose98 Kenyatta university
View profile
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
3 months
Number of followers
0
Documents
60
Last sold
2 months ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

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