12/12/25, 12:04 PM WGU Introduction to Computer Science Pre-Assessment Flashcards | Quizlet
Science Computer Science
WGU Introduction to Computer Science Pre-Assessment
Which type of variable represents a whole number in computer
programming?
Integer Integer
Array
Float
String
What describes a named storage location that can hold values
that can change?
Variable Operand
Identifier
Variable
Constant
What is one standard rule for a variable name?
The name should have an The name must use hyphens between words.
appropriate meaning. The name must start with a lowercase letter.
The name must start with the type designation.
The name should have an appropriate meaning.
Which coding construct allows a choice between performing an
action and skipping it?
Selection Input/output
Assignment
Selection
Iteration
https://quizlet.com/1009065653/wgu-introduction-to-computer-science-pre-assessment-flash-cards/ 1/12
, 12/12/25, 12:04 PM WGU Introduction to Computer Science Pre-Assessment Flashcards | Quizlet
What is the value of the expression a + (b / c) * d - e if a = 19, b =
6, c = 2, d = 20, and e = 14?
65 65
132
226
426
What is a list?
A group in which individual elements are accessed from the
A varying-length, ordered same end that is called the top
collection of homogeneous A group of related attributes stored as individual fields under a
items that allows for easy single name and treated as a single concept
access, insertion, and removal A fixed-length collection of homogeneous items that can each
be accessed by its position
A varying-length, ordered collection of homogeneous items that
allows for easy access, insertion, and removal
How are items added to and removed from a stack?
The item removed is the one All items can be added to or removed from any location.
that has been in the shortest All items can be accessed or changed but not easily inserted or
time. removed.
The item removed is the one that has been in the shortest time.
The first item to be added becomes the first item removed.
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
Queue
Record
Stack
List
What describes a reference parameter?
Stops the content of the argument from changing anywhere in
Passes the address, rather than
the program
the content, of the argument to
Passes the address, rather than the content, of the argument to
the function
the function
Allows the user to type in the content of an argument at runtime
Passes a copy of the content in an argument to the function
https://quizlet.com/1009065653/wgu-introduction-to-computer-science-pre-assessment-flash-cards/ 2/12
Science Computer Science
WGU Introduction to Computer Science Pre-Assessment
Which type of variable represents a whole number in computer
programming?
Integer Integer
Array
Float
String
What describes a named storage location that can hold values
that can change?
Variable Operand
Identifier
Variable
Constant
What is one standard rule for a variable name?
The name should have an The name must use hyphens between words.
appropriate meaning. The name must start with a lowercase letter.
The name must start with the type designation.
The name should have an appropriate meaning.
Which coding construct allows a choice between performing an
action and skipping it?
Selection Input/output
Assignment
Selection
Iteration
https://quizlet.com/1009065653/wgu-introduction-to-computer-science-pre-assessment-flash-cards/ 1/12
, 12/12/25, 12:04 PM WGU Introduction to Computer Science Pre-Assessment Flashcards | Quizlet
What is the value of the expression a + (b / c) * d - e if a = 19, b =
6, c = 2, d = 20, and e = 14?
65 65
132
226
426
What is a list?
A group in which individual elements are accessed from the
A varying-length, ordered same end that is called the top
collection of homogeneous A group of related attributes stored as individual fields under a
items that allows for easy single name and treated as a single concept
access, insertion, and removal A fixed-length collection of homogeneous items that can each
be accessed by its position
A varying-length, ordered collection of homogeneous items that
allows for easy access, insertion, and removal
How are items added to and removed from a stack?
The item removed is the one All items can be added to or removed from any location.
that has been in the shortest All items can be accessed or changed but not easily inserted or
time. removed.
The item removed is the one that has been in the shortest time.
The first item to be added becomes the first item removed.
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
Queue
Record
Stack
List
What describes a reference parameter?
Stops the content of the argument from changing anywhere in
Passes the address, rather than
the program
the content, of the argument to
Passes the address, rather than the content, of the argument to
the function
the function
Allows the user to type in the content of an argument at runtime
Passes a copy of the content in an argument to the function
https://quizlet.com/1009065653/wgu-introduction-to-computer-science-pre-assessment-flash-cards/ 2/12