SOLUTION OF MID SEM TEST-I
CLASS: - I YEAR SECTION: CS-B, H SEM:-I
TIME- 01 Hr
SUBJECT NAME: PRINCIPLE OF PROGRAMMING IN C (BTCS-104)
MAX MARKS: 20
NOTE :-
1. Draw diagram wherever is necessary.
2. Assume value if required.
|
Q. No. |
Question |
Max Marks |
|
Q.1 |
Define Structure of C program and explain the use of header files. Or Explain functions with an example :
scanf(), printf(), pow(), getch() |
4 |
|
Q.2 |
a) Compiler & Interpreter b) Linker & Loader |
4 |
|
Q.3 |
a) Flow Chart with Example b) Different Data Types |
4 |
|
Q.4 |
Analyze and write a program to display series: 0 1 1 2 3 5 8 13 21 34 55 89. OR Explain Looping Concept. Write Syntax of all three looping statements. |
4 |
|
Q.5 |
OR Explain Branching
Concept. Write syntax of Nesting and Ladder Branching statements. |
4 |