Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 1

Register No:

GNANAMANI COLLEGE OF TECHNOLOGY


NAMAKKAL-637018
Affiliated to Anna University, Chennai
Internal Assessment Test-I
Programme &
B.E- BIOMEDICAL ENGINEERING Year/Semester II/04
Branch
Course Code & EC8393 & FUNDAMENTALS OF
Date
Name DATASTRUCTURES IN C
Examination 1:30
Maximum Marks 50
Duration Hours

PART - A
Answer ALL the questions 5 X 2 = 10 Marks
Q. No. COs BL Questions Marks
1 CO1 L1 Write short notes on structure of c program. 2
2 CO1 L1 Write a c program to print half pyramid of numbers. 2
Write a c program to print the position of the smallest number of n
3 CO1 L1 2
numbers using array.
4 CO2 L1 Define function and give the advantages of function. 2
5 CO2 L6 Write a c program for sum of natural numbers using recursion. 2
L6 PART - B
Answer any four Questions (4*10=40 Marks)
Explain in detail about decision making and branching statement with
6. CO1 L2 programs. 10

7. CO1 L1 Write a c program for transpose of a matrix. 10


Write a c program to compare two strings without using string function.
8. CO1 L1 10
Explain the following function with programs.
9. CO1 L2 (i)strlen (ii) strchr (iii)strrev (iv)strupr (v) strncat 10

10. CO2 L1 Write a c program to GCD of two numbers using recursion. 10


What is pointer? How to declare a pointer in C? Write a program for
11. CO2 L6 10
pointer arithmetic.

Subject Incharge IQAC Coordinator Course Coordinator HoD

You might also like