100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

CS 160 FINAL EXAM 2025/2026 BANK QUESTIONS AND CORRECT ANSWERS CURRENTLY TESTING COMPLETE QUESTIONS WITH DETAILED VERIFIED ANSWERS /ALREADY GRADED A+

Rating
-
Sold
-
Pages
43
Grade
A+
Uploaded on
11-11-2025
Written in
2025/2026

CS 160 FINAL EXAM 2025/2026 BANK QUESTIONS AND CORRECT ANSWERS CURRENTLY TESTING COMPLETE QUESTIONS WITH DETAILED VERIFIED ANSWERS /ALREADY GRADED A+

Institution
CS 160
Course
CS 160











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
CS 160
Course
CS 160

Document information

Uploaded on
November 11, 2025
Number of pages
43
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

CS 160 FINAL EXAM 2025/2026 BANK
QUESTIONS AND CORRECT ANSWERS
CURRENTLY TESTING COMPLETE
QUESTIONS WITH DETAILED
VERIFIED ANSWERS /ALREADY
GRADED A+



Suppose a binary tree contained the nodes W, X, Y, and Z.
If W and X were children of Y, and Z had no children,
which node would be the root? - ....ANSWER...Y


If a stack contained the entries w, x, y, z (from top to
bottom), which of the following would be the contents
after two entries were removed and the entry r was
inserted? - ....ANSWER...r, y, z


Most modern programming languages include a way to
allocate memory, as the program runs, to store new data
items. Which of the following statements is most true? -
....ANSWER...not This should not be allowed. The
programmer should know how much data is to be processed

,and allocate sufficient memory when the program is
written.


The nodes in which of the trees below will be printed in
alphabetical order by the following recursive procedure? -
....ANSWER...not c


The table below represents a portion of a computer's main
memory containing a binary tree. Each node consists of
three cells, the first being data, the second being a pointer
to the node's left child, and the third being a pointer to the
node's right child. If the null pointer is represented by 00
and the tree's root pointer contains 50, which of the
following is a picture of the tree? - ....ANSWER...not a


The table below represents a portion of a computer's main
memory containing a binary tree stored row by row in a
contiguous block as described in the chapter. What is the
left child of the node V? - ....ANSWER...Y


The table below represents a portion of a computer's main
memory containing a binary tree stored row by row in a

,contiguous block as described in the chapter. What is the
parent of the node Z? - ....ANSWER...V


Suppose you were going to retrieve items of data that you
would later need to process in the opposite order from that
in which they were retrieved. Which of the following
would be the best structure in which to store the items? -
....ANSWER...Stack


Which of the following is a FIFO structure? -
....ANSWER...Queue


If the two-dimensional array X were stored in row-major
order, then in the block of main memory containing X,
which of the following would be true? - ....ANSWER...The
entry X[1,2] would appear before X[2,1].


Suppose a binary tree contained the nodes W, X, Y, and Z,
and each node had at most one child. How many terminal
nodes would be in the tree? - ....ANSWER...One

, Which of the following is not a means of locating an entry
in a linked storage structure? - ....ANSWER...null
pointer


If a queue contained the entries w, x, y, z (from head to
tail), which of the following would be the contents after
two entries were removed and the entry r was inserted? -
....ANSWER...y, z, r


Suppose a binary tree is implemented as a linked structure
in which each node contains both a left child pointer and a
right child pointer. Which of the following statements is
false? - ....ANSWER...Each terminal node in the tree is
always at the end of a path that is as least as long as any
other path in the tree.


If the longest path in a binary tree contained exactly four
nodes, what is the maximum number of nodes that could
be in the entire tree? - ....ANSWER...15


In a machine language, the technique in which the data to
be manipulated by an instruction is included within the

Get to know the seller

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.
Charitywairimu
Follow You need to be logged in order to follow users or courses
Sold
2126
Member since
2 year
Number of followers
1495
Documents
2888
Last sold
9 hours ago

You will get solutions to all subjects in both assignments and major exams. Contact me for any assisstance. Good luck! Simple well-researched education material for you. Expertise in Nursing, Mathematics, Psychology, Biology etc,. My Work contains the latest, updated Exam Solutions, Study Guides, Notes 100% verified Guarantee .

3,9

293 reviews

5
141
4
49
3
65
2
10
1
28

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions