Name:______________ 2nd year Computer Marks#65 Time Allow#100 Minutes
1. Which of the following key is used to save a file:-
a F2 b F3 c F5 d F9
2. How many are basic layout of Report in Microsoft Access?
a 2 b 3 c 4 d 5
3. Which of the following key is used to compile a program:
a ALT + F9 b CTRL + F9 c CTRL +F2 d ALT +F5
4. A form that contains a sub form is called::
a Child Form b Main form cReport d Saving
5. A statements written by the programmer are called?
a Source code b Object code c Syntax d None
6. A type of identifier which has special meaning in C:
a Standard identifier b User define identifier c identifier d None
7. Variable are created in:
a ROM b RAM c Hard disk d Floppy disk
8. Floating point data takes how many bytes in memory?
a 4 b 2 c 8 d 10
9. Which one of the following is a Binary Operator:
a ++ B -- c * d None
10. Which of the following is called assignment statement:
a ++ b == c = d +=
11. Which of the following is valid variable name?
a Long b Integer c Nolongenough d Both b and C
12. Which of the following is used to display YES/NO values?
a Check box b Radio button c a&b d Variable size
13. All of the following are form layout except?
a Tabular b Columnar c Relational d Justified
14. Which Wildcard replaces one character only?
a * b ? c # d !
15. Which is a numeric data type?
a Float b Int c Both a and b d Char
Q.2 Short Questions (2x5=10)
1. What is preprocessor directive? 2. Define prefix Increment & postfix decrement operator? 3.
Differentiate between terminator & delimiters? 4. Define Source Code and Object code? 5. Define
Comment? 6. What will be the output of the following code? int m = 7; int y = 3; printf (“%d%d” , m % y,y
%m);
Q.3 Short Questions (2x8=16)
i)Define Radio button? Ii) Define Overflow & underflow? Iii). Define bug & debugging?
Iv). Define Variable declaration? V). Differentiate between Degree of Relation & cardinality relation?
Vi). What is Auto number? Vii). What is linking & switchboard? Viii) Find errors: Float a,b; int c; a=10.3;
b=5.2; c=<int>a%(int)b; printf(“%d”;c); iX)Write the output. char W1,W2,W3; W1=’A’; W2=’B’; W3=’C’;
Printf(“%c %c W3”, W1, W2);
Long questions (3x8=24)
Q4. What is Query? Discuss its uses and types in detail?
Q5. What is debugging? Explain different debugging techniques in detail?
Q6. What is Filter? Discuss its different types in detail?