Aptitude Reasoning English GK Computer Knowledge Programming Skill Banking Software Testing



Question - 1

Which is not an area of applications of Data Structure?

  • Compiler Design
  • Operating System
  • Database Management System
  • Networking
Solutions
Question - 2

 A procedure that calls itself is called

  • illegal call
  • Reverse Polish
  • Recursive
  • None of above
Solutions
Question - 3

On which principle does stack work?

  • FILO
  • FIFO
  • LILO
  • LIFO or FILO
Solutions
Question - 4

Which one of the below mentioned is a linear data structure

  • Queue
  • Stacks
  • Arrays
  • All the Above
Solutions
Question - 5

Removing an element from the stack is called?

  • pop
  • push
  • delete
  • None
Solutions
Question - 6

removing an element from the empty stack  called as 

  • Underflow of Stack
  • Stack Removal
  • Overflow of Stack
  • Empty Collection
Solutions
Question - 7

Inserting an element in the stack is called as

  • Create
  • Push
  • Pop
  • None
Solutions
Question - 8

 The minimum number of edges required to create a cyclic graph of n vertices is

  • n
  • n-1
  • n+1
  • 2n
Solutions
Question - 9

What differentiates a circular linked list from a normal linked list?

  • You may or may not have the ‘next’ pointer point to null in a circular linked list
  • You cannot have the ‘next’ pointer point to null in a circular linked list
  • Head node is known in circular linked list
  • It is faster to traverse the circular linked list
Solutions
Question - 10

Which of the below given sorting techniques has highest best-case runtime complexity

  • Quick sort
  • Bubble Sort
  • Insertion Sort
  • Selection Sort
Solutions
Question - 11

Expression in which Operator is written after Operand is called as

  • Infix Expression
  • Postfix Expression
  • Prefix Expression
  • None
Solutions
Question - 12

Tower of hanoi is a classic example of

  • divide and conquer
  • recursive approach
  • B but not A
  • Both A and B
Solutions
Question - 13

If we choose Prim‘s Algorithm for uniquely weighted spanning tree instead of Kruskal‘s Algorithm, then

  • we'll get a different spanning tree
  • we'll get the same spanning tree.
  • spanning will have less edges.
  • spanning will not cover all vertices.
Solutions
Question - 14

Consider the following operation performed on a stack of size 5.
Push(1);
Pop();
Push(2);
Push(3);
Pop();
Push(4);
Pop();
Pop();
Push(5);
After the completion of all operation, the number of elements present in stack are

  • 1
  • 2
  • 3
  • 4
Solutions
Question - 15

An adaptive sorting algorithm

  • adapts to new computers.
  • takes advantage of already sorted elements.
  • takes input which is already sorted.
  • None of these
Solutions
Question - 16

The type of expression in which operator succeeds its operands is?

  • Postfix Expression
  • Infix Expression
  • Prefix Expression
  • Both Prefix and Postfix Expressions
Solutions
Question - 17

 What is the space complexity of the above recursive implementation to find the factorial of a number?

  • O(1)
  • O(n)
  • O(n2)
  • O(n3)
Solutions
Question - 18

Which of the following is not an advantage of trees?

  • Faster search
  • Hierarchical structure
  • Router algorithms
  • Undo/Redo operations in a notepad
Solutions
Question - 19

Which of the following is non-linear data structure?

  • Trees
  • Stacks
  • Strings
  • None of the above
Solutions
Question - 20

Which is not the operation that can be performed on queue.

  • Traversal
  • Insertion
  • Deletion
  • Retireval
Solutions
Tags:
Data Structure MCQ (Multiple Choice Questions), Advanced Data Structure MCQ, Data Structure MCQ Online test,Data Structure MCQ Questions and answers PDF, Data Structure Interview Questions With Answers, Data Structure Technical Questions with full explanation