Data Structures and Algorithms-I MCQs

Page No. 4

What are null nodes filled with in a threaded binary tree?


ainorder predecessor for left node and inorder successor for right node information

✓


bright node with inorder predecessor and left node with inorder successor information

✖


cthey remain null

✖


dsome other values randomly

✖



In general, the node content in a threaded binary tree is ________


aleftchild_pointer, left_tag, data, right_tag, rightchild_pointer

✓


bleftchild_pointer, left_tag

✖


cleftchild_pointer, left_tag, right_tag, rightchild_pointer

✖


dleftchild_pointer, left_tag, data

✖



What are the disadvantages of normal binary tree traversals?


athere are many pointers which are null and thus useless

✓


bthere is no traversal which is efficient

✖


ccomplexity in implementing

✖


dimproper traversals

✖



What is a threaded binary tree traversal?


aa binary tree traversal using stacks

✖


ba binary tree traversal using queues

✖


ca binary tree traversal using stacks and queues

✖


da binary tree traversal without using stacks and queues

✓



Which of the following is the self-adjusting binary search tree?


aAVL Tree

✖


bSplay Tree

✓


cTop Tree

✖


dTernary Tree

✖


View Answer Splay Tree

What is the time complexity for the update cost on auxiliary trees?


aO (log (log n))

✖


bk-1 O (log n)

✖


cK2 O (log n)

✖


dk+1 O (log (log n))

✓


View Answer k+1 O (log (log n))

What is the time complexity for searching k+1 auxiliary trees?


ak+2 O (log (log n))

✖


bk+1 O (log n)

✖


cK+2 O (log n)

✖


dk+1 O (log (log n))

✓


View Answer k+1 O (log (log n))

What is the upper bound for a tango tree if k is a number of interleaves?


ak+2 O (log (log n))

✖


bk O (log n)

✖


cK2 O (log n)

✖


dk+1 O (log (log n))

✓


View Answer k+1 O (log (log n))

Which operation is used to break a preferred path into two sets of parts at a particular node?


aDifferentiate

✖


bCut

✓


cIntegrate

✖


dJoin

✖


View Answer Cut

Is partitioning method used by Tango Tree.


aTrue

✓


bFalse

✖


ceither true either false

✖


dNone of the mentioned

✖


View Answer True

Goto Page No.

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