• 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)

D684 - Intro to CS (WGU) Section 3 Algorithms and Pseudocode Questions with Accurate Answers

Document preview thumbnail
Preview 2 out of 7 pages

array correct answer a collection of items stored at contiguous memory locations; each item can be accessed using an index binary search correct answer a search algorithm that finds the position of a target value within a sorted array by repeatedly dividing the search interval in half block correct answer a group of statements that are executed together, typically enclosed in curly braces or defined by indentation bubble sort correct answer a simple sorting algorithm that repeatedly steps through a list, compares adjacent elements, and swaps them if they are in the wrong order concrete step correct answer a detailed action in an algorithm that specifies exactly how to perform a task count-controlled loop correct answer a loop that repeats a specific number of times; controlled by a counter variable (e.g., "for" loop)

Content preview

D684 - Intro to CS (WGU) Section 3
Algorithms and Pseudocode
Questions with Accurate Answers
array correct answer a collection of items stored at contiguous memory
locations; each item can be accessed using an index


binary search correct answer a search algorithm that finds the position
of a target value within a sorted array by repeatedly dividing the search
interval in half


block correct answer a group of statements that are executed together,
typically enclosed in curly braces or defined by indentation


bubble sort correct answer a simple sorting algorithm that repeatedly
steps through a list, compares adjacent elements, and swaps them if
they are in the wrong order


concrete step correct answer a detailed action in an algorithm that
specifies exactly how to perform a task


count-controlled loop correct answer a loop that repeats a specific
number of times; controlled by a counter variable (e.g., "for" loop)

, desk checking correct answer a manual method of reviewing the logic
of a program or algorithm using a pencil and paper instead of a
computer


dual-alternative if correct answer an if statement that provides two
paths: one for when the condition is true and another for when it is
false (also known as if-else)


end-structure statement correct answer a statement that marks the
end of a block of code, such as the end of a loop or an if statement


event-controlled loop correct answer a loop that continues to execute
until a specific condition or event occurs, such as user input or a sensor
reading


explicit conversion correct answer a type of conversion where the
programmer manually changes a data type to another, often using a
specific function or syntax


floating-point number correct answer a number that can have a
fractional part represented with decimal points


flowchart correct answer a visual diagram that represents the steps in a
process or algorithm using symbols and arrows to show the flow of
control

Document information

Uploaded on
June 27, 2025
Number of pages
7
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$18.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.
starwid
3.4
(5)
Sold
20
Followers
1
Items
12012
Last sold
3 months 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