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

WGU D278 FINAL EXAM PREP SCRIPTING AND PROGRAMMING - FOUNDATIONS: (LATEST 2026/2027 UPDATE), WITH CORRECT/ACCURATE ANSWERS

Rating
-
Sold
-
Pages
51
Grade
A+
Uploaded on
29-12-2025
Written in
2025/2026

WGU D278 FINAL EXAM PREP SCRIPTING AND PROGRAMMING - FOUNDATIONS: (LATEST 2026/2027 UPDATE), WITH CORRECT/ACCURATE ANSWERS

Institution
WGU D278
Course
WGU D278











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

Written for

Institution
WGU D278
Course
WGU D278

Document information

Uploaded on
December 29, 2025
Number of pages
51
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

WGU D278 FINAL EXAM PREP SCRIPTING
AND PROGRAMMING - FOUNDATIONS:
(LATEST 2026/2027 UPDATE), WITH
CORRECT/ACCURATE ANSWERS


WGU D278 FINAL EXAM PREP SCRIPTING
AND PROGRAMMING - FOUNDATIONS

Each question includes:

 Multiple-choice options
 Clearly marked correct answer
 Deep rationale (3–5 sentences)

WGU D278 – Scripting and Programming
Foundations




Question 1
What are two primary purposes of using a programming library? (Choose two.)

A. To eliminate the need for debugging
B. To improve developer productivity
C. To add functionality focused on a specific purpose
D. To replace the operating system

✅ Correct Answers: B, C

Rationale:
Programming libraries provide prewritten, reusable code that allows developers to
complete tasks faster, improving productivity. They also add functionality tailored to
specific needs such as math operations, graphics, or database access. Libraries reduce

,the need to reinvent solutions for common problems. This results in cleaner, more
maintainable code.




Question 2
Which type of programming language generally executes faster?

A. Interpreted
B. Scripting
C. Compiled
D. Markup

✅ Correct Answer: C

Rationale:
Compiled languages are translated into machine code before execution, allowing them
to run directly on hardware. This removes the overhead of interpreting code at
runtime. As a result, compiled programs typically perform faster than interpreted
ones. Examples include C and C++.




Question 3
Which type of programming language is not written for a specific type of
machine?

A. Assembly
B. Compiled
C. Interpreted
D. Machine

✅ Correct Answer: C

,Rationale:
Interpreted languages are designed to be platform-independent, meaning they are not
tied to a specific hardware architecture. They rely on an interpreter to translate code
at runtime. This allows the same program to run on multiple systems. Python and
JavaScript are common examples.




Question 4
Which of the following programming languages are compiled? (Choose all that apply.)

A. Python
B. C
C. C++
D. Java
E. JavaScript
F. C#

✅ Correct Answers: B, C, D, F

Rationale:
Compiled languages convert source code into machine code or intermediate bytecode
before execution. C and C++ compile directly to machine code. Java and C# compile
into bytecode that runs on a virtual machine. This compilation step improves
performance and error detection.




Question 5
Which of the following languages support object-oriented programming
principles? (Choose all that apply.)

A. Python
B. JavaScript
C. C#
D. MATLAB

, E. C++
F. Java

✅ Correct Answers: A, B, C, D, E, F

Rationale:
All listed languages support object-oriented concepts such as encapsulation,
inheritance, and polymorphism. Some languages, like Java and C#, are purely object-
oriented. Others, such as Python and JavaScript, support multiple paradigms including
object-oriented programming. This flexibility makes them widely used.




Question 6
Which type of language does not allow a variable’s data type to change during
program execution?

A. Dynamically typed
B. Interpreted
C. Statically typed
D. Scripted

✅ Correct Answer: C

Rationale:
Statically typed languages require variables to have a fixed data type defined at
compile time. Once assigned, the type cannot change while the program runs. This
helps catch errors early and improves code reliability. Examples include Java and C++.




Question 7
Which type of programming language is generally considered easier for beginners to
use?

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.
Elitaa Chamberlain university
View profile
Follow You need to be logged in order to follow users or courses
Sold
168
Member since
1 year
Number of followers
25
Documents
7086
Last sold
1 week ago
100% VALID NURSING 507 ADVANCED PATHOPHYSIOLOGY EXAMS 2025/2026 GRADED A+ RATED, AND HIGHLY RECOMMENDED FROM CHAMBERLAIN UNIVERSITY & OTHERS eg BSN246 HESI, BIOS 256, TFM08, WGU D027 AND WGU D236 PATHO etc.... AND DON'T BE A CHALLENGE TO BE CHALLENG

We have just re-established our shop, my aim is to elevate and guide students academically with actual guides and exams 100% verified.Incase you dont find the exam that you are looking for,feel free to inbox me and request any exam.My prices are never fixed,always negotiable , WELCOME ,LETS BEGIN.

3.6

25 reviews

5
10
4
5
3
5
2
1
1
4

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