CS301 Midterm Online Quiz

0%

CS301-Midterm

1 / 50

The operation for adding an entry to a stack is traditionally called :    

2 / 50

The operation for adding an entry to a stack is traditionally called :

3 / 50

Each node in doubly link list has,

4 / 50

Which one of the following statements is correct?

5 / 50

 Which of the above is/are related to normal queues?

6 / 50

________ is the maximum number of nodes that you can have on a stack-linked list ?

7 / 50

Which of the following abstract data types are NOT used by Integer Abstract Data type group?

8 / 50

What statement changes currentNode so that it refers to the next node?

9 / 50

 A queue where the de-queue operation depends not on FIFO, is called a priority queue

10 / 50

Which one of the following calling methods does not change the original value of the argument in the calling function?

11 / 50

Which of the following is a non linear data structure?

12 / 50

Which one of the following operators has higher priority than all of others?

13 / 50

We access elements in AVL Tree in,

14 / 50

bool LessThan( SomeClass anotherObject ); Which of the following tests in the client code correctly compares two class objects alpha and beta?

15 / 50

What is the maximum depth of recursive calls a function may make?

16 / 50

The tree data structure is a

17 / 50

The data of the problem is of 2GB and the hard disk is of 1GB capacity, to solve this problem we should

18 / 50

The expression AB+C* is called?

19 / 50

AVL Tree is,

20 / 50

In which of the traversal method, the recursive calls can be used to traverse a binary tree ?

21 / 50

Which statement of the following statements is incorrect?

22 / 50

There is/are case/s for rotation in an AVL tree,

23 / 50

bool LessThan( SomeClass anotherObject ); Which of the following tests in the client code correctly compares two class objects alpha and beta?

24 / 50

What is the maximum depth of recursive calls a function may make?

25 / 50

Which one of the following is a valid postfix expression?

26 / 50

Which one of the following statements is NOT correct?

27 / 50

The operation for removing an entry from a stack is traditionally called:

28 / 50

Which one of the following is correct in respect of the above statements regarding the Binary trees?

29 / 50

Is a data structure that can grow easily dynamically at run time without having to copy existing elements?

30 / 50

A Compound Data Structure is the data structure which can have multiple data items of same type or of different types.Which of the following can be considered compound data structure?

31 / 50

We access elements in AVL Tree in,

32 / 50

Suppose n is the number of nodes in a complete Binary Tree then maximum steps required for a search operation are,

33 / 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’);

34 / 50

In a program a reference variable, say x, can be declared as

35 / 50

Where does the push member function place the new entry in the array?

36 / 50

We can add elements in QUEUE From _________

37 / 50

A tree is an AVL tree if

38 / 50

Consider the following function: void test_a(int n) { cout << n << " "; if (n>0) test_a(n-2); } What is printed by the call test_a(4)?

39 / 50

A queue where the de-queue operation depends not on FIFO, is called a priority queue

40 / 50

In an array list the current element is

41 / 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?

42 / 50

Queue follows,

43 / 50

Which of the following is Non Linear Data Structure?

44 / 50

The operation for removing an entry from a stack is traditionally called:

45 / 50

A queue where the de-queue operation depends not on FIFO, is called a priority queue

46 / 50

The nodes with no successor are called _________

47 / 50

AVL Tree is,

48 / 50

AVL Tree is,

49 / 50

Which one of the following calling methods does not change the original value of the argument in the calling function?

50 / 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’);

Your score is

The average score is 51%

0%

Qunoot e Nazilah
Dua e Hajat
4 Qul
6 Kalma
Dua-e-Akasha
Darood Akbar
Surah Fatiha
Dua-e-Ganj Ul Arsh
Dua-e-Jamilah
Ayat-ul-Kursi