Karnataka State Open University (KSOU) 2009 Diploma Information Technology Programming in C Language - Question Paper
Illlllllllllllllll DIT 22
II Semester Diploma in Information Tech. DIT Examination, August 2009 PROGRAMMING IN C LANGUAGE
Time : 3 Hours Max. Marks : 75
Instruction : Answer all questions in Part - A and any five questions in Part - B.
PART - A
Answer all the questions : (2x10+5x1=25)
1. What is a flow chart ?
2. Name some Library Functions in C.
3. Write the general format of a switch statement.
4. What is a function ?
5. What is an Algorithm ?
6. Explain scanf( ) and printf( ).
7. What is recursive function ?
8. Explain the rules for framing variables.
9. What is a linked list ?
10. Write the flow chart symbol for offpage connector and decision.
11. Explain the following :
a) Arrays.
b) Library Functions.
c) Pointers.
d) getch( ).
e) Stdio.h.
PART - B
Answer any five questions : (5x10=50)
1. Explain the characteristics and structure of C programming with example.
2. Explain the Data types, constants and arithmetic expressions in C.
3. Explain Control Structures with an example.
4. What is an array ? Mention different types of arrays and explain their use with example.
5. Write a C program to calculate the absolute value of an integer.
6. Explain Pointers and functions with an example.
7. Explain file handling in C. Write a C program to find the largest, sum and average of five numbers.
8. Write a C program to find the transpose of a matrix.
Attachment: |
Earning: Approval pending. |