Fundamentals of Data Structures - MCQ - I
Fundamentals of Data Structures - MCQ - I
Fundamentals of Data Structures - MCQ - I
CS(2020-2023 Batch)-Sem_III
Subject : Fundamentals of Data Structures
1. A refers to a single unit of values.
A. data value.
B. attribute value.
C. data item.
D. elementary.
ANSWER: C
4. In all the records contain the same data items with the same amount of space.
A. variable-length records.
B. fixed-length records.
C. subscripted variable.
D. superscripted variable.
ANSWER: B
5. The logical or mathematical model of a particular organization of data is called a .
A. data structure.
B. algorithms.
C. structure.
D. logic structure.
ANSWER: A
7. The data structure which reflects relationship among elements is called a rooted tree graph or simply a .
A. graph.
B. list.
C. tree.
D. stack.
ANSWER: C
8. is combining the records in two different sorted files in to a single sorted file.
A. Sorting.
B. Searching.
C. Listing.
D. Merging.
ANSWER: D
13. Sub algorithms fall into two basic categories: function sub algorithms and sub algorithms.
A. procedure.
B. argument.
C. processor.
D. methods.
ANSWER: A
14. The indirect change of the value of a variable in one module by another module is called .
A. local.
B. global.
C. side effect.
D. variable.
ANSWER: C
19. Which of the following is not the required condition for binary search algorithm?
A. The list must be sorted.
B. There should be the direct access to the middle element in any sub list.
C. There must be mechanism to delete and/or insert elements in list.
D. Direct access to the middle element in any sub list.
ANSWER: C
21. When new data are to be inserted into a data structure, but there is no available space; this situation is usually called .
A. underflow.
B. overflow.
C. houseful.
D. saturated.
ANSWER: B
25. To represent hierarchical relationship between elements, which data structure is suitable?
A. Dequeue.
B. Priority.
C. Tree.
D. Binary tree.
ANSWER: C
26. A binary tree whose every node has either zero or two children is called .
A. complete binary tree
B. binary search tree.
C. extended binary tree.
D. binary tree.
ANSWER: C
28. When converting binary tree into extended binary tree, all the original nodes in binary tree are .
A. internal nodes on extended tree.
B. external nodes on extended tree.
C. vanished on extended tree.
D. post order traversal.
ANSWER: A
29. The post order traversal of a binary tree is DEBFCA. Find out the preorder traversal.
A. ABFCDE.
B. ADBFEC.
C. ABDECF.
D. ABDCEF.
ANSWER: C
32. In a binary tree, certain null entries are replaced by special pointers which point to nodes higher in the tree for efficiency. These special pointers are
called .
A. leaf.
B. branch.
C. path.
D. thread.
ANSWER: D
36. is the advantage of chained hash table over the open addressing scheme.
A. worst case complexity of search operations is less. b. c. d.
B. space used is less.
C. deletion is easier.
D. space used in high.
ANSWER: B
37. The average number of key comparisons done in a successful sequential search in a list of length n is .
A. log n
B. n-1/2.
C. n/2.
D. n+1/2.
ANSWER: D
38. data structures are the fundamental data types which are supported by a programming language.
A. Primitive.
B. Linear.
C. Static.
D. Dynamic.
ANSWER: A
42. A is a collection of elements such that each element has been assigned a priority.
A. priority queue.
B. array.
C. stack.
D. queue.
ANSWER: A
44. A linked list whose last node points back to the list node instead of containing the null pointer .
A. circular list.
B. linked list.
C. circular doubly linked list.
D. doubly linked list.
ANSWER: A
46. data structures are those data structures which are created using primitive data structures.
A. Static.
B. Non-primitive.
C. User defined.
D. Table.
ANSWER: B
47. The for a linked list is a pointer variable that locates the beginning of the list.
A. anchor.
B. base.
C. footer.
D. header.
ANSWER: D
49. The time factor when determining the efficiency of algorithm is measured by .
A. counting microseconds.
B. counting the number of key operations.
C. counting the number of statements.
D. counting the kilobytes of algorithm.
ANSWER: B
50. The space factor when determining the efficiency of algorithm is measured by .
A. counting the maximum memory needed by the algorithm.
B. counting the minimum memory needed by the algorithm.
C. counting the average memory needed by the algorithm.
D. counting the maximum disk space needed by the algorithm.
ANSWER: A
55. A linked list is a linked list which always contains a special node called the header node, at the beginning of the list.
A. Doubly Linked List.
B. Circular List.
C. Header Linked List.
D. None.
ANSWER: C
56. is a header list where the last node points back to the header node.
A. Doubly header List.
B. Singly header List.
C. Grounder Header List.
D. Circular Header List.
ANSWER: D
57. The advantage of a two-way list and a circular header list is combined into a .
A. two-way circular header list.
B. two-way circular list.
C. two-way header circular list.
D. None.
ANSWER: A
58. The pointer of the last node contains a special value called .
A. null pointer.
B. index pointer.
C. pointer link.
D. address pointer.
ANSWER: B
59. The OS of a computer may periodically collect all the deleted space onto the free storage list. This technique is called .
A. buffering.
B. garbage collection.
C. deal location.
D. buffer collection.
ANSWER: B
60. Important part of any compiler is the construction and maintenances of a dictionary, this types of dictionary are called .
A. symbol table.
B. index table.
C. grammar table.
D. pointer table.
ANSWER: A
61. A graph is called if there is no single node whose removal causes the graph to break into two or more pieces.
A. pre-connected.
B. re-connected.
C. disconnected.
D. connected.
ANSWER: D
64. The earliest use of sorting was in conjunction with network analysis.
A. topological.
B. bubble.
C. radix.
D. heap.
ANSWER: A
65. A data structure is a set of .
A. characters.
B. numbers.
C. domains.
D. tables.
ANSWER: C
70. Matrices with a relatively high proportion of zero entries are called matrices.
A. sparse.
B. Null.
C. Zero.
D. worse.
ANSWER: A
71. Postfix Notation is also called as .
A. Reverse Polish Notation.
B. Polish notation.
C. Prefix Notation.
D. None of the above.
ANSWER: A
72. Data structure which is capable of expressing more complex relationship than that of physical adjacency is called .
A. linear data structure.
B. linked list.
C. non linear data Structure
D. data structure.
ANSWER: C
73. A tree is a data structure which represents hierarchical relationship between individual .
A. data items.
B. fields.
C. nodes.
D. linked list.
ANSWER: A
74. In a directed tree any node which has out degree 0 is called a terminal node or .
A. a tree.
B. a list.
C. a node.
D. a leaf.
ANSWER: D
75. In a directed tree if the ordering of the nodes at each level is prescribed then such a tree is called tree.
A. directed.
B. structure.
C. ordered.
D. degree of.
ANSWER: C
76. a tree means processing it in such a way that each node is visited only once.
A. Traversing.
B. Implement.
C. Partition.
D. Node.
ANSWER: A
77. The length of the path is the number of on the path.
A. nodes.
B. fields.
C. data.
D. edges.
ANSWER: D
80. A code which deals about short form of a program is called code.
A. program.
B. data.
C. pseudo.
D. derived.
ANSWER: C
82. The queue which wraps around upon reaching the end of the array is called as .
A. circular queue.
B. linked queue.
C. doubly linked list.
D. representation of queue.
ANSWER: A
83. A is a reference to a memory location, which is used to store data that is described in a data type.
A. element.
B. variable.
C. pointer.
D. memory.
ANSWER: B
88. A header linked list is a linked list which always contains a special node called the .
A. header node.
B. circular header.
C. grounded header.
D. null pointer.
ANSWER: A
89. is a solution to a problem independent of programming language.
A. Efficient.
B. Linked list.
C. Data structure.
D. Algorithm.
ANSWER: D
93. Each data item in a record may be a group item composed of sub-items; those items which are indecomposable are called
A. elementary items.
B. atoms.
C. scalars.
D. structure.
ANSWER: D
94. While inserting a node in linked list, a new node is received from list.
A. LINK.
B. INFO.
C. AVAIL.
D. none.
ANSWER: C
95. Which of the following is two way lists?
A. Grounded header list.
B. Circular header list.
C. linked list with header, left pointer and right pointer nodes.
D. Singly linked list.
ANSWER: C
96. What is the worst-case time for heap sort to sort an array of n elements?
A. O(log n).
B. O(n).
C. O(n log n).
D. O(n²).
ANSWER: C
102. The unit equal to the number of bits needed to represent a character is called a .
A. byte.
B. bit.
C. mega bytes.
D. kilo bytes.
ANSWER: A
105. In variable length storage two dollar signs are used to signal the .
A. end of the string.
B. beginning of the string.
C. mid-level of the string.
D. index.
ANSWER: A
112. The binary trees with special nodes called threads are called as .
A. threaded trees.
B. threaded cycles.
C. threaded graphs.
D. threaded lists.
ANSWER: A
113. For the heap sort, access to nodes involves simple operations.
A. binary.
B. arithmetic
C. algebraic
D. logarithmic
ANSWER: B
116. Which of the following is useful in traversing a given graph by Breath first search?
A. Stack.
B. Set.
C. List.
D. Queue.
ANSWER: D
122. The sequence (1,1) (2,1) (3,1) (1,2) (2,2) (3,2) ....... represents .
A. row major order.
B. column major order.
C. random order.
D. successive order.
ANSWER: B
126. The possibility of two different keys k1 & k2 yielding the same hash address is called .
A. merge.
B. obstacle.
C. overlapping.
D. collision.
ANSWER: C
127. Uniform distribution of the hash address throughout the given set L is .
A. reduce the number of collision.
B. increase the number of collision.
C. totally avoid collision.
D. manage address.
ANSWER: A
140. A grounded header list is a header list where the last node contains the pointer.
A. NULL.
B. START.
C. EOF.
D. FRONT.
ANSWER: A
141. A graph G is said to be if for any pair u, v of nodes in G there is a path from u to v or a path from v to u.
A. bidirectional Graph.
B. unilaterally connected graph.
C. fully connected graph.
D. None.
ANSWER: B
146. In every vertex of one set is adjacent to every vertex of second set.
A. Complete bipartite.
B. completed graph.
C. Vertex Tree.
D. None.
ANSWER: A
147. is finding a path/tour through the graph such that every vertex is visited exactly once.
A. Travelling Salesman tour.
B. Eulerian tour.
C. Hamiltonian tour.
D. None.
ANSWER: C