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
Exam (elaborations)

CSE 310 ARIZONA STATE UNIVERSITY PRACTICE MATERIALS | Practice test for Data Structure and Algorithm

Rating
-
Sold
-
Pages
77
Grade
A
Uploaded on
15-04-2025
Written in
2024/2025

CSE 310 ARIZONA STATE UNIVERSITY PRACTICE MATERIALS | Practice test for Data Structure and Algorithm

Institution
Course

Content preview

CSE 310 ARIZONA STATE UNIVERSITY PRACTICE MATERIALS |
Practice test for Data Structure and Algorithm


Question 1
pts
Select all of the statements that are true regarding the structure of an Array List.


All of the elements are located contiguously in memory.



The heights of the two child sub-trees of any node can differ by at most one.



It uses a hash function to compute an index into an array of buckets or slots, from which the desired value can be
found or stored.



The key at the root node has the minimum key value among all nodes.



All of the elements are of the same type.



It is a linear ordered collection of values called elements.



The last node in the sequence contains a pointer (or reference) to the first node in the sequence.



The values are stored and removed to satisfy the property that an element with high priority is served before an
element with low priority.



Each node has an extra bit of data that is used to ensure the structure remains approximately balanced during
insertions and deletions.



Question 2
pts
Select all of the statements that are true regarding the structure of an Array.


The values are stored and removed to satisfy first-in-first-out (FIFO) access property.

,It has a variable size.



All of the elements are of the same type.



It uses a hash function to compute an index into an array of buckets or slots, from which the desired value can be
found or stored.



It is a linear ordered collection of values called elements.



The key at the root node has the minimum key value among all nodes.



It includes a set of edges that connect pairs of nodes.



The last node in the sequence contains a pointer (or reference) to the first node in the sequence.



It has a fixed size.



Question 3
pts
Select all of the statements that are true regarding the structure of a Directed Graph.


The key at the root node has the maximum key value among all nodes.



There may be cycles (circular references) in the structure.



Each node has an extra bit of data that is used to ensure the structure remains approximately balanced during
insertions and deletions.



Its edges are one-directional.

,The values are stored and removed to satisfy first-in-first-out (FIFO) access property.



If y is a node in the right subtree of node x, then y.key >= x.key.


It includes a set of edges that connect pairs of nodes.



Its edges each include a weight value.



The key of any node has a value <= all key values in its sub-trees


Question 4
pts
Select all of the statements that are true regarding the structure of a Graph.


It is a collection of nodes called vertices.



The key of any node has a value <= all key values in its sub-trees


There may be cycles (circular references) in the structure.



The heights of the two child sub-trees of any node can differ by at most one.



It includes a set of edges that connect pairs of nodes.



Each node has either two children and one data element or three children and two data elements.



The values are stored and removed to satisfy first-in-first-out (FIFO) access property.



If y is a node in the right subtree of node x, then y.key >= x.key.

, If y is a node in the left subtree of node x, then y.key <= x.key.


Question 5
pts
Select all of the statements that are true regarding the structure of a Weighted Graph.


The last node in the sequence contains a pointer (or reference) to the first node in the sequence.



It uses a hash function to compute an index into an array of buckets or slots, from which the desired value can be
found or stored.



The key of any node has a value >= all key values in its sub-trees


The key of any node has a value <= all key values in its sub-trees


The heights of the two child sub-trees of any node can differ by at most one.



It is a collection of nodes called vertices.



Each node has either two children and one data element or three children and two data elements.



It includes a set of edges that connect pairs of nodes.



Its edges each include a weight value.



Question 6
pts
Select all of the statements that are true regarding the structure of a Hash Table.


Each node has an extra bit of data that is used to ensure the structure remains approximately balanced during
insertions and deletions.

Written for

Institution
Course

Document information

Uploaded on
April 15, 2025
Number of pages
77
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$45.99
Get access to the full document:

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

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.
Bri254 Rasmussen College
Follow You need to be logged in order to follow users or courses
Sold
919
Member since
5 year
Number of followers
738
Documents
3524
Last sold
2 weeks ago
Best Tutorials, Exam guides, Homework help.

When assignments start weighing you down, take a break. I'm here to create a hassle-free experience by providing up-to-date and recent study materials. Kindly message me if you can't find your tutorial and I will help.

4.0

181 reviews

5
106
4
20
3
25
2
6
1
24

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