Data Structures and Algorithms-I MCQs

Page No. 21

d-heap is similar to that of a?


abinary heap


bfibonacci heap


cleftist heap


dtreap


View Answer binary heap

Who invented d-ary heap?


aCarl Rick


bAlan Turing


cDonald Johnson


dEuclid


View Answer Donald Johnson

What is a ternary heap?


aAn array with three elements


bLinked list with three elements


cTree with three children


dHeap with all nodes having three children



Is the priority queue abstract data type.


aTrue


bFalse


ceither true either false


dNone of the mentioned


View Answer True

Which type of data structure is a ternary heap?


aArray


bHash


cPriority Queue


dPriority Stack


View Answer Priority Queue

What is the process of building a ternary heap called?


aHeapify


bHashing


cLinking


dMerging


View Answer Heapify

Should leaves in ternary heap be distributed from left to right.


aTrue


bFalse


ceither true either false


dNone of the mentioned


View Answer True

Which property should ternary heap hold for execution?


aAssociative


bCommutative


cTree


dHeap


View Answer Heap

Which of the following is the application of minimum ternary heap?


aPrim’s Algorithm


bEuclid’s Algorithm


cEight Queen Puzzle


dTree


View Answer Prim’s Algorithm

What is the time complexity for creating a ternary heap using swapping?


aO (log n/ log 3)


bO (n!)


cO (n)


dO (1)


View Answer O (n)

Goto Page No.

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