0% found this document useful (0 votes)
413 views1 page

22SCCCS1 QP

1. The document contains a practice exam for a Programming in C and Data Structures course. It has multiple choice questions, fill in the blank questions, short answer questions, and long answer questions testing knowledge of C language concepts. 2. The long answer section asks students to answer any three out of five questions. Topics include operators in C language, errors in C programs, file operations in C, and explaining pointer variables with an example. 3. The exam tests a range of core C programming concepts from variables and data types to expressions, loops, functions, arrays and file handling.

Uploaded by

adiraihaja
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
413 views1 page

22SCCCS1 QP

1. The document contains a practice exam for a Programming in C and Data Structures course. It has multiple choice questions, fill in the blank questions, short answer questions, and long answer questions testing knowledge of C language concepts. 2. The long answer section asks students to answer any three out of five questions. Topics include operators in C language, errors in C programs, file operations in C, and explaining pointer variables with an example. 3. The exam tests a range of core C programming concepts from variables and data types to expressions, loops, functions, arrays and file handling.

Uploaded by

adiraihaja
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

22SCCCS1 Answer ALL questions: PART – B (4x5=20)

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.
________

III Short answer questions: (3x 2 = 6)


11. What is a variable?
12. What is mixed mode arithmetic expression?
13. What is nested loop? Give example.
14. What is the use of getchar() and put() functions?
15. What is a multi-dimensional array?

You might also like