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

51. In a Heap tree values in a node is greater than

  • every value in left sub tree and smaller than
  • every value in children of it
  • Both of above conditions are true
  • None of above conditions are true
Show Answer Report

52. In a graph  if e=[u, v], Then u and v are called

  • endpoints of e
  • adjacent nodes
  • neighbors
  • all of the above
Show Answer Report

53. A connected graph T withut any cycles is called

  • tree
  • free tree
  • tree
  • All of the above
Show Answer Report

54. The difference between linear array and a record is

  • An array is suitable for homogeneous data but hte data items in a record may have diferent data type
  • In a record, there may not be a natural ordering in opposed to linear array.
  • A record form ahierachical structure but a linear array does not
  • All of above
Show Answer Report

55. The following data structure store the homogeneous data elements

  • Arrays
  • Records
  • Pointers
  • None of the above
Show Answer Report

56. Which of the following data structure is not linear data structure ?

  • Arrays
  • Linked lists
  • A and B are true
  • None is true
Show Answer Report

57. Object model is a

  • Rule
  • Process guidance
  • System model
  • Entity
Show Answer Report

58. Software engineering is an engineering discipline concerned with

  • Software concerned with
  • Software production
  • Software implementation
  • All the above
Show Answer Report

59. A workflow model represents

  • Sequence of activities
  • Role of users involved
  • Set of activities
  • None of these
Show Answer Report

60. Sensor component

  • Causes changes in system environment
  • Communicate with other components
  • Collects information from system environment
  • Coordinate the operation of other components.
Show Answer Report
Questions and Answers for Competitive Exams Various Entrance Test