1|Page
WGU D684 OBJECTIVE ASSESSMENT AND PRE -
ASSESSMENT LATEST 2026/ 2027 TEST BANK| D684
INTRODUCTION TO COMPUTER SCIENCE OA AND PA
EXAM WITH 550 REAL EXAM QUESTIONS AND CORRECT
VERIFIED ANSWERS/ ALREADY GRADED A+ (BRAND
NEW!!)
Which type of variable represents a whole number in computer
programming?
Integer
What is one standard rule for a variable name?
The name should have an appropriate meaning.
Which coding construct allows a choice between performing an action
and skipping it?
Selection
What is a list?
,2|Page
A varying-length, ordered collection of homogeneous items that allows
for easy access, insertion, and removal
The collection of customers for a small business is stored in such a way
that a customer can be easily accessed, deleted, or added. What is the
data structure called for in this programming situation?
List
What describes a reference parameter?
Passes the address, rather than the content, of the argument to the
function
The code shows a subprogram and a call to that subprogram.
my_function(num_a)
num_c = process(num_a)
store(num_c)num_b = my_function(num_d)
,3|Page
Which variable name represents an argument?
num_d
What does the object-oriented programming paradigm do to solve a
programming problem?
Organizes a program into smaller components that bundle together
fields and methods
Which programming paradigm is a subset of the declarative paradigm?
Logic
A computer scientist is working to optimize an algorithm that finds the
shortest driving distance between cities and wants to utilize the
computer problem-solving process for this project.
Which phase is the computer scientist in when translating a planned
sequence of steps into a programming language?
Implementation
, 4|Page
What describes the way that the insertion sort algorithm operates?
It sorts data by building the final sorted list one item at a time, placing
each new item into its correct position.
Which pseudocode example is one way to convert the integer a to a
floating point number?
myFloat x = a / 1.0
Which pseudocode gives the same result as int(e / c) if e = 39 and c =
10?
e // c
Sample code is shown.
Set counter to 0
Set product to 1
while (counter < 15)
WGU D684 OBJECTIVE ASSESSMENT AND PRE -
ASSESSMENT LATEST 2026/ 2027 TEST BANK| D684
INTRODUCTION TO COMPUTER SCIENCE OA AND PA
EXAM WITH 550 REAL EXAM QUESTIONS AND CORRECT
VERIFIED ANSWERS/ ALREADY GRADED A+ (BRAND
NEW!!)
Which type of variable represents a whole number in computer
programming?
Integer
What is one standard rule for a variable name?
The name should have an appropriate meaning.
Which coding construct allows a choice between performing an action
and skipping it?
Selection
What is a list?
,2|Page
A varying-length, ordered collection of homogeneous items that allows
for easy access, insertion, and removal
The collection of customers for a small business is stored in such a way
that a customer can be easily accessed, deleted, or added. What is the
data structure called for in this programming situation?
List
What describes a reference parameter?
Passes the address, rather than the content, of the argument to the
function
The code shows a subprogram and a call to that subprogram.
my_function(num_a)
num_c = process(num_a)
store(num_c)num_b = my_function(num_d)
,3|Page
Which variable name represents an argument?
num_d
What does the object-oriented programming paradigm do to solve a
programming problem?
Organizes a program into smaller components that bundle together
fields and methods
Which programming paradigm is a subset of the declarative paradigm?
Logic
A computer scientist is working to optimize an algorithm that finds the
shortest driving distance between cities and wants to utilize the
computer problem-solving process for this project.
Which phase is the computer scientist in when translating a planned
sequence of steps into a programming language?
Implementation
, 4|Page
What describes the way that the insertion sort algorithm operates?
It sorts data by building the final sorted list one item at a time, placing
each new item into its correct position.
Which pseudocode example is one way to convert the integer a to a
floating point number?
myFloat x = a / 1.0
Which pseudocode gives the same result as int(e / c) if e = 39 and c =
10?
e // c
Sample code is shown.
Set counter to 0
Set product to 1
while (counter < 15)