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 - SCRIPTING AND PROGRAMMING FOUNDATIONS - D278 MOST TESTED QUESTIONS AND ANSWERS GRADED A+ WITH RATIONALES

Rating
-
Sold
-
Pages
12
Grade
A
Uploaded on
09-06-2025
Written in
2024/2025

WGU - SCRIPTING AND PROGRAMMING FOUNDATIONS - D278 MOST TESTED QUESTIONS AND ANSWERS GRADED A+ WITH RATIONALES

Institution
WGU - SCRIPTING AND PROGRAMMING FOUNDATIONS - D278
Course
WGU - SCRIPTING AND PROGRAMMING FOUNDATIONS - D278

Content preview

ESTUDYR



WGU - SCRIPTING AND PROGRAMMING FOUNDATIONS
- D278 MOST TESTED QUESTIONS AND ANSWERS
GRADED A+ WITH RATIONALES
1. What is the first step a programmer takes to use an existing library in their code?
a. Compile the library
b. Download the source code
c. Include or import the library
d. Write wrapper functions
Rationale: Including/importing makes the library’s functions available to your program.

2. Library functions typically share which common relationship?
a. Same return type
b. Same author
c. Related functionality or purpose
d. Identical performance profiles
Rationale: A library groups functions around a cohesive theme (e.g., string processing).

3. What is a key advantage of using a well-tested programming library?
a. Smaller executable size
b. Faster compile times
c. Reliability due to prior testing
d. Fewer external dependencies
Rationale: Libraries have been used and debugged, reducing your risk of new bugs.

4. Which language is dynamically typed?
a. Java
b. C++
c. Python
d. C#
Rationale: Python determines variable types at runtime rather than compile time.

5. Which language is not primarily built on object-oriented principles?
a. Java
b. C#
c. C
d. Swift
Rationale: C is a procedural language without built-in class/object constructs.

6. A language that lets you define “Person,” “Teacher,” and “Student” as items each with data
and operations is described as:

, ESTUDYR


a. Functional
b. Procedural
c. Object-oriented
d. Markup
Rationale: Object-oriented languages bundle data and methods into classes/objects.

7. To get a compiler to flag x = "hello"; when x was declared as int x;, you need a language that
is:
a. Dynamically typed
b. Statically typed
c. Weakly typed
d. Markup
Rationale: Statically typed languages enforce type rules at compile time.

8. A language using tags (e.g., <title>) to indicate formatting is called a:
a. Scripting language
b. Programming language
c. Markup language
d. Query language
Rationale: Markup languages annotate text with tags for structure/formatting.

9. A characteristic of a compiled language is that it:
a. Runs on any machine without modification
b. Interprets code line by line
c. Translates source to machine code before execution
d. Embeds in HTML
Rationale: Compilation produces native binaries for direct execution by the OS.

10. A characteristic of an interpreted language is that it:
a. Requires a separate compilation step
b. Outputs an executable file
c. Can run on multiple platforms without recompiling
d. Cannot use variables
Rationale: Interpreters read and execute source code directly, allowing portability.

11. An advantage of interpreted programs is:
a. Faster execution speed
b. Smaller memory footprint
c. Ability to modify code at runtime
d. Guaranteed type safety
Rationale: Many interpreters support REPLs or hot-reload for dynamic changes.

12. Which operator should you use to compute miles per gallon from miles and gallons?
a. + (addition)

Written for

Institution
WGU - SCRIPTING AND PROGRAMMING FOUNDATIONS - D278
Course
WGU - SCRIPTING AND PROGRAMMING FOUNDATIONS - D278

Document information

Uploaded on
June 9, 2025
Number of pages
12
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$18.49
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


Also available in package deal

Thumbnail
Package deal
WGU D278 CRIPTING AND PROGRAMMING FOUNDATIONS PACKAGE DEAL
-
3 2025
$ 25.99 More info

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.
Estudyr Howard Community College
View profile
Follow You need to be logged in order to follow users or courses
Sold
1218
Member since
4 year
Number of followers
830
Documents
11204
Last sold
1 week ago
Welcome to Estudyr.

I provide nursing study resources, practice questions, rationales, summaries, NCLEX-style materials, HESI-style practice content, and revision guides designed to support exam preparation and topic understanding. All materials are prepared from study experience, topic review, and structured learning support. Feel free to message me if you have questions about a document before purchasing.

3.8

222 reviews

5
108
4
43
3
28
2
12
1
31

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