2024 Previous Question Papers
2024 Previous Question Papers
R23
(OR)
7. a) Explain about advantages and disadvantages of arrays. [5M]
b) Develop a C Program to find the given element in the given array. [5M]
UNIT-IV
8. Explain about nested structures with program. [10M]
(OR)
9. a) Explain about pointers to pointers. [5M]
b) Explain about dynamic memory functions. [5M]
UNIT-V
10. a) Develop a C program to find GCD using recursion function. [5M]
b) Explain about parameter passing in functions. [5M]
(OR)
11. a) Describe briefly about random access of files. [5M]
b) Implement a C program to read name and marks of n number of [5M]
students from and store them in a file.
*****
08-06-2024 Page2 of 2
Code No:23CS1T01
R23
UNIT-I
2. a) Differentiate Flowchart vs Algorithm, state the limitations of the [5M]
Algorithm, how it is addressed in Flowchart.
b) Briefly Explain about Primary datatypes in C [5M]
(OR)
3. a) Draw the basic structure of a C program. [5M]
b) Briefly Explain about History of Computers. [5M]
UNIT-II
4. a) Write a C program to print grades of students using switch. [5M]
b) Differentiate switch vs Else-if Ladder with an example. [5M]
(OR)
5. a) Compare While and Do-while loops. [5M]
08-02-2024 Page 1 of 2
Code No:23CS1T01
R23
UNIT-III
6. a) Explain 2-d arrays with example. [5M]
b) Implement a C program to sort the given elements. [5M]
(OR)
7. a) What is string? How the memory is allocated for a string. [5M]
b) Write C Program to Compare two strings (without using String [5M]
functions).
UNIT-IV
8. a) Define pointer. Illustrate with an example. [5M]
b) Differentiate call by value vs call by reference with an example. [5M]
(OR)
9. Explain arrays of structures with an example program. [10M]
UNIT-V
10. a) List out various file operations. Illustrate with an example. [5M]
b) Implement a C program to read and print the content of the file. [5M]
(OR)
11. Explain about storage classes in C with programs. [10M]
*****
08-02-2024 Page 2 of 2