Data Structures and Algorithms-I MCQs

Page No. 10

Can leaf node be called child node in a ternary tree?


aTrue


bFalse


ceither true either false


dNone of the mentioned


View Answer True

How many extra nodes are there in Full ternary tree than a complete ternary tree?


a1


b2


c3


dBoth have same number of nodes



What is the Height of the root node of K-ary tree?


a1


b2


c3


d0


View Answer 0

What is the depth of the root node of K-ary tree?


a2


b1


c0


d3


View Answer 0

Which of the following is the name of the node having child nodes?


aBrother


bSister


cMother


dParent


View Answer Parent

How many child nodes does each node of K-ary Tree contain?


a2


b3


cmore than k


dat most k


View Answer at most k

Which one of the following is the correct formulae to find the parent node at index I?


a(I-1)/K


b(I+1)/K


c(I*1)/K


d(I-2)/K


View Answer (I-1)/K

What is the height of a K-ary tree having only root node?


a1


b0


c2


d3


View Answer 0

What is the upper bound for maximum leaves in K-ary tree with height h?


aK*h


bK^h


cK+h


dK-h


View Answer K^h

Can child node be always called Leaf node in the K-ary tree?


aTrue


bFalse


ceither true either false


dNone of the mentioned


View Answer False

Goto Page No.

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