C PROGRAM INTERNAL 3
C PROGRAM INTERNAL 3
Internal Test-III
Regulations – 2021
Academic Year 2023– 2024, Even Semester
Programme: BE / CSE & B.TECH / IT Year /Semester: II/IV
Subject Code/ Title: CS3251/Programming in C Date:28.06.2024
Time: 3 hrs
REGISTER NUMBER
11(a) i)What is an array? Explain about various types of array in detail. 13 CO2 K2
ii) Write a C program to multiply two matrices by getting input
from the user.
(OR)
11(b) Explain Binary Search Procedure.Write C program to perform 13 CO2 K2
binary search and explain.
12(a) What are the different types of string functions?Describe with their 13 CO3 K1
C program.
(OR)
12(b) i)Discuss how you can evaluate the mean,median,mode for an array 13 CO3 K5
of numbers.Write the c program to evaluate the mean median mode
for an array of numbers and expain.
ii) Explain in algorithm and write a C program to re-order a one-
dimensional array of numbers in descending order.
13(a) Explain the concept of pass by value and pass by reference with 13 CO4 K4
suitable example in C programming language.
(OR)
14(a) Explain the purpose of a function prototype. And specify the 13 CO2 K2
difference between user defined function and built-in functions.
(OR)
14(b) Write a short note on singly linked list and specify how the node 13 CO2 K2
are created in singly linked list.
15(a) i)Define structure in C. Also specify the pointer and structure with 13 CO3 K2
example.
ii)Write a C program using structures to prepare the students mark
statement. The number of records is created based on the user input.
(OR)
PART-C 1x15=15marks
S.NO Questions Marks CO s K-level
16 (a) Explain about the various decision making and branching 15 CO2 K6
statements in C programming
(OR)
16(b) Explain the different types of operators used in C with necessary
program. 15 CO4 K6
1,2,3,4,11(a),11(b),14(a),14(b),
1 CO2 47
16(a)
2 5,6,7,12(a),12(b),15(a),15(b) CO3 32
8,9,10,13(a),13(b),16(b) CO4 32
K1- Remember, K2- Understand, K3- Apply, K4- Analyze, K5- Evaluate and K6- Create