Programming in C-Internal 1 Question Paper -kiruthika
Programming in C-Internal 1 Question Paper -kiruthika
No:
AALIM MUHAMMED
SALEGH COLLEGE OF
ENGINEERING
INTERNAL ASSESSMENT II,
APRIL / MAY 2025
Subject Code : CS3251
Subject Title :
PROGRAMMING IN C
Year /Sem: I /II
(Regulations R- 2021)
Common to ALL
branches
Time: 03.00 hours Maximum: 100 Marks
Answer ALL Questions Date: 11.04.2025
CO1
To understand the constructs of C Language.
CO2 To develop C Programs using basic programming constructs.
CO3 To develop C programs using arrays and strings.
PART – B [5 X 16 = 80 Marks]
a Discuss the structure of C program in detail and explain with simple hello world CO
L1
6 ) program 3
OR
b Explain the terms variables and constants. How many types of Variables are, CO
L1
) supported by C 3
a Explain in detail about the various syntaxes that supports Decision Making CO
L1
) process with example? 4
7 OR
b What are the functionalities of preprocessor and Compiler? Explain with a CO
L1
) simple example 5
a CO
Differentiate binary search from linear search? L2
8 ) 3
OR
b CO
Write a C program to compare two strings using the function ‘strcmp()’ L2
) 3
a Enumerate the difference between ‘ele-if ladder’ and ‘switch-case’ statements CO
9 L1
) with appropriate C program. 4
OR