CS301-Midterm
1 / 50
_________ is a binary tree where every node has a value, every node's left subtree contains only values less than or equal to the node's value, and every node's right subtree contains only values that are greater then or equal?
2 / 50
An array is a group of consecutive related memory locations.
3 / 50
The nodes with no successor are called _________
4 / 50
The operation for removing an entry from a stack is traditionally called:
5 / 50
In which of the traversal method, the recursive calls can be used to traverse a binary tree ?
6 / 50
________ is the maximum number of nodes that you can have on a stack-linked list ?
7 / 50
The difference between a binary tree and a binary search tree is that ,a binary search tree has
8 / 50
A queue where the de-queue operation depends not on FIFO, is called a priority queue
9 / 50
Which of the following can be used to reverse a string value,
10 / 50
Each node in doubly link list has,
11 / 50
Suppose n is the number of nodes in a complete Binary Tree then maximum steps required for a search operation are,
12 / 50
Which one of the following calling methods does not change the original value of the argument in the calling function?
13 / 50
The expression AB+C* is called?
14 / 50
Which of the following is Non Linear Data Structure?
15 / 50
Queue follows,
16 / 50
The data of the problem is of 2GB and the hard disk is of 1GB capacity, to solve this problem we should
17 / 50
Which statement of the following statements is incorrect?
18 / 50
A tree is an AVL tree if
19 / 50
What is the maximum depth of recursive calls a function may make?
20 / 50
The operation for adding an entry to a stack is traditionally called :
21 / 50
Consider the following infix expression: 3+5*6–7*(8+5) Which of the following is a correct equivalent expression(s) for the above?
22 / 50
23 / 50
Which of the above is/are related to normal queues?
24 / 50
We access elements in AVL Tree in,
25 / 50
26 / 50
bool LessThan( SomeClass anotherObject ); Which of the following tests in the client code correctly compares two class objects alpha and beta?
27 / 50
28 / 50
Which one of the following statements is correct?
29 / 50
In a program a reference variable, say x, can be declared as
30 / 50
Consider the following sequence of push operations in a stack: stack.push(’7’); stack.push(’8’); stack.push(’9’); stack.push(’10’); stack.push(’11’); stack.push(’12’);
31 / 50
is a binary tree where every node has a value, every node's left subtree contains only values less than or equal to the node's value, and every node's right subtree contains only values that are greater then or equal ?
32 / 50
Which of the following is a non linear data structure?
33 / 50
34 / 50
A binary search tree should have minimum of one ________ node/s at each level,
35 / 50
In the linked list implementation of the stack class, where does the push member function places the new entry on the linked list?
36 / 50
37 / 50
What statement changes currentNode so that it refers to the next node?
38 / 50
AVL Tree is,
39 / 50
40 / 50
Which of the following abstract data types are NOT used by Integer Abstract Data type group?
41 / 50
There is/are case/s for rotation in an AVL tree,
42 / 50
43 / 50
Which one is INCORRECT?
44 / 50
We can add elements in QUEUE From _________
45 / 50
Which one is a self- referential data type?
46 / 50
47 / 50
Which one of the following operators has higher priority than all of others?
48 / 50
Which one of the following is correct in respect of the above statements regarding the Binary trees?
49 / 50
Each node in Binary Search Tree has
50 / 50
Your score is
The average score is 51%
Restart quiz