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

CMSC 341 questions with verified answers

Rating
-
Sold
1
Pages
10
Grade
A+
Uploaded on
26-02-2025
Written in
2024/2025

CMSC 341 questions with verified answers










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

Document information

Uploaded on
February 26, 2025
Number of pages
10
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

CMSC 341 questions with verified answers
A binary tree in which every external node is at the same level and all external
nodes are filled in left to right is called a ... Ans✓✓✓-Complete Binary Tree


A full binary tree is a tree in which every node has zero or two children. True or
False? Ans✓✓✓-True


A hash function converts the data part of a (key-data) pair to an index number to
find the storage location. True or False? Ans✓✓✓-False, because a hash function
is used to transform a key into the index of an array element where the
corresponding value is to be sought.


A hash table data structure is an implementation of the Map ADT ... True or False?
Ans✓✓✓-True


A hash table provides efficient operations (search, insert, remove) when sorting
the data is required. True or False? Ans✓✓✓-False


A hash table with quadratic probing guarantees finding an empty bucket in the
table. True or False? Ans✓✓✓-False


ADT Stands For .... Ans✓✓✓-Abstract Data Type


An ADT is the implementation of a data structure. True or False? Ans✓✓✓-False.
Abstract Data Types are the interface class or data models with no
implementation.

, An algorithm with the running time of O(2n) practically is able to run and process
the large amount of data. True or False? Ans✓✓✓-False


Does the following tree represent a valid max-leftist-heap? Please note, in this
tree the alphabet characters represent the priority. For example, "A" shows the
lowest priority.


G
/\
FD
//\
EBC
/
A Ans✓✓✓-NO, because the leftist tree has to follow binary tree properties


Finding a specific node takes the same amount of time whether we use a singly
linked list or a doubly linked list to store the same data. True or False? Ans✓✓✓-
True


Generally, the Queue ADT provides "First In Last Out" data storage. True or False?
Ans✓✓✓-False


Generally, the stack ADT provides "First In First Out" data storage. True or False?
Ans✓✓✓-False. stack ADT provides "Last In First Out" data storage


How do we deallocate memory for the following variable?

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.
cracker Chamberlain School Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
2022
Member since
3 year
Number of followers
1344
Documents
47128
Last sold
6 days ago
✨ Cracker – Verified Study Powerhouse

Welcome to your shortcut to academic and certification success. I'm Cracker, a trusted top seller I specialize in high-quality study guides, test banks, certification prep, and real-world exam material all tailored to help you pass fast and score high.

3.8

369 reviews

5
162
4
84
3
52
2
22
1
49

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

Frequently asked questions