Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 6 pages
Exam (elaborations)

Comp 200 Exam Prep 2025 Questions and Answers

Document preview thumbnail
Preview 2 out of 6 pages

Comp 200 Exam Prep 2025 Questions and Answers

Content preview

Comp 200 Exam Prep 2025
Questions and Answers


selection - ✔✔The ____ sort starts at the first value in the list and then processes each
element looking for the smallest value.

dequeue - ✔✔The ____ operation is used to remove an item from a queue.

nine - ✔✔A two dimensional array declared with size [3] [3] may contain how many
elements?

semicolon - ✔✔In the statement "int[ ] aGrades = new int [5];", the ____ tells the
computer that the end of the statement has been reached.

stack - ✔✔Backtracking is accomplished by using a(n) ____.

pop - ✔✔The ____ operation removes an item from a stack

Arrays - ✔✔____ are an excellent data structure for storing information in memory
because they can be accessed sequentially without any knowledge of the memory cell
contents.

tree - ✔✔A ____ represents a hierarchical structure, similar to that of organizational or
genealogy charts.

three - ✔✔In a binary search tree each node contains ____ components.




COPYRIGHT © 2025 BY OLIVIA WEST, ALL RIGHTS RESERVED 1

, integers - ✔✔What type of data can be stored in an array generated by the statement,
"int[ ] aGrades = new int [5]"?

bubble - ✔✔The ____ sort works by starting with the last element in the list and
comparing its value with that of the item just above it in the list order.

subscript - ✔✔The index or ____ tells the computer which memory cell to access in the
array.

new - ✔✔In the context of the Java programming language, the "____" keyword tells the
computer that a new array is being created.

pointer - ✔✔A(n) ____ is a memory variable containing the address of a memory cell as
its data.

procedures - ✔✔The source code is logically organized into ____, groups of related
commands that perform a task.

algorithm - ✔✔To sort data, you first need to create a(n) ____ that defines the process
for sorting.

cells - ✔✔A computer's memory is organized into ___

pointer - ✔✔A stack ____ keeps track of the top of a stack

root - ✔✔The node that begins the tree is called the ____.

peeking - ✔✔Looking at the top item to inspect it without removing it from the stack is
called ____.

quicksort - ✔✔The ____ routine incorporates the logic that sorting two small lists is
easier and faster than sorting one large list (divide and conquer).

queue - ✔✔A(n) ____ uses a head pointer and a tail pointer.




COPYRIGHT © 2025 BY OLIVIA WEST, ALL RIGHTS RESERVED 2

Document information

Uploaded on
April 29, 2025
Number of pages
6
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$12.99

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.
OliviaWest
2.7
(23)
Sold
119
Followers
17
Items
8422
Last sold
1 month 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