Professional Documents
Culture Documents
C Exam Paper
C Exam Paper
PAPER – C
MARK – 100 DATE – 06/09/2010 TIME - 1.5 hrs
2. C is developed by _____
1. %s 2. %d 3. %f 4. %c
1. Same data type variable 2. Different Data type variable 3. Array 4. None
TABLE A TABLE B
1. clrscr(); 1. Integer
2. %c 2. Clear the screen
3. #math.h 3. Input
4. int 4. Character
5. gets() 5. Header file P.T.O.
Q.6 Correct the following program and rewrite it 10
include<stdio.h>
#include<conio.h>
main();
{
int a=10,b=20
if (a>b);
printf(“\n %d is greater = “,a);
else
printf(“\n %d is greater = “,b)
getch()
}
ANS ( )
ANS( )
P.T.O.
ANS( )
ANS( )
ANS( )
ANS ( )
Q 7. Write the program with reading the no and check the number is positive or negative with if – else statement
15
2. C is developed by _____
1. %s 2. %d 3. %f 4. %c
1. Same data type variable 2. Different Data type variable 3. Array 4. If-Else
1. F9 2. ctrl+F9 3. F10 4. F2
1. * 2. $ 3. # 4. %
13. ______ is the statement which break the loop using other condition
1. Pointer 2. Array 3. Structure 4. Break
=====================================
VYANKATESHA COMPUTECH
PAPER – C PRACTICAL
MARK – 50 DATE – 13/05/2019 TIME - 1 hrs
=================================
VYANKATESHA COMPUTECH
PAPER – C THEORY
MARK – 50 DATE – 06/09/2010 TIME - 1.5 hrs
2. C is developed by _____
1. %s 2. %d 3. %f 4. %c
1. Same data type variable 2. Different Data type variable 3. Array 4. None
TABLE A TABLE B
1. clrscr(); 1. Integer
2. %c 2. Clear the screen
3. #stidio.h 3. Input
4. int 4. Character
5. scanf() 5. Header file
include<stdio.h>
main();
{
int a=10,b=20
if (a>b);
printf(“\n %d is greater = “,a);
else
printf(“\n %d is greater = “,b)
getch()
}
Q.7 Explain the following terms in four or five lines (any three) 15
==============
VYANKATESHA COMPUTECH
PAPER – C
MARK – 50 DATE – 06/05/2019 TIME - 1 hr.
1. %s 2. %d 3. %f 4. %c
1. F9 2. ctrl+F9 3. F10 4. F2
1. * 2. $ 3. # 4. %
P.T.O.
Q. 2 SOLVE THE FOLLOWING TRUE ARE FALSE 10
TABLE A TABLE B
1. clrscr(); 1. Integer
2. %d 2. Clear the screen
3. #stidio.h 3. Input
4. int 4. Integer
5. scanf() 5. Header file