Data Structure & Algorithms Questions and Answers

Take Exam

Data Structures and Algorithms (DSA) form the foundation of programming and are highly important in campus placement exams and coding interviews. This resource includes Data Structure & Algorithms Questions with Answers designed to help students prepare for real interview patterns from companies such as TCS, Wipro, Cognizant, Capgemini, Amazon, and Infosys. These questions include programming logic, complexity analysis, and practical coding-based MCQs aligned with competitive tests. Concepts covered include arrays, stacks, queues, trees, hashing, recursion, sorting, and searching algorithms. The content also integrates programming interview questions with explanations, helping learners understand both logic and implementation. Practicing these questions supports placement readiness and improves problem-solving skills needed for technical and HR interview rounds.

Data Structure & Algorithms

Showing 10 of 77 questions

1. Each  data item in a record may be a group item composed of sub-items; those items which are indecomposabe are called

  • lementary items
  • Atoms
  • Scalars
  • All of above
Show Answer Report

2. Which of the following statement is false ?

  • Arrays re dense lists and static data structure
  • Data elements in linked list need not be stored in adjacent space in memory
  • Pointers store the next data element of a list
  • Linked lists are collection of the nodes that contain information part and next pointer
Show Answer Report

3. Binary search algorithm cannot be applied to

  • Sorted binary trees
  • Sorted linear array
  • Pointer array
  • Sorted linked list
Show Answer Report

4. When new data are to be inserted into a data structure, but there is no available space; this situation is usually called

  • Housefull
  • Saturated
  • Underflow
  • Overflow
Show Answer Report

5. When new data are to be inserted into a data structure, but there is no available space; this situation is usually called

  • Housefull
  • Saturated
  • Underflow
  • Overflow
Show Answer Report

6. The situation when in a linked list START=NULL is

  • Underflow
  • Overflow
  • Housefull
  • Saturated
Show Answer Report

7. The following i two-way list

  • Grounded header list
  • Circular header list
  • Linked list with header and trailer nodes
  • None of above
Show Answer Report

8. The following name does not relate to stacks

  • FIFO lists
  • LIFO list
  • Piles
  • Push-down lists
Show Answer Report

9. In a binary tree, certain null entries are replaced by special pointers which point to nodes higher in tree for efficiency. These special pointers are called

  • Leaf
  • Branch
  • Path
  • Thread
Show Answer Report

10. In a graph if e=(u, v) means

  • e begins at u and ends at v
  • u is processor and v is successor
  • both B and C are true
  • none is true
Show Answer Report
Questions and Answers for Competitive Exams Various Entrance Test