22SCCCS1 QP
22SCCCS1 QP
KHADIR MOHIDEEN COLLEGE, ADIRAMPATINAM 16. (a) Write a note on history of C language. (Or)
PG & RESEARCH DEPARTMENT OF COMPUTER SCIENCE (b) Explain the basic structure of a C program
B.Sc. CS - CIA EXAMINATION, OCTOBER 2022 17. (a) Enumerate the rules for evaluating the expressions. (Or)
PROGRAMMING IN C AND DATA STRUCTURE 18. (b) compare the while structure with the do while structure.
Time: 2 hrs Max.: 50 Marks 19. (a) explain how to declare and use the pointer variables? Give
Answer ALL questions: PART – A (10) example.
I Choose the best answer: (5x 1 = 5) (or)
1. A C program can be viewed as a group of _______.
(a) Functions (b) Files (c) Data (d) Routines 20. Describe the various operation of files with commands.
2. Each statement in a C program ends with _______. 21.
(a) Semicolon (b) Colon (c) Comma (d) Dot
3. A C program can be viewed as a group of _______.
(b) Functions (b) Files (c) Data (d) Routines 22.
4. Each statement in a C program ends with _______. 23.
(b) Semicolon (b) Colon (c) Comma (d) Dot 24. Write a C program to find the largest of three numbers
5. A C program can be viewed as a group of _______.
(c) Functions (b) Files (c) Data (d) Routines Answer ANY THREE questions: PART – C (2x10=20)
II Fill up the blanks: (5x 1 = 5) 25. Enlist and explain the operators of C language.
6. ?: is called __________ operator. 26. Er
7. The Documentation section contains a set of __________ lines. 27. Er
8. ?: is called __________ operator. 28. R
9. The Documentation section contains a set of __________ lines. 29. re
10. The Documentation section contains a set of __________ lines.
________