- The complexity of Bubble sort algorithm is ………
(A) O (log n)
(B) O (n log n)
(C) O (n^2)
(D) None of the above
- Which of the following data structure stores heterogeneous data elements?
(A) Record
(B) Pointer
(C) Linear Array
(D) None of the above
- ……. is required for languages that support dynamic data structure.
(A) Stack allocation
(B) Static allocation
(C) Heap allocation
(D) None of the above
- In Binary Tree Traversal, the node is visited before its left and right sub trees is called…….
(A) pre order
(B) In order
(C) post order
(D) None of the above
- Which of the following is non linear data structure?
(A) Stack
(B) Tree
(C) Queue
(D) None of the above
- Which algorithm solves the all pairs shortest path problem ?
(A) Floyd’s algorithm
(B) Prim’s algorithm
(C) Both (A) & (B)
(D) None of the above
- Pre order traversal is also known as …….
(A) depth-first order
(B) end order
(C) symmetric order
(D) None of the above
- Queues can be used to implement ……
(A) recursion
(B) quick sort
(C) radix sort
(D) None of the above
- …… is a header list in which the last node contains the null pointer.
(A) Circular Header list
(B) Grounded Header list
(C) Both (A) & (B)
(D) None of the above
- Quick sort is also called …….
(A) Partition exchange sort
(B) Diminishing increment sort
(C) Both (A) & (B)
(D) None of the above
Sunday, December 27, 2015
GK
Labels:
quiz
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment