1.
What is Non-linear data structure
A. 
B. 
C. 
D. 
2.
In linked lists there are no NULL links in
A. 
B. 
Linear doubly linked list
C. 
D. 
3.
In a stack the command to access nth element from the top of the stack S will be
A. 
B. 
C. 
D. 
4.
In a balance binary tree the height of two sub trees of every node can not differ by more than
A. 
B. 
C. 
D. 
5.
The result of evaluating prefix expression */b+*dacd, where a=3, b=6, c=1, d=5 is
A. 
B. 
C. 
D. 
6.
In array representation of binary tree the right child of root will be at location of
A. 
B. 
C. 
D. 
7.
The total number of comparisons in a bubble sort is
A. 
B. 
C. 
D. 
8.
The dummy header in linked list contain
A. 
First record of the actual data
B. 
Last record of the actual data
C. 
Pointer to the last record of the actual data
D. 
9.
A queue has configuration a,b,c,d. To get configuration d,c,b,a. One needs a minimum of
A. 
2 deletion and 3 additions
B. 
3 deletions and 2 additions
C. 
3 deletions and 3 additions
D. 
3 deletions and 4 additions
10.
Number of possible ordered trees with 3 nodes A,B,C is
A. 
B. 
C. 
D. 
11.
Number of swapping, operations need to sort numbers 8, 22, 7, 9, 31, 19, 5, 13 in ascending order using bubble sort
A. 
B. 
C. 
D. 
12.
A hash tabale with 10 buckets with one slot per bucket is depicted in following diagram. Symbols S1 to S7 are initially entered using a hashing function with linear probing. Maximum number of comparisions needed in searching an item that is not present is
A. 
B. 
C. 
D. 
13.
Following sequence of operation is performed on a stack. Push(1), Push(2), Pop, Push(1), Push(2), Pop, Pop, Pop, Push(2), Pop. The sequences of popped out values are
A. 
B. 
C. 
D. 
14.
A binary tree in which every non-leaf node has non-empty left and right sub trees is called a strictly binary tree. Such a tree with 10 leaves
A. 
B. 
C. 
D. 
15.
Depth of a binary tree with n node is
A. 
B. 
C. 
D. 
16.
To arrange a binary search tree in ascending order we need
A. 
B. 
C. 
D. 
17.
Average successful search time taken by binary search on sorted array of 10 items is
A. 
B. 
C. 
D. 
18.
Hash function f is defined as f(key) = key mod 7. If linear probing is used to insert the key 37, 38, 72, 48, 98, 11, 56 into a table indexed from 0 to 6, 11 will be stored at the location
A. 
B. 
C. 
D. 
19.
Average successful search time for sequential search on 'n' item is
A. 
B. 
C. 
D. 
20.
An algorithm consists of two modules X1, X2. Their order is f(n) and g(n), respectively. The order of algorithm is
A. 
B. 
C. 
D. 
21.
Bib O notation w.r.t algorithm signifies
A. 
It decides the best algorithm to solve a problem
B. 
It determines maximum size of a problem, that can be solved in given system in given time
C. 
It is the lower bound of growth rate of algorithm
D. 
22.
Running time T(n), where 'n' is input size of recursive algorithm is given as follows:T(n) = c + T(n-1), if n>1,T(n) = d if n<1. The order of algorithm is
A. 
B. 
C. 
D. 
23.
Four algorithm A1, A2, A3, A4 solves a problem with order log(n), log log(n), nlog(n), n. Which is best algorithm
A. 
B. 
C. 
D. 
24.
Arranging a pack of cards by picking one by one is an example of
A. 
B. 
C. 
D. 
25.
In evaluating arithmatic expression 2*3-(4+5) using postfix stack form. Which of the following stack configuration is not possible
A. 
-------Top--| 4 | 6 |------------
B. 
------Top--| 5 | 4 | 6 |------------
C. 
-------Top--| 9 | 6 |------------
D. 
------Top--| 9 | 3 | 2 |------------