0% found this document useful (0 votes)
12 views3 pages

CP MAY JUNE 2023.

This document outlines the examination structure for the B.E. / B.Tech. degree in Computer Science and Engineering at K.S.R. College of Engineering for the May/June 2023 semester. It includes details about the C Programming course, with questions divided into two parts: Part A consists of short answer questions, while Part B contains longer, detailed questions. The exam covers various topics such as storage classes, operators, functions, structures, and file handling in C programming.

Uploaded by

rameshapositive
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views3 pages

CP MAY JUNE 2023.

This document outlines the examination structure for the B.E. / B.Tech. degree in Computer Science and Engineering at K.S.R. College of Engineering for the May/June 2023 semester. It includes details about the C Programming course, with questions divided into two parts: Part A consists of short answer questions, while Part B contains longer, detailed questions. The exam covers various topics such as storage classes, operators, functions, structures, and file handling in C programming.

Uploaded by

rameshapositive
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

Reg. No.

K.S.R. COLLEGE OF ENGINEERING, TIRUCHENGODE – 637 215


(AUTONOMOUS)

B. E. / B.Tech. DEGREE END SEMESTER EXAMINATION, MAY / JUNE - 2023

Second Semester

B.E - COMPUTER SCIENCE AND ENGINEERING

20CS211 – C Programming

(Regulations 2020)

Time: Three hours Maximum Marks: 100


Answer All Questions
PART A –– (10 x 2 = 20 Marks)

1. Classify the different types of storage classes. CO1 U

2. Identify the difference between ++a and a++. CO1 Ap

3. Point out an example code to express two-dimensional CO2 An


array.

4. Compare break and Continue statement. CO2 U

5. Write a C program to add two numbers using pointers. CO3 An

6. What are the advantages of functions? CO3 R

7. How to declare a members in Structure? CO4 R

8. Compare and contrast a structure with an array. CO4 An

9. State the use of file pointer. CO5 U

10. Define File. Mention the different types of files accessing CO5 R
methods.
1
PART B –– (5 x 16 = 80 Marks)

11.(a) (i) Explain the different types of operators available (12) CO1 U

in C.
(ii) What are constants? Explain the various types of (4) CO1 R

constants in C.
(OR)
(b) (i) Describe the structure of C program with an (10) CO1 U

example.
(ii) Write a C program to print the Fibonacci series of (6) CO1 An

a given number.

12.(a) Explain the string and list the various string (16) CO2 U

operations with example.


(OR)
(b) Illustrate the Iteration statements in C with an (16) CO2 U

example.

13.(a) Demonstrate the concept behind pass by value (16) CO3 U

and pass by reference with an example.


(OR)
(b) (i) Explain the purpose of function prototype. Also (6) CO3 E

specify the difference between user defined


function and built in function.
(ii) Write a C program to find factorial of given (10) CO3 An

number using recursion function.

2
14.(a) Write a C program to store the employee (16) CO4 E

information using structure and search a particular


employee using Employee number.
(OR)
(b) (i) Examine the various formatted I/O functions with (8) CO4 An

an example.
(ii) Explain the array of structures and pointers in (8) CO4 U

structures with example program.

15.(a) (i) Illustrate and explain a C program to copy the (8) CO5 U

contents of one file to another.


(ii) Explain the command line arguments with an (8) CO5 U

example.
(OR)
(b) Discuss the pre-processor Directives with an (16) CO5 C

example.

**********

You might also like