Data Structures
Data Structures
Answer
(A) Dope vector
Answer
(B) double ended queue
3.A sort that compares each element with its adjacent element in a list is called…..
(A) Bubble Sort
(B) Insertion Sort
(C) Quick Sort
(D) Heap Sort
Answer
(A) Bubble Sort
4.Which of the following data structure is required to evaluate a post fix expression
(A) Stack
(B) linked list
(C) Array
(D) None of the above
Answer
(A) Stack
Answer
(B) Symmetric order
7.A matrix in which number of zero elements are much higher than the number of non zero elements is
called
(A) Scalar Matrix
(B) Identity Matrix
(C) Sparse Matrix
(D) None of the above
Answer
(C) Sparse Matrix
Answer
(D) Bubble Sort
Answer
(C) Lower bound
Answer
(D) Stack
Answer
(B) rear
Answer
(B) stack
Answer
(A) Last In First Out
Answer
(B) Upper bound
Answer
(C) base address
Answer
(C) O(n (log n)^2)
Answer
(A) Array
8.….. is a technique to convert a range of key values into a range of Indices of an Array
(A) Thrashing
(B) Hashing
(C) Interpolation
(D) None of the above
Answer
(B) Hashing
Answer
(A) Bounded queue
Answer
(D) Brick Sort
Answer
(C) Insert
Answer
(B) Empty
Answer
(A) One way list
Answer
(B) Tree
5.The process of accessing data stored in a tape is similar to handle data on…….
(A) Linked List
(B) Tree
(C) Array
(D) Queue
Answer
(D) Queue
6.Which of the following search start at the beginning of the list and each element in the list
(A) Linear Search
(B) Binary Tree Search
(C) Hash Search
(D) None of the above
Answer
(A) Linear Search
7.In Binary Tree Traversal, the node is visited between the sub trees is called……
(A) Pre-order traversal
(B) In-order traversal
(C) Post-order traversal
(D) None of the above
Answer
(B) In-order traversal
Answer
(D) Linear Array
9.…….. is a data structure in which each node has at most two children.
(A) Red-Black Tree
(B) Binary Tree
(C) AVL Tree
(D) None of the above
Answer
(B) Binary Tree
Answer
(C) Merge Sort
Print Server uses ….. which is a buffer that holds data before it is send to the printer
(A) Queue
(B) Stack
(C) Spool
(D) None of the above
Answer
(C) Spool
2.…… is a balanced binary search tree in which the difference between the height of any node’s left and
right sub tree is at most one.
(A) AVL Tree
(B) Red-Black Tree
(C) 2-3-4 Tree
(D) None of the above
Answer
(A) AVL Tree
Answer
(B) rear
4.The process of deleting an element from the top of stack is called ….. operation
(A) POP
(B) PUSH
(C) Both (A) & (B)
(D) None of the above
Answer
(A) POP
Answer
(C) Divide and Conquer method
Answer
(C) First In First Out (FIFO)
Answer
(C) Linear Array
Answer
(B) Recursion
10.Which of the following is used to find the location of an element with a given value
(A) Search
(B) Iteration
(C) Traversal
(D) None of the above
Answer
(A) Search
Answer
(C) O (n^2)
Answer
(A) Record
Answer
(C) Heap allocation
4.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
Answer
(A) pre order
Answer
(A) Floyd’s algorithm
Answer
(A) depth-first order
Answer
(C) radix sort
9.…… 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
Answer
(B) Grounded Header list
Answer
(A) Partition exchange sort
Answer
(C) Sequential Search
Answer
(C) Both (A) & (B)
Answer
(D) Slot
4.The common way of keeping subsequent items within the table and computing possible positions is
termed as …………
(A) Direct Chaining
(B) Open Addressing
(C) Both (A) & (B)
(D) None of the above
Answer
(B) Open Addressing
Answer
(A) Sentinel
6.In Binary Tree Traversal, the node is visited after both trees is called…….
(A) pre order
(B) In order
(C) post order
(D) None of the above
Answer
(C) post order
Answer
(B) Diminishing increment sort
Answer
(B) O (n log n)
9.…… is a header list in which the last node points back to the header node.
(A) Circular Header linked list
(B) Grounded Header linked list
(C) Both (A) & (B)
(D) None of the above
Answer
(A) Circular Header linked list
10.A pointer that contains the address of a heap-dynamic variable is called …..
(A) Dangling pointer
(B) Null pointer
(C) Void pointer
(D) None of the above
Answer
(A) Dangling pointer
Answer
(C) Both (A) & (B)
2.A set of functions that grow slower than or at the same rate as expression is represented by_____
(A) Big Omega notation
(B) Theta notation
(C) Big O notation
(D) None of the above
Answer
(C) Big O notation
Answer
(B) Heap Sort
5.The space required to store the values of all the constants and variables is called_______
(A) Instruction space
(B) Data Space
(C) Environment Space
(D) None of the above
Answer
(B) Data Space
6.In Heap data structure, If the parent nodes are greater than their children nodes then it is called
__________
(A) Max-Heap
(B) Min-Heap
(C) Both (A) & (B)
(D) None of the above
Answer
(A) Max-Heap
7.The Quick sort algorithm divides the list into ______ main parts
(A) Four
(B) Six
(C) Five
(D) Three
Answer
(D) Three
8.Circular linked list can also be used to create _____
(A) Priority Queue
(B) Double ended Queue
(C) Circular queue
(D) None of the above
Answer
(C) Circular queue
Answer
(D) All of the above
Answer
(D) All of the above
Answer
(D) Both (A) & (B)
2.Which of the following is/are real time application(s) of Circular linked list
(A) Printer
(B) Multi player games
(C) Interrupts handling in real-time systems
(D) All of the above
Answer
(B) Multi player games
Answer
(C) Push down list
Answer
(A) Greedy algorithm
Answer
(C) priority queue
6.________is an algorithm that builds a solution by repeated selecting the cheapest among all options at
each stage.
(A) Greedy algorithm
(B) Backtracking algorithm
(C) Divide and Conquer method
(D) None of the above
Answer
(A) Greedy algorithm
7.The Complexity of Quick Sort algorithm is ______
(A) O (n^2)
(B) O (n log n)
(C) O (n)
(D) None of the above
Answer
(B) O (n log n)
Answer
(C) Quick Sort
9.A mathematical-model of user defined type along with the collection of all operations defined on that
model is known as ______
(A) Data Structure
(B) Primitive Data Type
(C) Algorithm
(D) Abstract Data Type
Answer
(D) Abstract Data Type
10.In ________ traversal we can convert a binary tree into its mirror image.
(A) In order
(B) Pre order
(C) Post order
(D) None of the above
Answer
(C) Post order
Answer
(B) Reverse
2.Which of the following begins the search with the element that is located in the middle of the Array
(A) Random Search
(B) Parallel Search
(C) Binary Search
(D) Serial Search
Answer
(D) Serial Search
3.In a Circular linked list, insertion of a record involves the modification of____
(A) 1 Pointer
(B) 2 Pointer
(C) 3 Pointer
(D) None of the above
Answer
(B) 2 Pointer
4.Which of the following is useful in traversing a given graph by breadth first search
(A) Stack
(B) List
(C) Queue
(D) None of the above
Answer
(C) Queue
5.A characteristic of the data that binary search uses but linear search ignores is______
(A) Order of the list
(B) length of the list
(C) Both (A) & (B)
(D) None of the above
Answer
(A) Order of the list
6.A sort which iteratively passes through a list to exchange the first element with any element less than
it and then repeats with a new first element is called__________
(A) Heap Sort
(B) Quick Sort
(C) Selection Sort
(D) None of the above
Answer
(C) Selection Sort
7.To insert a node in a circular list at rear position, it should be inserted at ______ of the Queue.
(A) Front – 1 position
(B) Rear position
(C) Front position
(D) None of the above
Answer
(C) Front position
8.In an extended-binary tree, the nodes with two children are called ……..
(A) Interior node
(B) Domestic node
(C) Internal node
(D) Inner node
Answer
(C) Internal node
Answer
(B) Leaf
Answer
(B) Array with pointers