72
12
P131/CMP502/EE/20230113
-3
Time : 3 Hours Marks : 80
23
Instructions :
20
1. All Questions are Compulsory.
an
2. Each Sub-question carry 5 marks.
2J
3. Each Sub-question should be answered between 75 to 100 words. Write every questions
answer on separate page.
27
4. Question paper of 80 Marks, it will be converted in to your programme structure marks.
31
1. Solve any four sub-questions.
3-
a) Explain characteristics of computers. 5
02
b) Give important features of C language. 5
n2
c) Define algorithm. Explain its characteristics. 5
d) Ja
Explain while and do-while loop with suitable example. 5
72
e) What will be the output of following code: 5
12
Main ( )
-3
{
23
Int a = 300, b, c;
20
If (a>=400)
B=300;
an
C=200;
J
72
Printf(“\n % d %d”, b, c);
12
}
-3
2. Solve any four sub-questions.
3
02
a) Explain basic structure of a C program. 5
2
b) What is bottom-up programming method? 5
an
c) Define array. Explain 1D and 2D array with example. 5
2J
d) Define functions. Explain call-by reference functions. 5
27
e) Define Flowchart. Draw and explain symbols used in flowchart. 5
31
3-
KA22-780 P131/CMP502/EE/20230113 : 1 (P.T.O.)
02
n2
Ja
72
12
3. Solve any four sub-questions.
-3
a) Explain switch case statement. 5
b) Explain different types of computers. 5
23
c) Explain bitwise operators in C. 5
20
d) Explain Printf( ) and Scanf( ) statements with suitable example. 5
an
e) Write a note on ‘if’ and ‘if-else’ statements with suitable example. 5
2J
27
4. Solve any four sub-questions.
31
a) Define string. Give example of in-built string functions. 5
3-
b) Explain Increment and Decrement operators in C language. 5
02
c) Define operator. List various types of operators used in ‘C’ language. 5
d) Explain difference between structure and union. 5
n2
e) Define pointer. Explain its use. 5
Ja
72
sssssss
12
-3
23
20
J an
72
12
3 -3
2 02
an
2J
27
31
3-
KA22-780 P131/CMP502/EE/20230113 : 2
02
n2
Ja