Reg.
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.
BL – Bloom’s Taxonomy Levels.
(L1-Remembering, L2-Understanding, L3- Applying, L4-Analyzing, L5- Evaluating, L6-Creating)
PART – A (10 2=20 Marks)
1. Define Keywords and list at least any ten in C program? L1 CO3
2. Draw the structure of C program? L1 CO3
3. What is the purpose of format specifier in I/0 statements with example? L1 CO4
4. Write down the syntax and give an example for array initialization? L2 CO4
5. How to identify the Length of a string? L2 CO5
6. What is the different between the statement a=5 and a==5 in C language? L1 CO3
7. Write the Application of C Language? L1 CO3
8. Define Enumeration Constants? L1 CO4
9. What is the Purpose and prototype of the function ‘strcpy’? L2 CO4
10. Sort the following element using selection sort method 23,55,16,78,2 L2 CO5
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
b Explain the Various Data type being supported by C language CO
L3
) 5
a (i) What is an Array? Explain about various types of arrays in detail. CO
1 L1
) (ii) Explain the usage of strcat() with an C program 3
0
OR
b Write about the significance of header file, ‘string.h’ and write short notes on CO
L3
) any three string functions 3
PREPARED BY HOD PRINCIPAL