# Data Structures and Algorithms Multiple Choice Questions - Set 17

161.       If a node having two children is deleted from a binary tree, it is replaced by its ...........
(A) In-order predecessor
(B) In-order successor
(C) Pre-order predecessor
(D) None of these
162.       In a min heap:
(A) minimum values are stored.
(B) child nodes have less value than parent nodes.
(C) parent nodes have less value than child nodes.
(D) maximum value is contained by the root node.
163.       The searching technique that takes O(1) time to find a data is
(A) Linear Search
(B) Binary Search
(C) Hashing
(D) Tree Search
164.       Select the incorrect statement. Binary search trees (regardless of the order in which the values are inserted into the tree):
(A) Always have multiple links per node.
(B) Can be sorted efficiently.
(C) Always have the same shape for a particular set of data.
(D) Are nonlinear data structures.
165.       A mathematical-model with a collection of operations defined on that model is called:
(A) Data Structure
(B) Abstract Data Type
(C) Primitive Data Type
(D) Algorithm

166.       The number of interchanges required to sort 5, 1, 6, 2, 4 in ascending order using Bubble Sort is
(A) 6
(B) 5
(C) 7
(D) 8
167.       The postfix form of the expression (A+ B)*(C*D− E)*F / G is:
(A) AB+ CD*E − FG /**
(B) AB + CD* E − F **G /
(C) AB + CD* E − *F *G /
(D) AB + CDE * − * F *G /
168.       The complexity of multiplying two matrices of order m*n and n*p is ................
(A) mnp
(B) mp
(C) mn
(D) np
169.       Merging 4 sorted files containing 50, 10, 25 and 15 records will take ............ time
(A) O(100)
(B) O(200)
(C) O(175)
(D) O(125)