SUGUNA COLLEGE OF ENGINEERING SUGUNA COLLEGE OF ENGINEERING
Approved by AICTE, New Delhi and Affiliated to Anna University, Chennai.
Accredited by NAAC and Recognized 2(f) status by UGC Approved by AICTE, New Delhi and Affiliated to Anna University, Chennai.
Nehru Nagar(W), Kalapatti Road, Coimbatore – 641014. Accredited by NAAC and Recognized 2(f) status by UGC
Nehru Nagar(W), Kalapatti Road, Coimbatore – 641014.
Internal Test I
Internal Test I
CS3251-PROGRAMMING IN C
CS3251-PROGRAMMING IN C
(Regulation 2021)
(Regulation 2021)
Year / Semester/ Dept : I / II / CSE Max. Marks: 65
Year / Semester/ Dept : I / II / CSE Max. Marks: 65
Date / Session: 07-04-2025 / AN Timings:02.30 PM to 04.30 PM
Date / Session: 07-04-2025 / AN Timings:02.30 PM to 04.30 PM
PART A ( 10x2=20 Marks ) PART A ( 10x2=20 Marks )
Q.No. COs Question
Q.No. COs Question
1 CO1 Differentiate between division and modulus operator.
1 CO1 Differentiate between division and modulus operator.
2 CO1 Contrast the difference between post increment and pre increment.
2 CO1 Contrast the difference between post increment and pre increment.
3 CO1 Draw operator precedency table for different operators.
3 CO1 Contrast between float and double datatype.
4 CO1 List out various formate specifiers for all data types.
4 CO1 List out various formate specifiers for all data types.
5 CO1 List out rules for variable declaration.
5 CO1 List out rules for variable declaration.
6 CO1 Explain the usage of sizeof operator with syntax.
6 CO1 Explain the usage of sizeof operator with syntax.
7 CO1 Contrast getchar and gets
7 CO1 Contrast getchar and gets
8 CO1 Differentiate bitwise AND with logical AND.
8 CO1 Differentiate bitwise AND with logical AND.
9 CO1 Evaluate the expression 2*3+4/2 using operator precedency.
9 CO1 Evaluate the expression 2*3+4/2 using operator precedency.
10 CO1 Distinguish between while and do while loop.
10 CO1 Distinguish between while and do while loop.
PART B ( 3x15=45 Marks )
PART B ( 3x15=45 Marks )
Q.No. Cos Question
Q.No. Cos Question
i. Explain programming paradigms in detail (8)
11 CO1 i. Explain programming paradigms in detail (8)
ii. Explain structure of C programming in detail (7) 11 CO1
ii. Explain structure of C programming in detail (7)
i. Explain operators in detail (10).
i. Explain operators in detail (10).
12 CO1 ii. Write a C program to get and print values of integer, float ,double and 12 CO1 ii. Write a C program to get and print values of integer, float ,double and
char datatypes (5)
char datatypes (5)
i. Explain Conditional statements in detail. (7)
i. Explain Conditional statements in detail. (7)
ii. Write a C program to swap values of two variable using third variable.
ii. Write a C program to swap values of two variable using third variable.
(4)
13 CO1 13 CO1 (4)
iii. Write a C program to swap values of two variable without using third
iii. Write a C program to swap values of two variable without using third
variable. (4)
variable. (4)
FACULTY IN-CHARGE HOD PRINCIPAL
FACULTY IN-CHARGE HOD PRINCIPAL