Unit Test 2
Unit Test 2
CHETTINAD COLLEGE OF ENGINEERING & C with an example and write a program for
TECHNOLOGY sorting an array of numbers.
UNIT TEST-II (16)
8. Write a C program to add two matrices.
Branch & Sec : First Year Date: (8)
26.09.15
Semester: I Max. Marks:
50
Subject Code & Title : GE6151 Computer Staff In-charge HOD/S&H
Programming
Staff In-charge: P.Vasantha Kumari/IT
CHETTINAD COLLEGE OF ENGINEERING &
Part-A (10 * 2 = 20) TECHNOLOGY
Answer All Questions UNIT TEST-II
1. Write a C program to find factorial of a given
number. Branch & Sec : First Year Date:
2. Write example code to declare two dimensional 26.09.15
array. Semester: I Max. Marks:
3. List the various input and output statements in C. 50
4. Define array and declare float array with size 5 Subject Code & Title : GE6151 Computer
and assign 5 values to it. Programming
5. Write a for loop to print numbers from 10 to 1. Staff In-charge: P.Vasantha Kumari/IT