Data Structures and Algorithms-I MCQs

Page No. 20

On which data structure is a d-ary heap based?


astack


bqueue


clinked list


dpriority queue


View Answer priority queue

How many secondary operations are performed in a d-heap?


a1


b2


c3


d4


View Answer 4

Multiplication and division to find children and parents cannot be implemented in a d-heap.


atrue


bfalse


ceither true either false


dNone of the mentioned


View Answer false

What is the run time efficiency of delete-min operation?


aO(log N)


bO(logd N)


cO(d logd N)


dO(d)


View Answer O(d logd N)

How many basic operations can be performed in a d-heap?


a1


b2


c3


d4


View Answer 2

How many comparisons will occur while performing a delete-min operation?


ad


bd-1


cd+1


d1


View Answer d-1

What is the run time efficiency of an insertion algorithm in d-heap?


aO(N)


bO(log N)


cO(logd N)


dO(Nd)


View Answer O(logd N)

Which operation is not efficiently performed in a d-heap?


ainsert


bdelete


cfind


dmerge


View Answer merge

Which operation cannot be directly performed in a d-heap?


ainsert


bdelete


cfind


dCreate


View Answer find

d-heap is shallower than a binary heap.


atrue


bfalse


ceither true either false


dNone of the mentioned


View Answer true

Goto Page No.

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