Sie sind auf Seite 1von 6

Std X GB Introduction to Computers- L1-L10Test Choose the appropriate option:

1. 2. 3. 4. 5. In the Database window _________ tab is the default selection. (a) Queries (b) Forms (c) Tables (d) Reports ________ contains columns for Field Name, Data type and Description. (a) Datasheet View (b) Design View (c) Wizard (d) Pivot table The _______data type is used to store e-mail address, web page address etc. (a) OLE (b) Memo (c) Text (d) Hyperlink ________ is used to modify the table structure. (a) Datasheet View (b) Design View (c) Wizard (d) Pivot chart

Editing is not allowed in an Access table when ___________. (a) the field is of text data type (b) the field is of Date/Time data type (c) the field is of number data type (d) the field is of autonumber data type ________ is a predefined data type for the Yes/No data type in Access. (a) Yes/No (b) True/False (c) On/Off (d) all of these It is advisable to define _________ property along with Validation Rule property. (a) Validation Text (b) Default Value (c) Format (d) Caption In _______ relationship, one specific record of a particular table has one and only one corresponding record in the other table of the database. (a) 1-1 (b) 1- (c) - (d) None of these If you want to store the current system date automatically in the Date_of_Joining field, enter the Date() function as the _________property. (a) Validation Rule (b) Validation text (c) Default Value (d) Caption The _________ property uses different settings for different data types. (a) Caption (b) Field (c) Format (d) Validation Rule If you do not check the _______________ option, the information in that field will not be displayed in the dynaset. (a) View (b) Or (c) Show (d) Sort A __________ can be defined through a specific set of fields that any two tables have in common. (a) Relationship (b) Primary key (c) Query (d) Report If we dont mention any criteria in a Update query _________record will be updated (a) one (b) all (c) specific (d) none of these _______ Aggregate function can be used for text data type in Access. (a) Min (b) Avg (c) Sum (d) Count The _______ operator is used to match strings in Where Criteria of a Query. (a) hash (b) single quotes (c) double quotes (d) question mark __________ icon must be clicked to make the tool box visible in the Design view of a Report. 1

6. 7. 8.

9.

10. 11.

12. 13. 14. 15. 16.

(a)

(b)

(c)

(d)

17. 18 19. 20.

While creating a report we can sort records on maximum _________fields. (a) 4 (b) 3 (c) 2 (d) 5 A form can be created easily using the ________option on the Toolbar of the Datasheet window. (a) Design View (b) AutoForm (c) Wizard (d) Macro ________ is optional in Macros (a) Action (b) Argument (c) Comment (d) None

In case a form contains multiple pages (if there are many controls displayed on it) then _______ section plays a role. (a) Details (b) Page Header/Footer (c) Form Header/Footer (d) None In ________a programmer has to specify both, what must be done and how it is to be done. (a) File system (b) Relational Model (c) Network Model (d) Database design

21. 22.

The above figure represents ____________model (a) Hierarchical (b) Network 23. 24. 25.

(c) Object Oriented

(d) Relational

The ________ model is popular because of its powerful and flexible Query capability. (a) Hierarchical (b) Network (c) Object Oriented (d) Relational _______wizard is used to create mailing lists. (a) Macro (b) Report (c) Form (d) Label Wizard

In ________ model records are linked with other records on which they are dependent and also on the records which are dependent on them. (a) Network (b) Hierarchical (c) Object Oriented (d) Relational A __________ is necessary between two words in a statement in C. (a) Comment (b) Operator (c) Single Space Strings in C end with a ___________character (a) \n (b) \0 (c) \t (d) none of these (d) O78 (d) underscore

26. 27. 28. 29.

___________ is a valid octal integer constant. (a) O59 (b) O54.7 (c) O33

___________ is not true about #define. (a) it cannot replace functions with symbolic constant (b) it instructs the compiler to replace all occurrences of the symbolic constant with the values specified against it. 2

(c) it is a preprocessor directive (d) all of these 30. While executing a C program, the executable code is loaded on to memory by a program called _______ along with the data required to give us the output (a) loader (b) linker (c) editor (d) translator ________ is a user defined data type. (a) int no (b) float e (c) typedef char c Match the following: I) II ) III ) IV ) A unsigned int long int double char ------i) ii) iii) iv) v) vi) B +/- 1.7 e -4932 to +/- 1.7 e +308 -128 to +127 0 to 65535 +/- 3.4 e -308 to +/- 1.1e +4932 4 bytes required -127 to +128 (d) char c

31. 32.

(a) I iii, II v, III i, IV ii (b) I ii, II i, III v, IV iii (c) I iii, II v, III i, IV vi (d) I iii, II v, III i, IV ii 33. 34. ___________ is not a derived data type in C. (a) union (b) char (c) structure (d) array

Consider the following C statements: { char choice=C; char ans; printf(Value of Choice is %d,choice); } _________ value of choice will be printed in the printf statement. (a) C (b) c (c) 67 (d) error

35.

Consider the following C statements: typedef char alphabet; alphabet specialchar; specialchar = *; The alias given to char data type is ______ (a) alphabet (b) specialchar (c) alphabetchar (d) *

36.

_________ is a correct C statement. (assume a, c, b, d to be int variables) (a) b - a = c; (b) d = 1a + c (c) d + *= a; (d) a % = 6; Consider the following C statements: { 3

37.

int f = 5,s = 10, t = 35, fo = 20, fi = 25, r; r = f +s *(t fo)/fi; printf(expression1 = %d, r); r = f +s *t fo/fi; printf(\t expression2 = %d, r); } The output of the program will be ___________ (a) expression1 = 11 expression2 = 35 (c) expression1 = 11 expression2 = 355 38.

(b) expression1 = 13 expression2 = 33 (d) error message

Consider the following C statements: { int a=5, b=10, c; clrscr ( ); c = b - ++a; c ++ ; c = b- - - a- -; printf(Value of c is %d, c); } _________ value of c will be printed in the printf statement (a) 5 (b) 16 (c) 10 (d) 15 Consider the following C statements: { int first = 100, second =5; int result; result = first % second; printf(Result = %f, result); } The output will be _______________ (a) Result = 4 (c) Result = 20

39.

(b) Result = 0 (d) Illegal use of floating point error message

40. 41. 42. 43.

_______ will be the value of variable val after evaluating the statement val = sizeof(float). (a) 2 (b) 8 (c) 4 (d) 32 _______ is used when the user does not want to display the input character on the screen. (a) getc( ) (b) getchar( ) (c) getche( ) (d) getch( ) For inputting a long double, ______character is used with scanf( ) (a) ld (b) L (c) lf (d) e Consider int c =614; printf(% -7d,c); then c will be printed as _______ 0 0 6 1 4 6 1 4 (a) (b) (c) (d) 4 6 1 4 0 0 0 0 0 0 6 1 4

44.

The type specifications that are used in the control string for formatted output have the following general syntax, where l is total character positions, m for number of digits after the decimal point and p is data type character (a) %l.m p (b) % lp (c) % lm (d) % l ________ function writes a character to the file (a) puts( ) (b) putc( ) (c) putchar( ) (d) putch( ) _________ is not true about the if statement (a) In if statement the condition is written in parenthesis (b) Condition is an expression evaluating to either true or false (c) Default scope of an if statement is a single statement (d) Semicolon is used after the right parenthesis

45. 46.

47. 48

In an if statement, when statements are embedded in { }, it is called ________. (a) single statement (b) multiple statement (c) compound statement

(d) none

In a _________statement, one block of statements gets executed when the expression evaluates to true and another block of statements gets evaluated if the expression evaluates to false. (a) if.else (b) simple if (c) else.. if ladder (d) none If the test expression is (n=5), it will evaluate to ______ (a) true (b) false (c) both (a) & (b) (d) none of these

49. 50.

float saleamt=1000.00; if (saleamt > 500) printf(commission is 10%); printf(commission is 5%); Considering the statements given above, _______ will be displayed on the output screen. (a) commission is 5% (b) commission is 10% (c) commission is 0% (d) error on compilation

1. 2. 3. 4. 5. 6. 7. 8. 9.

oooo oooo oooo oooo oooo oooo oooo oooo oooo

oooo 12. o o o o 13. o o o o 14. o o o o 15. o o o o 16. o o o o 17. o o o o 18. o o o o 19. o o o o


11.

oooo 22. o o o o 23. o o o o 24. o o o o 25. o o o o 26. o o o o 27. o o o o 28. o o o o 29. o o o o


21. 5

oooo 32. o o o o 33. o o o o 34. o o o o 35. o o o o 36. o o o o 37. o o o o 38. o o o o 39. o o o o


31.

oooo 42. o o o o 43. o o o o 44. o o o o 45. o o o o 46. o o o o 47. o o o o 48. o o o o 49. o o o o


41.

10.

oooo

20.

oooo

30.

oooo

40.

oooo

50.

oooo

Das könnte Ihnen auch gefallen