Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 12

VYANKATESHA COMPUTECH

PAPER – C
MARK – 100 DATE – 06/09/2010 TIME - 1.5 hrs

Q. 1 WRITE MARK TO CORRECT OPTION [√] 10


1. In C \n is a _______

1. Escape Sequence 2. Format Specifier 3. Variable 4. None

2. C is developed by _____

1. Ada Lovelace 2. Charales Babbage 3. Dennis Robert 4. None

3. Format specifier of flot is _____

1. %s 2. %d 3. %f 4. %c

4. Memory bytes required for Integer is _____

1. 2 bytes 2. 4 bytes 3. 1 bytes 4. None

5. Array is the combination of ______

1. Same data type variable 2. Different Data type variable 3. Array 4. None

Q. 2 SOLVE THE FOLLOWING TRUE ARE FALSE 10

1. In C every program starts with getch() function.


2. In C every statement write in lowercase only.
3. %d is the format specifier for float data type variable
4. Array is the combination of different data type variable
5. Micro means predefined procedure
Q. 5 MATCH THE FOLLOWING 20

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()
}

Q. 6 Explain the following terms in four or five lines (any five) 25

1. Array 2. Structure 3. Function 4. Turnery Operator 5. If function


6. Pointer

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

Q 8. Write the following 10

1. Long form of EOF _______________________

2. Memory bytes required for float variable ________________________

3. Symbol of “And” operator _________________________

4. Short cut key for compile the program __________________________

5. Symbol of “not equal too” operator _________________________

6. Symbol of “equal too” operator ________________________

7. Short cut key for see the output of program _________________________

8. Symbol of “null” character __________________________

9. Format specifier for long integer ___________________________

10. Memory bytes required for pointer ____________________________


VYANKATESHA COMPUTECH
PAPER – C
MARK – 50 DATE – 09/09/2021 TIME - ½ hr.

Q. 1 WRITE MARK TO CORRECT OPTION [√]


30
1. In C \n is a _______

1. Escape Sequence 2. Format Specifier 3. Variable 4. None

2. C is developed by _____

1. Ada Lovelace 2. Charales Babbage 3. Dennis Robert 4. None

3. Format specifier of float is _____

1. %s 2. %d 3. %f 4. %c

4. Memory bytes required for Integer is _____

1. 2 bytes 2. 4 bytes 3. 1 bytes 4. None

5. Turnery operator is the combination of ______

1. Same data type variable 2. Different Data type variable 3. Array 4. If-Else

6. Extension of c programme file is _________

1. .C 2. .CPP 3. .TXT 4. .DOC

7. _______ use header file for math function


1. #include<stdio.h> 2. #include<math.h> 3. #include<conio.h>

8. ______ operator use as a and operator in C

1. && 2. & 3. AND 4. and

9. ________ function key use to compile the programme

1. F9 2. ctrl+F9 3. F10 4. F2

10. Every c programme is write in ________ case

1. Uppercase 2. Lowercase 3. Both Case 4. None

11. C language came into existence in the year ________

1. 1972 2. 1971 3. 1981 4. none


P.T.O.
12. _______ is use to represent header file

1. * 2. $ 3. # 4. %
13. ______ is the statement which break the loop using other condition
1. Pointer 2. Array 3. Structure 4. Break

14. ______ is the loop statement

1. For 2. pointer 3. Switch 4. Structure

15. %c format represent

1. Float 2. Character 3. Integer 4. Long Integer

Q. 2 SOLVE THE FOLLOWING TRUE ARE FALSE 20

16 In C every program starts with getch() function.


17. In C every statement write in lowercase only.
18. %d is the format specifier for float data type variable
19. Continue statement is use to skip some statements
20. clrscr is use of Clear the Screen
21. In C program all variable must be declare before they are used
22. In C we can not create nested if-else
23. In C every statement ends with full stop
24. ? operator we use in Turnary Operator
25. Format specifer for float data type is %d

=====================================
VYANKATESHA COMPUTECH
PAPER – C PRACTICAL
MARK – 50 DATE – 13/05/2019 TIME - 1 hrs

1. Write a program using switch statement 10


2. Read the mark of student and check the result pass or fail using if statement 10
3. Read the two no’s and do addition, subtraction, multiplication & division by using program 10
4. Write a program to print 1 to 10 no’s by using while loop 10
5. Write a program by using for statement to print all odd nos in between 1 to 100 10

=================================
VYANKATESHA COMPUTECH
PAPER – C THEORY
MARK – 50 DATE – 06/09/2010 TIME - 1.5 hrs

Q. 1 Fill in the blank 5


1. In C \n is a _______

1. Escape Sequence 2. Format Specifier 3. Variable 4. None

2. C is developed by _____

1. Ada Lovelace 2. Charales Babbage 3. Dennis Robert 4. None

3. Format specifier of string is _____

1. %s 2. %d 3. %f 4. %c

4. Memory bytes required for Integer is _____

1. 2 bytes 2. 4 bytes 3. 1 bytes 4. None

5. Structure is the combination of ______

1. Same data type variable 2. Different Data type variable 3. Array 4. None

Q. 2 SOLVE THE FOLLOWING TRUE ARE FALSE 5

1. In C every program starts with getch() function.


2. In C every statement write in lowercase only.
3. %d is the format specifier for float data type variable
4.Structure is the combination of different data type variable
5. For is the lopping statement
P.T.O
Q. 5 MATCH THE FOLLOWING 5

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

Q.6 Correct the following program and rewrite it 10

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

1. Structure 2. Format specifier 3. Escape sequence 4. If function

==============
VYANKATESHA COMPUTECH
PAPER – C
MARK – 50 DATE – 06/05/2019 TIME - 1 hr.

Q. 1 WRITE MARK TO CORRECT OPTION [√]


20
1. In C \n is a _______

1. Escape Sequence 2. Format Specifier 3. Variable 4. None

2. Format specifier of integer is _____

1. %s 2. %d 3. %f 4. %c

3. ______ operator use as a and operator in C

1. && 2. & 3. AND 4. and

4. ________ function key use to compile the programme

1. F9 2. ctrl+F9 3. F10 4. F2

5. Every c programme is write in ________ case

1. Uppercase 2. Lowercase 3. Both Case 4. None

6. _______ is use to represent header file

1. * 2. $ 3. # 4. %

7. ______ is the loop statement

1. For 2. pointer 3. Switch 4. Structure

8. do-while statement ends with ______


1. Else 2. While 3. For 4. None

9. If statement is _______ statement


1. Conditional 2. Looping 3. Array 4. None

10. Every c programme end with _____ statement


1. main() 2. getch() 3. For 4. None

P.T.O.
Q. 2 SOLVE THE FOLLOWING TRUE ARE FALSE 10

1. In C every program starts with getch() function.


2. In C every statement write in lowercase only.
3. %d is the format specifier for float data type variable
4. In C program all variable must be declare before they are used
5. In C we can not create switch within switch

Q. 3 MATCH THE FOLLOWING 5

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

Q.4 Explain the If-else statement with example 5

Q .5 Explain the Switch statement with syntax 5

Q. 6 What is the difference between while and do while loop? 5


VYANKATESHA COMPUTECH
PAPER – Java
MARK – 20 DATE – 06/05/2019 TIME - ½ hr.

1. By using for loop print all Odd number in between 1 to 100 10


2. Print 10 element single dimensional array with the addition of these element 10

You might also like