DocMCQs Educational Banner

Data Structure MCQs

Software is defined as _

A. a) set of programs, documentation & configuration of data
B. b) set of programs
C. c) documentation and configuration of data
D. d) None of the mentioned
Computer Science MCQS Data Structure MCQs

Which of the following is not the type of queue?

A. a) Priority queue
B. b) Circular queue
C. c) Single ended queue
D. d) Ordinary queue
Computer Science MCQS Data Structure MCQs

Which of the following tree data structures is not a balanced binary tree?

A. a) Splay tree
B. b) B-tree
C. c) AVL tree
D. d) Red-black tree
Computer Science MCQS Data Structure MCQs

What is a bit array?

A. a) Data structure that compactly stores bits
B. b) Data structure for representing arrays of records
C. c) Array in which elements are not present in continuous locations
D. d) An array in which most of the elements have the same value
Computer Science MCQS Data Structure MCQs

Which of the following application makes use of a circular linked list?

A. a) Recursive function calls
B. b) Undo operation in a text editor
C. c) Implement Hash Tables
D. d) Allocating CPU to resources
Computer Science MCQS Data Structure MCQs

Which data structure is based on the Last In First Out (LIFO) principle?

A. a) Tree
B. b) Linked List
C. c) Stack
D. d) Queue
Computer Science MCQS Data Structure MCQs

Which of the following points is/are not true about Linked List data structure when it is compared with an array?

A. a) Random access is not allowed in a typical implementation of Linked Lists
B. b) Access of elements in linked list takes less time than compared to arrays
C. c) Arrays have better cache locality that can make them better in terms of performance
D. d) It is easy to insert and delete elements in Linked List
Computer Science MCQS Data Structure MCQs

The prefix form of A-B/ (C * D ^ E) is?

A. a) -A/B*C^DE
B. b) -A/BC*^DE
C. c) -ABCD*^DE
D. d) -/*^ACBDE
Computer Science MCQS Data Structure MCQs

The data structure required for Breadth First Traversal on a graph is?

A. a) Array
B. b) Stack
C. c) Tree
D. d) Queue
Computer Science MCQS Data Structure MCQs

Which of the following statement(s) about stack data structure is/are NOT correct?

A. a) Top of the Stack always contain the new node
B. b) Stack is the FIFO data structure
C. c) Null link is present in the last node at the bottom of the stack
D. d) Linked List are used for implementing Stacks
Computer Science MCQS Data Structure MCQs

What data structure would you mostly likely see in non recursive implementation of a recursive algorithm?

A. a) Stack
B. b) Linked List
C. c) Tree
D. d) Queue
Computer Science MCQS Data Structure MCQs

What is the value of the postfix expression 6 3 2 4 + – *?

A. a) 74
B. b) -18
C. c) 22
D. d) 40
Computer Science MCQS Data Structure MCQs

Which data structure is needed to convert infix notation to postfix notation?

A. a) Tree
B. b) Branch
C. c) Stack
D. d) Queue
Computer Science MCQS Data Structure MCQs

Which of the following is not the application of stack?

A. a) Data Transfer between two asynchronous process
B. b) Compiler Syntax Analyzer
C. c) Tracking of local variables at run time
D. d) A parentheses balancing program
Computer Science MCQS Data Structure MCQs

Which data structure is used for implementing recursion?

A. a) Stack
B. b) Queue
C. c) List
D. d) Array
Computer Science MCQS Data Structure MCQs

What are the disadvantages of arrays?

A. a) Index value of an array can be negative
B. b) Elements are sequentially accessed
C. c) Data structure like queue or stack cannot be implemented
D. d) There are chances of wastage of memory space if elements inserted in an array are lesser than the allocated size
Computer Science MCQS Data Structure MCQs
Join Our WhatsApp Channel ×
Scroll to Top