Вы находитесь на странице: 1из 1

Chishti Groups Of Colleges

Test Month: December Class: ICS Part 2 Time: 1:00 Hour


Subject: Computer Total Marks: 30

Roll No. Name:

Q.1 Choose the correct option: 06 X 01 = 06


i. Which of the following loop is called counter loop?
(a) for (b) While (c) Do-while (d) None
ii. A loop with in loop is called:

(a) Nested loop (b) Complain (c) Infinite (d) All


loop loop

iii. This means to increase a value by one:

(a) Modules (b) Increment (c) Derement (d) None

iv. Global variable are created in

(a) RAM (b) ROM (c) Hard disk (d) Cashe

v. The scope of variable is refers to its:

(a) None (b) Length (c) Data type (d) Accessibility

vi. Local variable are also called

(a) Automatic (b) Normal (c) Global (d) None

Q.2 Write a short answer (Any 8) 08 X 02 = 16


1. What is data processing? 5. Writs any two properties of relation.

2. List any 2 keys. 6 What is Relation?


7. What is Record?
3. What is output of the following? 8. What is while loop and write its system?
Int I,j=1; 9. Why we use loop?
For(i=1; i<=5; ++i)
{ 10. What is the output of following?
printf(%d %d \n , I,jj);
j++;
} Int n=5,;
4.What is output of the following?
int x=10,y=4; voidtable (n)
do
{ {
x=x-6,y=y+8; int c ;
Printf(%d \t , x); For(c=1;c=<=4 ; c++)
} {printf(%d*%d=%d \n,n,c,n * c);
while (y<=16)
x=x+1; }
printf(d \t %d , x,y);

Q.3 Attempt any 1 following Questions: 04 X 1 = 04


1) What is Nested loop explain with example.
2) Define the following
a) Local variable b) Global variable c) Scope of variable d) Life time of variable
Q.4 Define data base system. Explain its components of DBMS? 4X1=04

Вам также может понравиться