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

Test Bank for Secure Data Structures and Algorithms with C++: Walls and Mirrors, 8th Edition by Carrano

Rating
-
Sold
-
Pages
139
Grade
A+
Uploaded on
10-12-2024
Written in
2024/2025

Test Bank for Secure Data Structures and Algorithms with C++: Walls and Mirrors, 8e 8th Edition by Frank M. Carrano, Timothy M. Henry. Complete chapters ( Chap 1 to 29 ) test bank are included with answers. 1. Data Abstraction: The Walls 2. Bags 3. Array-Based Implementations 4. Link-Based Implementations 5. Recursion: The Mirrors 6. Recursion as a Problem-Solving Technique 7. Algorithm Efficiency 8. Stacks 9. Stack Implementation 10. Queues and Decks 11. Queue and Deque Implementations 12. Lists 13. List Implementations 14. Basic Sorting Algorithms and Their Efficiency 15. Advanced Sorting Algorithms 16. Sorted Lists and Their Implementations 17. Trees 18. Tree Implementations 19. Binary Search Trees 20. Implementing a Binary Search Tree 21. Priority Queues and Heaps 22. Heap and Priority Queue Implementations 23. Maps and Their Implementations 24. Hashing as a Map Implementation 25. 2-3 Trees 26. Advanced Search Trees 27. Graphs 28. Applications of Graphs 29. Processing Data in External Shortage

Show more Read less
Institution
Secure Data Structures 8th Edition
Course
Secure Data Structures 8th Edition











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

Written for

Institution
Secure Data Structures 8th Edition
Course
Secure Data Structures 8th Edition

Document information

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

Subjects

Content preview

The chapters in this document are displayed in reversed order, with the last chapter
appearing first. This change ensures all chapters are included in the test bank.
Chapter 29 Questions
Multiple Choice

1. A file contains ______ that are organized into blocks.
a. records
b. locations
c. names
d. addresses
Answer: A

2. The number of records in a block is a function of what?
a. the programming language
b. the size of the records in the file
c. the brand of the computer
d. implementation of the data structure
Answer: B

3. A location which temporarily stores data is called a
a. bucket
b. bag
c. buffer
d. record
Answer: C

4. When considering an algorithm’s efficiency when working with external data, what is the
dominant factor?
a. the brand of the computer
b. the programming language
c. the skill of the programmer
d. the time required for block access
Answer: D

5. Which of the following is the most appropriate for sorting external data?
a. merge sort
b. radix sort
c. selection sort
d. bubble sort
Answer: A

6. Hashing implementation is not good for which of the following operations on external data?
a. retrieval
b. sorted traversal
c. addition
d. removal
Answer: B

7. An external data collection can be organized as a balanced search tree. What are the pointers to
the child pointers?
a. search keys
b. index values
c. block numbers


© 2025

, Chapter 29 Questions

d. hash numbers
Answer: C

8. If searching an external data collection organized as a balanced search tree, what is actually
organized as the external search tree?
a. the data file
b. the hash index
c. the blocks
d. the index file
Answer: D

9. If a node N in a search tree is to have m children, how many key values must the node contain?
a. m – 1
b. m + 1
c. 2m – 1
d. log2 (n - 1)
Answer: A

10. What is a good motivation for having multiple index files for external data?
a. to save external file space
b. allows multiple data organizations
c. splits up the data easier
d. save internal data storage
Answer: B




© 2025

, Chapter 29 Questions

True or False

1. External storage exists after program execution.
Answer: True

2. Generally there is less external storage than internal memory.
Answer: False

3. Without direct access files, it would be impossible to support the data-management operations
efficiently in an external environment.
Answer: True

4. A file of integer records will have less records per block than a file of student records.
Answer: False

5. According to the text, you can read and write a block of records, but you cannot read or write an
individual record.
Answer: True

6. To need to operate on only a single record of the file, there is no need to access an entire block
from the file.
Answer: False

7. Some programming languages have commands that make it appear that you are accessing one
record at a time, not a whole block.
Answer: True

8. Even if records are stored in a sorted file, it is still not possible to use a binary search algorithm to
retrieve a specified record.
Answer: False

9. An index to a data file is conceptually similar to an index to an array.
Answer: True

10. In general an index record is larger than a data record.
Answer: False

11. It is possible (and can be useful) to keep multiple index files on a single data file.
Answer: True

12. Use of an index file increases the number of required block accesses of the data file, especially
for adds and removals.
Answer: False

13. When external hashing is used, you hash the index file instead of the data file.
Answer: True

14. It is not possible to organize an index file as an external 2-3 tree.
Answer: False



© 2025

, Chapter 29 Questions

15. In an external environment, the advantage of keeping a search tree short far outweighs the
disadvantage of performing extra work, such as comparisons, at each node.
Answer: True

16. Never access the search keys of the index records without accessing the data record.
Answer: False

17. If a traversal must display the entire data record (and not just the search key), the B-tree
implementation is less attractive.
Answer: True




© 2025

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.
StepsSol Business Fellows
View profile
Follow You need to be logged in order to follow users or courses
Sold
3506
Member since
2 year
Number of followers
1299
Documents
770
Last sold
6 hours ago
StepsSol

We are here to support you every step of the way in your academic journey, whether it\'s test practice, homework assistance, research guidance, data analysis, or any other form of reliable tutoring you require. Our primary goal is to provide our students with top-notch education that paves the way for excellent grades. Please don\'t hesitate to reach out with any questions, and we welcome your suggestions.

4.3

449 reviews

5
294
4
72
3
38
2
13
1
32

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