gs gs121 Binary Trees - Binary Trees using Array - Quiz No.1

gs gs121 Data Structures and Algorithms Quiz

Online Quizzes Preparation

This quiz belongs to book/course code gs gs121 Data Structures and Algorithms of gs organization. We have 169 quizzes available related to the book/course Data Structures and Algorithms. This quiz has a total of 10 multiple choice questions (MCQs) to prepare and belongs to topic Binary Trees. NVAEducation wants its users to help them learn in an easy way. For that purpose, you are free to prepare online MCQs and quizzes.

NVAEducation also facilitates users to contribute in online competitions with other students to make a challenging situation to learn in a creative way. You can create one to one, and group competition on an topic of a book/course code. Also on NVAEducation you can get certifications by passing the online quiz test.

Question 1: How many children does a binary tree have?
Question 2: What is/are the disadvantages of implementing tree using normal arrays?
Question 6: If the tree is not a complete binary tree then what changes can be made for easy access of children of a node in the array?
Question 8: Consider a situation of writing a binary tree into a file with memory storage efficiency in mind, is array representation of tree is good?
Question 9: Why is heap implemented using array representations than tree(linked list) representations though both tree representations and heaps have same complexities?

 for binary heap -insert: O(log n) -delete min: O(log n)  for a tree -insert: O(log n) -delete: O(log n) 

Then why go with array representation when both are having same values ?

Question 10: Can a tree stored in an array using either one of inorder or post order or pre order traversals be again reformed?


Online Quizzes of gs121 Data Structures and Algorithms

Other DS related online quizzes

Other categories of gs Online Quizzes

Other organizations

Theme Customizer

Gaussian Texture



Gradient Background