Sunrise Computer-Test 2

You might also like

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

Sunrise Computers Test No-2

Date & Time: 19/9/2011 4pm to 6 pm Marks: 50 Subject: Programming in C Faculty: Mr. Kumbhar S I

Q 1. Solve any five (10M)


1. What is array? State its types. 2. How to declare one dimensional array? 3. Write a program to initialize one dimensional array and display its contents. 4. What is two dimensional arrays? 5. What is function? 6. What is structure? 7. What is recursion?

Q 2. Solve any four (16M)


1. How to declare structure? Give one example. 2. State function categories. Explain function with no arguments and no return values. 3. Write a program to display area of circle using function.
4. What is function call with example? 5.

What is recursion with example?

Q 3. Solve any three (24M)

1. Write a program to display student information using array of

structure.
2. Write a program to perform addition of 2X2 matrix and display it.

3. Write a program to function with arguments and return values. 4. Write a program to print 3X3 matrix.

You might also like