# YOU CAN DOWNLOAD 200+ SUBJECTS PDF BOOK FOR COMPETITIVE EXAMINATIONS

## Randomized Binary Search Tree Multiple choice Questions and Answers (MCQs)

Question 1 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |

Which of the following is a random tree?

Treap | |

Random Binary Tree | |

Uniform Spanning Tree | |

All of the mentioned |

Question 1 Explanation:

Treap, also known as random binary search tree, Random binary tree and Uniform spanning tree are all random tree. Random tree is a tree formed by a random process of addition and deletion of nodes.

Question 2 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |

Which process forms the randomized binary search tree?

Stochastic Process | |

Branching Process | |

Diffusion Process | |

Aggregation Process |

Question 2 Explanation:

The randomized binary search tree is formed by the stochastic process. The stochastic process or also called random process is a mathematical tool or object including random variables.

Question 3 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |

How many randomized binary search trees can be formed by the numbers (1, 3, 2)?

2 | |

3 | |

6 | |

5 |

Question 3 Explanation:

As there are 3 numbers (1, 3, 2) so total of 6 combinations can be formed using three numbers but Since (2, 1, 3) and (2, 3, 1) are same so in total there are 5 randomized binary search tree that can be formed.

Question 4 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |

What is the expected depth of a node in a randomized binary search tree?

log n | |

n! | |

n ^{2} | |

2 log n + O(1) |

Question 4 Explanation:

The expected value of depth of a node that is for a node a, the expected value of length of path from root to node a is found to be at most 2 log n + O(1).

Question 5 [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER] |

What is the longest length path for a node x in random binary search tree for the insertion process?

log x | |

x ^{2} | |

x! | |

4.311 log x |

Question 5 Explanation:

Although it is difficult to find the length of the longest path in randomized binary search tree, but it has been found that the longest length is around 4.311 log x.

There are 5 questions to complete.