WGU D278 CERTIFICATION SCRIPT 2026 QUESTIONS WITH SOLUTIONS GRADED A+, Exams of Programming Methodologies

WGU D278 CERTIFICATION SCRIPT 2026 QUESTIONS WITH SOLUTIONS GRADED A+

Typology: Exams

2025/2026

Available from 04/03/2026

HighMark_Prep
HighMark_Prep 🇺🇸

5

(3)

27K documents

1 / 15

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
WGU D278 CERTIFICATION SCRIPT 2026
QUESTIONS WITH SOLUTIONS GRADED A+
API.
Answer: Application Programming Interface for interacting with code.
Example: Google Maps API. Visualization: Your program calls API
functions and gets back data.
Define Library Functions.
Answer: Functions that relate to the same purpose (i.e., teacher, student,
grades)
SDLC - Define the Implementation Phase.
Answer: Involves writing the program
What are the equivalent UML diagrams used in SDLC phases?1. Analysis2.
Design3. Implementation4. Testing.
Answer: A Case Diagram, a Class Diagram, Flowchart (Activity Diagram),
and a Sequence Diagram (respectively)
Logical operators.
Answer: Connect conditions (and, or, not). Example: if score >= 60 and
score <= 100. Visualization: Console executes only if both conditions hold.
Logic error.
Answer: Incorrect reasoning in code. Example: Forgot to divide by 3.
Visualization: Program runs but outputs the wrong answer.
Condition.
Answer: An expression that evaluates to true or false. Example: average >=
60. Visualization: Code highlights condition evaluation during execution.
Testing.
Answer: Verifying the program works correctly. Example: Checking that
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download WGU D278 CERTIFICATION SCRIPT 2026 QUESTIONS WITH SOLUTIONS GRADED A+ and more Exams Programming Methodologies in PDF only on Docsity!

WGU D278 CERTIFICATION SCRIPT 2026

QUESTIONS WITH SOLUTIONS GRADED A+

◍ API.

Answer: Application Programming Interface for interacting with code. Example: Google Maps API. Visualization: Your program calls API functions and gets back data. Define Library Functions. Answer: Functions that relate to the same purpose (i.e., teacher, student, grades) SDLC - Define the Implementation Phase. Answer: Involves writing the program What are the equivalent UML diagrams used in SDLC phases?1. Analysis2. Design3. Implementation4. Testing. Answer: A Case Diagram, a Class Diagram, Flowchart (Activity Diagram), and a Sequence Diagram (respectively) Logical operators. Answer: Connect conditions (and, or, not). Example: if score >= 60 and score <= 100. Visualization: Console executes only if both conditions hold. Logic error. Answer: Incorrect reasoning in code. Example: Forgot to divide by 3. Visualization: Program runs but outputs the wrong answer. Condition. Answer: An expression that evaluates to true or false. Example: average >=

  1. Visualization: Code highlights condition evaluation during execution. Testing. Answer: Verifying the program works correctly. Example: Checking that

average = 85 when scores are 80, 90, 85. Visualization: Running the program and comparing console results to expected answers.

Efficiency. Answer: Optimization of time, memory, or energy to complete tasks. Example: Program averages instantly. Visualization: On the screen, results appear immediately instead of the program lagging or freezing.

Statically typed. Answer: Type is fixed at declaration. Example: C++ requires int x=5. Visualization: Editor forces you to specify type when coding.

Which characteristic specifically describes interpreted language?. Answer: They can run on any machine having the right interpreter

What is a structural class diagram? And what does class mean?. Answer: It is used to visually model the classes of a computer program. A class is a code blueprint (flowchart) for creating an object

What is a behavioral Case diagram?. Answer: It is used to visually model how a user interacts with a software program

Simulation. Answer: Using randomness to model or test. Example: Random test data. Visualization: Output shows varied results for testing.

Float. Answer: A decimal number. Example: 89.5. Visualization: In code, average = 89.5.

Waterfall. Answer: A sequential SDLC approach where each step finishes before the next begins. Example: Analysis → Design → Implementation → Testing. Visualization: On your computer, you see each stage in separate files or documents completed fully before moving on.

Compiled.

Module. Answer: A library file in Python. Example: import random. Visualization: Code pulls in extra functions when imported.

Output. Answer: Displaying results from the program. Example: print(average). Visualization: The console window shows the value on screen.

Input. Answer: Data provided to a program or system for processing. Example: Teacher types three test scores. Visualization: In the console, you see prompts like Enter score1: where you type numbers.

Runtime error. Answer: Error occurring while running. Example: Divide by zero. Visualization: Program crashes and console shows error message.

Constant. Answer: A name linked to a value that cannot change. Example: DIVISOR = 3. Visualization: On the computer, it's a variable written in ALL CAPS that stays the same during execution.

Software development. Answer: The career field of writing and maintaining applications. Example: Building a mobile app. Visualization: IDE full of large project files.

Cybersecurity. Answer: Protecting data, networks, and systems. Example: Firewalls and encryption. Visualization: Security software running scans or blocking access.

SDLC. Answer: System Development Life Cycle, a framework of analysis, design, implementation, and testing. Example: Plan a grade calculator program. Visualization: On your computer, this appears as diagrams, planning documents, and step-by-step coding tasks.

Input. Answer: Data provided by the user. Example: Teacher types scores. Visualization: Console shows Enter score: prompt.

Modular. Answer: Breaking a program into smaller, independent parts. Example: A function for addition, another for division. Visualization: Multiple functions in your code editor, each handling one task.

What is an advantage of a Compiled Language?. Answer: Runs faster than interpreted language

Step sequence. Answer: A numbered or ordered list of instructions. Example: Step 1 input, Step 2 add, Step 3 divide. Visualization: A bulleted list typed out in the editor or notes.

RandomNumber(). Answer: Function to generate random values. Example: random.randint(1,100). Visualization: On screen, a new random number appears each time.

Type. Answer: Defines the kind of data stored (int, float, string). Example: int score1 = 80. Visualization: Code editor shows the type keyword before the variable.

What is the main characteristic of Interpreted/Scripting Language. Answer: It runs sequential statements by another program called an interpreter (Python, Javascript)

Interpreted. Answer: Programs executed line by line. Example: Python. Visualization: You run code directly in the interpreter without compiling.

Array. Answer: A collection of multiple values under one name. Example: scores =

feature, test, adjust, repeat. Visualization: Updating your code in short bursts, running and debugging often.

SDLC - Define the Testing Phase. Answer: Checks that the program correctly meets goals

Syntax error. Answer: Code rule violation. Example: Missing colon. Visualization: Editor highlights error in red and program won't run.

Markup. Answer: Describes structure, not logic. Example: HTML. Visualization: In the browser, tags define layout but don't run logic.

Structured logic. Answer: Organized reasoning to make steps follow correctly. Example: Add before divide. Visualization: On your computer, this is code properly indented and ordered.

What is a characteristic of a Markup Language?. Answer: Allows a developer to describe a document's content, formatting

Return. Answer: The output a function gives back. Example: return average. Visualization: Console shows the returned value.

Algorithm. Answer: A step-by-step solution to a problem. Example: Input → add → divide → output. Visualization: On the computer, this looks like a numbered list of steps in pseudocode.

What is a behavioral sequence diagram?. Answer: It shows interactions between software components and indicates the order of events.

Expression. Answer: A combination of values and operators that evaluates to a result. Example: total / 3. Visualization: Code executes and calculates the result in

memory.

Variable. Answer: A name linked to a value that can change. Example: score1 = 80. Visualization: In memory, you see a box labeled score1 storing 80.

Declaration. Answer: Creating a variable with a name and type. Example: int score1. Visualization: Typed line of code that reserves storage for a value.

Relational operators. Answer: Compare values (==, !=, <, >, <=, >=). Example: if score >= 60. Visualization: Program highlights true/false in the debugger.

Precedence. Answer: Order in which operations are performed. Example: Multiplication before addition. Visualization: Debugger shows calculations step-by-step following math rules.

Whitespace. Answer: Spaces, tabs, or newlines in code. Example: Indentation in Python. Visualization: Code neatly spaced in the editor, even though the computer ignores most of it.

What are the four phases of SDLC?. Answer: Analysis, Design, Implementation, and Testing

Implicit conversion. Answer: Automatic type change. Example: 3/2 becomes 1.5. Visualization: Running code shows decimals even if inputs were integers.

Parameter. Answer: Input variable for a function. Example: scores in def average(scores). Visualization: Variable name appears inside function parentheses.

Explicit cast. Answer: Manually forcing a type change. Example: float(3). Visualization:

score1 + score2 + score3. Visualization: Text typed in the editor that looks like code but doesn't run.

Type conversion. Answer: Changing one type to another. Example: int to float. Visualization: Code like float(score1).

What is a characteristic of compiled language?. Answer: Converts to machine language before running

What is a coding library?. Answer: a set of pre-written functions that carry out common tasks, that programmers can use to improve productivity.

Data analysis. Answer: Using code to examine and interpret data. Example: Analyze student scores. Visualization: Console prints charts or summaries.

What is a characteristics of a Compiled Language?. Answer: Statically-typed - constant variable declaration

Task. Answer: A specific operation or unit of work that a program must perform. Example: Add scores and divide by 3. Visualization: On the screen, this is a single line of code, like total = score1 + score2 + score3.

While loop. Answer: Repeat while condition is true. Example: Keep asking until valid input. Visualization: Console keeps prompting user until condition is met.

Syntax. Answer: The grammar and rules of a programming language. Example: Python requires colons for loops. Visualization: If syntax is wrong, the IDE highlights errors in red.

Integer. Answer: A whole number. Example: 85. Visualization: In code, written as x = 85.

What is an advantage of Interpreted/Scripting Language. Answer: Runs on most machines with an interpreter

What is a characteristic of interpreted programs?. Answer: They can be modified at run time

SDLC - Define the Analysis Phase. Answer: Defines a program's goals

What is the structural diagram of UML?. Answer: A class diagram

What is a valid user-defined function name?. Answer: Variable identifier

AI. Answer: Artificial Intelligence, advanced programming for decision-making. Example: Chatbot tutor. Visualization: Program outputs human-like responses.

What is a structural diagram?. Answer: it visualizes static elements of software, such as the types of variables and functions used in a program

Identifier. Answer: The name chosen for a variable. Example: score1. Visualization: You literally see the text score1 typed in code.

Output. Answer: Data produced by a program after processing. Example: Average score. Visualization: On the screen, this is text printed out, like The average is 85.

When should a programmer develop an algorithm to solve a problem?. Answer: Before writing a program to solve the problem.

Arithmetic operators. Answer: *Symbols for math operations (+, -, , /, %). Example: 5+3=8.

Example: Class Student. Visualization: Editor shows classes with attributes and methods.

Dynamically typed. Answer: Type can change at runtime. Example: x=5 then x="hi". Visualization: Python lets you reassign variable types freely.

What is the Agile (Spiral) Approach?. Answer: A program built by doing small amounts of each SDLC phases in sequence, then repeating the process

Element. Answer: A single item in an array. Example: 90 in scores. Visualization: Program outputs one item when indexed.

Analysis. Answer: Defining the goal of the program. Example: Teacher wants to average grades. Visualization: In programming, you write comments or requirements at the top of your file.

Incremental. Answer: Building and testing small parts gradually. Example: First code addition, then division. Visualization: You test each small code snippet before adding the next.

Elseif. Answer: Check multiple conditions. Example: elif average > 90. Visualization: Program chooses one branch among several.

Do-while. Answer: Run once, then check condition. Example: Input prompt shows at least once. Visualization: Console shows first prompt before checking.

For loop. Answer: Repeat a set number of times. Example: Loop for each student. Visualization: Output shows multiple lines for each iteration.

Comment.

Answer: Notes ignored by the program. Example: # This calculates average. Visualization: Green or grey text in the editor, not executed when the program runs.

Accuracy. Answer: The degree to which computed results match the true or intended values. Example: Correct average every time. Visualization: Running the program multiple times always gives the right answer.

What are the three diagrams that UML consists of?. Answer: A structure diagram, a behavioral diagram, a sequence diagram

Automation. Answer: Replacing repetitive tasks with programs. Example: Automatic grading. Visualization: Run once, program calculates grades for hundreds of students.

What is the Waterfall Approach?. Answer: A program built by carrying out each SDLC phase in sequence

What is a behavioral diagram?. Answer: It visualizes dynamic behavior of a software, such as the flow of an algorithm

Hierarchical Debugging. Answer: Dividing the statements into regions and inserts one debug output statements after each region

What is a characteristic of Interpreted/Scripting Language. Answer: Dynamically typed - changing variables

Argument. Answer: The actual value passed into a parameter. Example: [80,90,70]. Visualization: On screen, you type the list when calling the function.

Standard library. Answer: Built-in collection of tools in a language. Example: Python math module. Visualization: import math and then calling math.sqrt(9).