181AP_1 PPS R22
181AP_1 PPS R22
PART- A
(10 Marks)
PART - B
(50 Marks)
2.a) Differentiate between object code and executable code in the context of compiling a
program.
b) Discuss the different storage classes in C programming. [5+5]
OR
3.a) Discuss the different types of loops in C programming.
b) How can you pass command line arguments to a C program? Provide a step-by-step
explanation. [5+5]
8.a) Explain the process of freeing memory in C. What happens if memory is not freed after
allocation?
b) Discuss the limitations of recursive functions. What factors should be considered before
using recursion? [5+5]
OR
9. Describe the concept of passing parameters to functions in C with example programs.
[10]
10.a) Write an algorithm for binary search and implement with an example.
b) Define Big O notation and explain its significance in analyzing algorithm efficiency.
[5+5]
OR
11. Explain the bubble sort algorithm step by step with an example. [10]
---ooOoo---