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

MUSALIAR COLLEGE OF ENGINEERING

CHIRAYINKEEZH

SECOND SERIES EXAMINATION OCT 2017

EE207-COMPUTER PROGRAMMING

Max Marks : 40 Time:2Hr


Batch : S3 EEE

Part A
(Answer any 4 questions (4*5=20))
1. What are functions? Explain with an example.
2. Write a short note on array with example.
3. What are tokens? Explain with example.
4. Write a C program using function to find the factorial of a number.
5. What are the various parameter passing techniques in C?

Part B
(Answer any 2 questions (2*10=20))

1. Write a C program to implement matrix addition.

2. Write a menu driven program to implement basic arithmetic operations in C using functions.

3. What is a recursive function in C? Write a C program to generate Fibonacci series using


recursion.

You might also like