PROGRAMMING IN C-NOVEMBER 2016

YEAR:NOVEMBER 2016
CODE: SAE1A

SECTION-A ( 10 X 2 = 20)
1. What are Keywords.
2. What is an expression?
3. What is nested if statement?
4. What is branching?
5. What is the purpose of break statement?
6. What is local variable?
7. What is recursion?
8. What is an array?
9. What are self referential structures?
10. What is union?
11. What is pointer.
12. Write the syntax of closing a file.
SECTION-B ( 5 X 5 = 25)
13. Explain the various data types in C.
14. Discuss the commonly used input functions in C.
15. Write a program to check whether the given integer is prime or not.
16. Give a brief account on user defined functions in C.
17. How to pass arrays to functions?.Explain with an example program.
18. What is a structure? How structure members are accessed in C?Explain.
19. Explain the various modes of opening a file.
SECTION-C (3 X 10 = 30)
20. Explain the various operators in C with examples.
21. Describe the three looping statements in C with examples.
22. Describe the storage classes in C with examples.
23. Write a C program to find the smallest and largest elements in an array.
24. a) Explain the various operators on pointers in C.
    b) Write a C program to copy the content of one file to another fie.

No comments:

Post a Comment