DATA STRUCTURES PRELIM EXAM
QUESTIONS WITH CORRECT
ANSWERS
Data Structure - Correct Answers -- A systematic way to organize data in order to use it
efficiently.
Interface - Correct Answers -- Each data structure has this.
- It represents the set of operations that a data structure supports.
- It only provides the list of supported operations, type of parameters they can accept
and return type of these operations.
Algorithm - Correct Answers -- Is a step-by-step procedure, which defines a set of
instructions to be executed in a certain order to get the desired output.
- They are generally created independent of underlying languages, i.e. it can be
implemented in more than one programming language.
Search, sort, insert, update, delete - Correct Answers -5 important categories of
algorithms
Data Structures & Algorithms - Correct Answers -- They are two of the most important
aspects of computer science
Why we need to study DSA - Correct Answers -- DSA enables you to solve real-world
problems
- DSA helps in writing Optimized Code
- DSA opens up the path to becoming a Computer Scientist
- Improves Adaptability to Emerging Tech Stacks
- Helps you crack the top tech companies
Feasibility - Correct Answers -Should be feasible with the available resources.
Independent - Correct Answers -An algorithm should have step-by-step directions,
which should be independent of any programming code
Priori Analysis - Correct Answers -This is a theoretical analysis of an algorithm.
Efficiency of an algorithm is measured by assuming that all other factors, for example,
processor speed, are constant and have no effect on the implementation.
QUESTIONS WITH CORRECT
ANSWERS
Data Structure - Correct Answers -- A systematic way to organize data in order to use it
efficiently.
Interface - Correct Answers -- Each data structure has this.
- It represents the set of operations that a data structure supports.
- It only provides the list of supported operations, type of parameters they can accept
and return type of these operations.
Algorithm - Correct Answers -- Is a step-by-step procedure, which defines a set of
instructions to be executed in a certain order to get the desired output.
- They are generally created independent of underlying languages, i.e. it can be
implemented in more than one programming language.
Search, sort, insert, update, delete - Correct Answers -5 important categories of
algorithms
Data Structures & Algorithms - Correct Answers -- They are two of the most important
aspects of computer science
Why we need to study DSA - Correct Answers -- DSA enables you to solve real-world
problems
- DSA helps in writing Optimized Code
- DSA opens up the path to becoming a Computer Scientist
- Improves Adaptability to Emerging Tech Stacks
- Helps you crack the top tech companies
Feasibility - Correct Answers -Should be feasible with the available resources.
Independent - Correct Answers -An algorithm should have step-by-step directions,
which should be independent of any programming code
Priori Analysis - Correct Answers -This is a theoretical analysis of an algorithm.
Efficiency of an algorithm is measured by assuming that all other factors, for example,
processor speed, are constant and have no effect on the implementation.