100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Tree and Graphs most asked MCQ $8.49   Add to cart

Other

Tree and Graphs most asked MCQ

 0 view  0 purchase
  • Course
  • Institution

Document containing multiple-choice questions (MCQs) on trees and graphs can be a helpful resource for clearing concepts related to these topics. Trees and graphs are fundamental data structures in computer science and have various applications in areas such as algorithms, network analysis, and dat...

[Show more]

Preview 2 out of 5  pages

  • May 19, 2023
  • 5
  • 2022/2023
  • Other
  • Unknown
avatar-seller
Tree And Graph

TREE

1.
In which of the tree traversal method root node is always
visited first.

A. Inorder
B. Preorder
C. Postorder
D. In all of the above

Answer: B

2.
In which of the tree traversal method elements gets
visited in an ascending order.

A. Inorder
B. Preorder
C. Postorder
D. In all of the above

Answer: A

3.
For which of the following tree traversal algorithm do not
requires a stack.

A. Inorder
B. Postorder
C. Depth First Search
D. Breadth First Search

Answer: D


4.
Node which is having non-zero degree called as _______.



Augest 2019 – December 2019 1

, Tree And Graph
A. Zero Degree Node
B. Leaf node
C. Root Node
D. Null Node

Answer: B

5.
Binary tree in which all leaf nodes are at same level and
has exactly two children is called as _____________.

A. Perfect Binary Tree
B. Complete Binary Tree
C. Strictly Binary Tree
D. All of the above

Answer: A

6.
Binary Tree with minimum possible height is called as ___.

A. Shortest Binary Tree
B. Min Height Tree
C. Balanced Binary Search Tree
D. None of the above

Answer: C

7.
In a Binary Search Tree searching operation takes ___time.

A. O(1)
B. O(n)
C. O(log n)
D. O(n log n)

Answer: C




Augest 2019 – December 2019 2

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller pvkteams. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $8.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

78861 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$8.49
  • (0)
  Add to cart