Exam Questions
19 sets · 149 questions — organized by topic.
- Q1.
Explain What is a Data Structure? and illustrate with a short C program.
Hint: Aim for a definition + runnable snippet + sample output.
5 pts - Q2.
Write a C program that demonstrates Need & Importance of Data Structures in practice.
Hint: Include input, logic, and commented output lines.
8 pts - Q3.
Compare Types of Data Structures with a related concept and state when each is preferable.
Hint: Build a tiny pros/cons table; give a use-case for each side.
5 pts - Q4.
Debug — given a broken snippet using Linear Data Structures, identify the bug and fix it.
Hint: Explain the root cause in one line, then give the corrected code.
7 pts - Q5.
Design question — how would Non-Linear Data Structures scale for 1 million users?
Hint: Think about time/space complexity, caching, batching.
5 pts - Q6.
Explain Abstract Data Types (ADT) and illustrate with a short C program.
Hint: Aim for a definition + runnable snippet + sample output.
5 pts - Q7.
Write a C program that demonstrates Overview of Data Structures in C in practice.
Hint: Include input, logic, and commented output lines.
8 pts - Q8.
Compare Applications of Data Structures with a related concept and state when each is preferable.
Hint: Build a tiny pros/cons table; give a use-case for each side.
5 pts
