Data Structures and Algorithms-I MCQs

Page No. 41

What is the hash function used in Double Hashing?


a(h1(k) – i*h2(k))mod m


bh1(k) + h2(k)


c(h1(k) + i*h2(k))mod m


d(h1(k) + h2(k))mod m



Double hashing is one of the best methods available for open addressing.


aTrue


bFalse


cNone of the given options


deither true either false


View Answer True

Hash tree is used in data synchronization. In the worst case the data synchronization takes ______ time.


aO(logn)


bO(n2)


cO(nlogn)


dO(n)


View Answer O(n)

Sequential access in a Hash tree is faster than in B-trees.


aTrue


bFalse


cNone of the given options


deither true either false


View Answer True

What is the worst case time complexity of the insertion in the hash tree?


aO(logk(n))


bO(n2)


cO(nlogk(n))


dO(kn)


View Answer O(logk(n))

Where is the hash tree used?


ain digital currency


bin sorting of large data


cfor indexing in databases


din encryption of data


View Answer in digital currency

What will be the height of the hash tree with branching factor 2 and with 8 records?


a3


b5


c4


d6


View Answer 4

Hash tree is also known as _____


aMerkle tree


bT -tree


cHash table


dBx-tree


View Answer Merkle tree

Which of the following is true for a Hash tree?


aHashing is used for sequential access


bIndexing is used for direct access


cHash tree allows only sequential access


dHashing is used for direct access



Which of the following is a widely used form of the hash tree?


aB+ – tree


bT tree


cTiger tree hash


dHtree


View Answer Tiger tree hash

Goto Page No.

Page 41 of 53

Alphabetical MCQs Categories

Here below You find all kind of categories of MCQs in alphabetical order.


"Comprehensive Collection of MCQs: Alphabetically Organized by Subject"

"Discover an extensive collection of multiple-choice questions (MCQs) neatly categorized by subject from A to Z. This resource is designed for anyone eager to explore various topics in a straightforward and organized manner. Whether you're a student preparing for exams, an educator seeking supplementary materials, or simply curious about different subjects, this compilation offers a convenient way to learn and assess your knowledge. With questions arranged alphabetically, navigation is effortless, allowing you to delve into subjects of interest at your own pace. Engage, learn, and expand your understanding with this accessible and comprehensive repository of MCQs!"


BolPakistan

bolpakistan.com.pk includes Job Mcqs and Pak Mcqs is the Top Largest Mcqs Forum in World, in which you can read Mcqs of All Subjects, PPSC test preparation, FPSC, NTS and PPSC PAST PAPERS, PPSC PAST MCQS. A Collection of Repeated MCQs for JOBs seekers.

Copyright © 2024, Designed & Developed by BolPakistan