Data Structures and Algorithms-I MCQs

Page No. 25

Which of the following operations does not destroy the leftist heap property?


ansert


bmerge


cdelete


dswap


View Answer delete

How many nodes does a leftist tree with r nodes must have?


a2r


b2r-1


c2r


d2r-1


View Answer 2r-1

In a leftist heap, the null path length of a null node is defined as?


a0


b1


cnull


d-1


View Answer -1

How many properties does a leftist heap support?


a1


b2


c3


d4


View Answer 3

Pointer manipulation is generally more time-consuming than multiplication and division.


atrue


bFalse


cNone of the given options


deither true either false


View Answer true

In skew heaps, certain constraints are to be met in order to perform swapping.


atrue


bfalse


cNone of the given options


deither true either false


View Answer false

What is the amortized efficiency of skew merge?


aO(N)


bO( log N)


cO( N log N)


dO(2N)


View Answer O( log N)

Naïve merge cannot be done in a skew merge.


atrue


bfalse


cNone of the given options


deither true either false


View Answer false

How many types of the merge are available in skew heaps?


a1


b2


c3


d4


View Answer 2

The worst case analysis for a naïve merge is given as?


aO(N)


bO( log N)


cO( N log N)


dO(2N)


View Answer O(N)

Goto Page No.

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