0% found this document useful (0 votes)
12 views

IAT Programming in C

Programming in c

Uploaded by

Saranya Jegan
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

IAT Programming in C

Programming in c

Uploaded by

Saranya Jegan
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

REG.

NUMBER: 9 6 3 3

ROHINI COLLEGE OF ENGINEERING & TECHNOLOGY


FIRST YEAR BE
INTERNAL ASSESSMENT TEST – I
EVEN SEMESTER

SUBJECTNAME : PROGRAMMING IN C SUBJECT CODE : CS3251


YEAR / Branch : I/ CSE SEMESTER : II
DATE :25/5/2021 TIME : 9:40 – 132:40 pm
DURATION : 3 HRS MAX. MARKS : 100

K1-
K2-Understanding K3-Applying K4-Analyzing K5-Evaluating K6-Creating
Remembering

PART- A
Q.N Mark Co- Bloom’s
Question
o Mapping Taxonomy
List the different datatypes available in C. 2 CO1
1. K1

Give an example for ternary operator. 2 CO1 K1


2.

Name any two library functions used for string handling. 2 CO1 K1
3.

4. Differentiate between linear search and binary search. 2 Co2 K2


What is a function? 2 CO2 K1
5.

List the various input and output statements in C. 2 CO2 K1


6.

What are keywords? Give an example. 2 CO2 K1


7.

Define array. Give example. 2 CO3 K1


8.

Define recursion. 2 CO3 K1


9.

How does the preprocessor work? 2 CO3 K2


10.

PART- B

1. Write a C program to find the largest among 3 numbers entered by 8 CO1 K2


11)a 1. the user.

2. Explain the different types of operators available in C. 8 CO1 K2


2.
OR
Write a C program to find the sum of 10 non negative 8 CO1 K2
11)b 1. numbers entered by the user.

2. What are constants? Explain the various types of constants. 8 CO1 K2

Describe the various looping statements in C language and 16 CO1 K2


12)a
discuss with example.
OR
12)b Describe the decision making statements in C. 16 CO1 K2

13)a 1. Write a C program to add two matrices. 8 CO2 K2

2. Write a C program to search an element in an array. 8 CO2 K2

OR
Write a C program to sort an array of elements in ascending 8 CO2 K2
13)b 1.
order using selection sort.
2. Write a C program to reverse a string. 8 CO2 K2

14)a 1. Write a C program to find the determinant of the matrix. 8 CO2 K2

Write a C program to calculate mean for an array of 8 CO2 K2


2.
elements.
OR
Write a C program to multiply two matrices(two- 8 CO2 K2
14)b 1.
dimensional array).
2. Write a C program to perform binary search. 8 CO2 K2

Write a C program for designing scientific calculator using 16 CO3 K2


15)a
built-in functions.
OR
Demonstrate about function declaration, function definition 16 CO3 K2
15)b
and function call.

You might also like