DataStructures

Is this your test? Login to manage it. If not, you can make a quiz just like it.

This is a non-interactive preview of the quiz content.

1.
1 point
A complete Binary Tree with 15 nodes contains________edges
2.
1 point
The balance factor for an AVL tree is either
3.
1 point
The operation of processing each element in the list is known as
4.
1 point
In a binary tree, the number of terminal or leaf nodes is 10. The number of nodes with two children is
5.
1 point
The search technique for searching a sorted file that requires increased amount of space is
6.
1 point
When determining the efficiency of algorithm the time factor is measured by
7.
1 point
The number of unused pointers in a complete binary tree of depth 5 is
8.
1 point
The prefix form of an infix expression A+B-C*D is
9.
1 point
What will be the output of following statements ?
char x[ ] = "hello hi"; printf("%d%d",sizeof(*x),sizeof(x));
10.
1 point
The Average case occur in linear search algorithm
11.
1 point
Inorder to get the information stored in a BST in the descending order, one should traverse it in which of the following order?
12.
1 point
The elements of an array are stored successively in memory cells because
13.
1 point
Level of any node of a tree is
14.
1 point
Which of the following data structure is linear data structure?
a.
b.
c.
d.
15.
1 point
The postfix form of A ^ B * C - D + E/ F/ (G + H),
16.
1 point
Arrays are best data structures
17.
1 point
Applications of Linked List are
18.
1 point
A graph with n vertices will definitely have a parallel edge or self loop if the total
number of edges are
19.
1 point
Which of the following case does not exist in complexity theory
20.
1 point
Finding the location of the element with a given value is:
21.
1 point
The order of a B-Tree with 2, 3, 4 or 5 children in every internal node is
22.
1 point
Graphs are represented using
23.
1 point
The complexity of Binary search algorithm is
24.
1 point
What will be the output of following statements ?
char x[ ] = "hello hi"; printf("%d%d",sizeof(*x),sizeof(x));
25.
1 point
Which is not dynamic memory allocation function?
26.
1 point
The elements of an array are stored successively in memory cells because
a.
b.
c.
d.
27.
1 point
Two main measures for the efficiency of an algorithm are
28.
1 point
In linear search algorithm the Worst case occurs when
29.
1 point
What would be returned by the following recursive function after we call test (0, 3)
int test (int a, int b)
{
if (a==b) return (1);
else if (a>b) return(0);
else return (a+test(a+1, b));
}
30.
1 point
What will be the output of the following statements ?int i = 1,j; j=i--- -2; printf("%d",j);
31.
1 point
Direct or random access of elements is not possible in
32.
1 point
In ________, it is possible to traverse a tree without using stacks either implicitly or
explicitly.
33.
1 point
Out of the following, the slowest sorting procedure is
34.
1 point
For implementing recursive function the data structure used is:
35.
1 point
The result of evaluating the following postfix expression is
5, 7, 9, *, +, 4, 9, 3, /, +, -
36.
1 point
When determining the efficiency of algorithm, the space factor is measured by