• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 4 fuera de 78 páginas
Examen

D278 Scripting and Programming Foundations Study Guide Bundle – Complete Exam Prep

Document preview thumbnail
Vista previa 4 fuera de 78 páginas

Master your upcoming assessment with this comprehensive D278 Scripting and Programming Foundations Study Guide Bundle, designed to simplify core coding logic and foundational concepts. This all-in-one preparation resource features detailed breakdowns of pseudo-code, algorithms, control structures, and essential programming terminology. Gain the confidence and critical problem-solving skills required to ace your exam on the first attempt.

Vista previa del contenido

WGU D278 Scripting and Programming
Foundations Ultimate Study Guide Bundle
| Comprehensive Exam Prep, Practice
Questions, & Core Concepts Master Class


1. What is a script in the context of programming?
A) A compiled executable file
B) A set of instructions for a runtime environment to automate tasks
C) A hardware description language
D) A type of database query

Answer: B) A set of instructions for a runtime environment to
automate tasks
Rationale: A script is typically an interpreted program, a series of commands
that a runtime environment (like a shell or a browser) executes to automate
tasks, rather than being compiled into a standalone executable.

2. Which of the following is a key characteristic of a scripting
language?
A) It requires a separate compilation step before execution.
B) It is primarily used for writing operating system kernels.
C) It is often interpreted, allowing for rapid prototyping.
D) It is directly executed by the CPU without an interpreter.

Answer: C) It is often interpreted, allowing for rapid prototyping.
Rationale: Scripting languages are generally interpreted, meaning an

,interpreter reads and executes the code line by line. This allows for a faster
development cycle as there is no need for a separate compilation step,
making them ideal for rapid prototyping.

3. Which of these is an example of a high-level programming
language?
A) Assembly Language
B) Machine Code
C) Python
D) Microcode

Answer: C) Python
Rationale: High-level languages like Python, Java, and C++ are designed to
be human-readable and are abstracted from the computer's hardware.
Assembly, machine code, and microcode are all considered low-level.

4. What is the primary role of an interpreter in a scripting language?
A) To convert high-level code into machine code and save it as an
executable file.
B) To read and execute code line by line at runtime.
C) To link libraries together to create a final program.
D) To analyze code for syntax errors and produce an object file.

Answer: B) To read and execute code line by line at runtime.
Rationale: An interpreter translates and executes source code one statement
at a time, without creating a permanent machine-code file. This is in contrast
to a compiler, which translates the entire program at once.

5. Which of the following best describes the difference between a
compiled language and a scripting language?
A) Compiled languages are always more secure.
B) Scripting languages do not require a compiler.

,C) Compiled languages are interpreted at runtime.
D) Scripting languages are always object-oriented.

Answer: B) Scripting languages do not require a compiler.
Rationale: While not a perfect distinction, a defining characteristic is that
compiled languages (like C++) require a compilation step to create an
executable, whereas scripting languages (like Python or JavaScript) are
typically executed directly by an interpreter without a separate compilation
step.

6. What is the purpose of a 'shebang' line (e.g., #!/bin/bash) at the
top of a script?
A) To declare variables
B) To specify the script's author
C) To tell the operating system which interpreter to use to execute the
script
D) To import external libraries

Answer: C) To tell the operating system which interpreter to use to
execute the script
Rationale: The shebang is a special line that begins with #!. When a script is
executed directly on a Unix-like system, the shebang tells the OS which
interpreter (e.g., /bin/bash, /usr/bin/python) should be used to run the
file's contents.

7. In programming, what does the term "abstraction" refer to?
A) The process of converting code to a different language.
B) The delay in program execution.
C) Hiding complex implementation details and showing only essential
features.
D) The physical components of a computer.

, Answer: C) Hiding complex implementation details and showing only
essential features.
Rationale: Abstraction is a fundamental concept in computer science where
complex, low-level details are hidden behind a simpler, higher-level interface.
This allows programmers to work with concepts like functions or objects
without needing to know their internal workings.

8. Which of the following is NOT a typical use case for a scripting
language?
A) Automating system administration tasks.
B) Developing a high-performance 3D game engine.
C) Building interactive front-end web applications.
D) Performing data analysis and visualization.

Answer: B) Developing a high-performance 3D game engine.
Rationale: While possible, scripting languages are generally not used for
performance-critical applications like 3D game engines, which are typically
built with lower-level languages like C++ for maximum efficiency and control
over hardware resources.

9. What is source code?
A) The binary executable file of a program.
B) The original, human-readable text of a program written in a
programming language.
C) The output of a program.
D) The memory dump of a running program.

Answer: B) The original, human-readable text of a program written in
a programming language.
Rationale: Source code is the collection of instructions written by a
programmer in a high-level language. It is the "source" from which the final
executable program is created by a compiler or interpreter.

Información del documento

Subido en
8 de noviembre de 2026
Número de páginas
78
Escrito en
2026/2027
Tipo
Examen
Contiene
Preguntas y respuestas
$24.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
DocOlivetarah
3.8
(4)
Vendido
20
Seguidores
0
Artículos
1581
Última venta
1 día hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes