MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

DATA STRUCTURES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following is not an advantage of trees?
A
Hierarchical structure
B
Faster search
C
Router algorithms
D
Undo/Redo operations in a notepad
Explanation: 

Detailed explanation-1: -Explanation: Undo/Redo operations in a notepad is one of the use of stack whereas hierarchical structure, faster search and router algorithms are the advantages of the trees. Final Answer: Hence, the correct option is D i.e., Undo/Redo operations in a notepad.

Detailed explanation-2: -Tree-structured directories do not allow file sharing between users. They are also inefficient in the sense that accessing a file may force you to go under multiple directories.

Detailed explanation-3: -Hierarchical structure, Faster search, Router algorithms are advantages of trees.

There is 1 question to complete.