• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 7 pages
Exam (elaborations)

WGU D684 Introduction to Computer Science Test Bank Questions and Answers (2026/2027)

Document preview thumbnail
Preview 2 out of 7 pages

WGU D684 Introduction to Computer Science Test Bank Questions and Answers (2026/2027)

Content preview

WGU D684 Introduction to Computer
Science Test Bank Questions and
Answers (2026/2027)
• Float. CORRECT ANSWER: Represents a number with a decimal point.

• String. CORRECT ANSWER: Represents a sequence of characters.

• Variable. CORRECT ANSWER: A named storage location that can hold values that
can change.

• Identifier. CORRECT ANSWER: A name given to a variable, function, etc.

• Constant. CORRECT ANSWER: A named storage location whose value cannot
change.

• Standard Variable Naming Rule. CORRECT ANSWER: The name should have an
appropriate meaning. (Other common rules: start with a letter, no spaces, no special
characters except underscore).

• Selection (Conditional Statement). CORRECT ANSWER: Allows a choice between
performing an action and skipping it (e.g., IF/ELSE).

• Iteration (Loop). CORRECT ANSWER: A construct that allows a block of code to be
executed repeatedly (e.g., while loop).

• Event-controlled loop. CORRECT ANSWER: Terminates when a certain condition
becomes true.

• Count-controlled loop. CORRECT ANSWER: Executes a predetermined number of
times.

• Input/Output. CORRECT ANSWER: Operations for getting data into and out of a
program.

• Assignment. CORRECT ANSWER: Assigning a value to a variable (e.g., Set counter
to 0).

• Arithmetic Operators. CORRECT ANSWER: Operators used for mathematical
calculations.

• +. CORRECT ANSWER: Addition

, • -. CORRECT ANSWER: Subtraction

• *. CORRECT ANSWER: Multiplication

• /. CORRECT ANSWER: Division (results in a float)

• //. CORRECT ANSWER: Integer division (returns the quotient as a whole number,
discarding the remainder).

• Order of Operations (PEMDAS/BODMAS). CORRECT ANSWER:
Parentheses/Brackets, Exponents/Orders, Multiplication and Division (from left to right),
Addition and Subtraction (from left to right).

• Subprogram/Function. CORRECT ANSWER: A block of code designed to perform a
specific task.

• Argument. CORRECT ANSWER: A value passed into a function when it is called.

• Parameter. CORRECT ANSWER: A variable in a function definition that receives the
value of an argument.

• Reference Parameter. CORRECT ANSWER: Passes the address, rather than the
content, of the argument to the function, allowing the function to modify the original
variable.

• Value Parameter. CORRECT ANSWER: Passes a copy of the content of the argument
to the function; changes inside the function do not affect the original variable.

• List. CORRECT ANSWER: A varying-length, ordered collection of homogeneous items
that allows for easy access, insertion, and removal.

• Stack. CORRECT ANSWER: A group in which individual elements are accessed from
the same end called the 'top.' Items are added and removed using a Last-In, First-Out
(LIFO) principle.

• Queue. CORRECT ANSWER: A data structure where the first item added becomes
the first item removed (First-In, First-Out - FIFO).

• Record. CORRECT ANSWER: A group of related attributes stored as individual fields
under a single name and treated as a single concept.

• Array. CORRECT ANSWER: A fixed-length collection of homogeneous items that can
each be accessed by its position (index).

Document information

Uploaded on
June 22, 2026
Number of pages
7
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$12.49

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

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.
PassHub
5.0
(2)
Sold
11
Followers
1
Items
2609
Last sold
3 weeks ago



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