Anda di halaman 1dari 4

Ms-Access

NAME: ___________________
BATCH: _____________________ Q.1: 1. 2. 3. 4. 5. Q.2: 1. A) 2. A) 3. A) 4. A) 5. A) 6. A) 7. A) 8. A) 9. A) 10. A) Q.3: FILL IN THE BLANKS. (05 MARKS) ____________________is an application of Ms-Office which is used to create Database. Write Down the name of any three data types of Access ________________,___________________,_____________. The extension of Ms Access file is ________. _____________________ is used to avoid insert duplicate and null values in a field of table. with the help of ___________________we can join/link more than one table to each other. CHOOSE THE BEST ANSWER OF THE FOLLOWING QUESTIONS. (10 MARKS) ______data type accepts only numeric values in the field. Integer B) Number C) Text D) All of these ______ is the maximum limit of text data type field. 265 B) 254 C) 255 D) None of these There are ____ objects in Ms Access. 6 B) 5 C) 7 D) None of these. ______ is the short cut key to run query. F5 B) Ctrl+E C) F6 D) None of these _______is used to store information in the form of rows and columns. Query B) Table C) Form D) All of these ______ is used to display records of table in different styles or layout. Query B) Table C) Form D) All of these _____ is used to show or find particular data from one or more tables. Query B) Table C) Form D) All of these There are ______data types are available in Ms Access. 12 B) 10 C) 11 D) 13 In _______data type we can insert any symbol, character and number into a field. Text B) Memo C) Number D) Both A & B _____ is the field size limit of a Integer. -35656 to 35655 B) -32767 to 32768 C) 0 to 255 WRITE DOWN THE TRUE / FALSE OF THE FOLLOWING QUESTIONS. (05 MARKS)

TOTAL MARKS (25)


PASSING MARKS (50%)

1. To create database in Access we will have to save the file first. 2. We can not establish relationship in Access b/w tables. 3. SQL, ORACLE and Access are used to create databases. 4. We can apply primary key on more than one field in a table.

5. Reports are used to take print of particular data from table or queries.
Q.4: WRITE DOWN THE ABBREVIATIONS OF THE FOLLOWING. (05) MARKS

1. MDB 2. DBMS 3. SQL 4. RDBMS 5. OLE

_____________________________________________ _____________________________________________ _____________________________________________ _____________________________________________ _____________________________________________

C LANGUAGE
(SECOND TEST)
Name:_______________________ Batch:_______________________ Q.1: FILL IN THE BLANKS. (10 MARKS)

Max Marks( 78) Min Marks (50%)

1. __________ is the repetition of any statement or program.


2. 3. 4. 5. 6. 7. 8. 9. 10. Q.2: ________ & ______________ are used for decision making. __________ & _______________loops are called pre test loop. ____________is the set of instruction which can be called many times in a program. __________________are called logical operators in C language. ____________is a variable which holds the address of memory. ____________is a collection of data item or variables of same type. Write down the relational operators_____________________________. In Switch we will have to write ___________key word after each case statement. ________loop must execute one time whether the condition is false. CHOOSE THE BEST ANSWER OF THE FOLLOWING QUESTIONS. (25 MARKS) All of these None of these None of these. None of these None of these None of these All of these All of these Both A & B None of these strcat() None of these None of these. None of these 27, 13 All of these All of these All of these date

1. ______function is used to take input string only. A) puts() B) gets() C) getch() D) 2. ______is the maximum limit of unsigned integer data type. A) 255 B) 32667 C) 65535 D) 3. There are 2 basic types of functions ______. A) Pre define B) User define C) Both a & b D) 4. To declare a macro in C ______ method is true.. A) # include B) # define C) # stdio.h D) 5. int ar[5] _________is the size of this array. A) 5 B) 4 C) 3 D) 6. Preprocessor directive is an instruction to _______ A) Programmer B) Compiler C) Interpreter D) 7. Strings are terminated with ________. A) ; B) /0 C) Null D) 8. We can use pointers with ____________. A) Strings B) Array C) Pointer D) 9. Choose the right method to declare pointer variable._______. A) *int ali B) int ali* C) int *ali D) 10. ______ function is used to print any value at particular position at output screen. A) goto() B) gotoxy() C) goto(x,y) D) 11. ________function is used to concatenate one string into other string. A) strlen() B) strcmp() C) strcpy() D) 12. We can store maximum_______ in unsigned character data type. A) 265 B) 254 C) 255 D) 13. There are 2 basic types of functions ______. A) Pre define B) User define C) Both a & b D) 14. ______is key word which return the value to a function. A) Break B) Return C) Switch D) 15. Ascii code of Escape and Enter Key is _____ respectively. A) 13 , 20 B) 14, 21 C) 13 , 27 D) 16. a++ is equal to ______. A) a=a*a B) a=a+1 C) a=a+a D) 17. we use scanf() function for ___. A) Reading Single Character C) Numeric values D) 18. We can use pointers with ____________. A) Strings B) Array C) Pointer D) 19. ______is not the data type of C language. A) int B) Boolean C) Bothe B & D D)

20. _______function is used to find the length of strings. A) length() B) len() C) strlen() D) 21. What is the meaning of void() function______ A) function takes no argument B) function will print C) 22. int a=5+4 % 8 is equal to ______. A) 9 B) 0 C) Error D) 23. _______developed C language. A) Ken Thompson B) John Kerminghan & Dennis Ritchie C) 24. _______function exist in conio.h header files in C language. A) Clrscr() B) getche() C) getch() D) 25. When you pass an array as an argument to a function _____ is actually passed? A) values B) array C) address D) Q.3:

strlength() function will not return any thing 1 Napier All of these None of these

SELECT THE VALUES FROM A WHICH ARE SUITABLE WITH B AND WIRTE IN C (15MARKS)

A Address Operator Variable Function Escape Sequence Format Specifier Data Type Relational Operator Key Word Statement Terminator Command Block Pointer Variable Not Operator Macro Statement Loop

B Do While ! ; b=50/2 # define max(a>b)?a:b *Hello { } Long & < %f \f Clrscr() Sum Break

Q.4: WRITE DOWN THE OUTPUT FOR THE FOLLOWING PROGRAMS.(28 Marks) 1. main() { int a=2,b=5; if(a= = 10) printf(%d,a*b); else printf(%d,a+b); } 2. main() { int a=8,b=10; a=b--; b=a++; printf(%d %d,b,a); }

3.

main() { int t=3,v=14; for(;t<v;t+=2) printf(%d,t); }

4.

main() { int a[5]={2,3,4,5,6}; printf(%d,a[4]); }

5.

main() { char ar[]=genetic char as[]=cms printf(%d,strlen(strcat(as,ar))); }

6.

main() { int a=2, *c; c=&a; printf(%d,*c); }

7.

main() { int table,as; as=255,table=++as printf(%d,table); }

8.

main() { char a[5]={a,b,c,d,g}; printf(%d,a[4]); }

9.

main() a=6,b=30,c=a+b; if(a<b && c<b) printf(hi); else printf(good bye); }

10.

main() { int number=8/3; printf(%d,number); }

11.

main() { int a; for(a=65;a!=67;++a) printf(%d %c,a,a); }

12.

main() { float ali=45.6634; printf(%.2f,ali); }

13.

main() { int a=2; while(a>5); printf(hi) a=a+2 printf(ok);


}

14.

main() { int a=4; do { printf(hello); a=a+7;


} while(a<2); }

Anda mungkin juga menyukai