UNIT BASED ONLINE EXTERNAL EXAMINATION - OCTOBER – 2020 - COMPUTER PROGRAMMING IN C - 7BPH5C2 - SLOT III - FIFTH SEMESTER

CLICK HERE TO VISIT ANSWER SCRIPT SUBMISSION PORTAL

ALAGAPPA UNIVERSITY
KARAIKUDI – 630 003
UNIT BASED ONLINE EXTERNAL EXAMINATION - NOVEMBER – 2020

FIFTH SEMESTER SLOT – III

COMPUTER PROGRAMMING IN C - 7BPH5C2

Total Marks: 25                                                                                            Time: 1.0 Hr

SECTION A – SHORT ANSWER - 5 x 2 = 10 Marks

ANSWER ALL THE QUESTIONS

1. What is meant by automatic variable?

2. How will you call a function from the main function?

3. What is the meaning of return (k) in C programming?

4. What are external variables?

5. What is the advantage of using functions rather than using one large main program?


SECTION B - DESCRIPTIVE - 3 x 5 = 15 Marks

ANSWER ANY THREE

6. Explain briefly how you will write a function.

7. Explain clearly the different storage classes in C.

8. Write a program to add the given three numbers using function.

9. Write a program to find the average of set of numbers,

10. Write a program to find the factorial of a given number.