Home works and Assignments Online

Home » Class XII (S-II) » IP XII A, C

IP XII A, C

1.        What is the difference between free software and open source software?

2.       How can access to a file be restricted?

3.       Differentiate between internet and intranet?

4.       How many layers of TCP/IP protocol are combined of?

5.       Find the output of the following:

int x=2;

int y=++x;

System.out.print(x);

System.out.print(y);

System.out.print(x++);

6.        What will be the value of variable Sum after the following code is executed?

Sum=20;

opt=5;

Sum=Sum + (++opt);

7.       Analyze the following program segment and determine how many time the body of loop will be executed:

X=5;y=50;

while(x<=y)

{

y=y/x;

System.out.println(y);

}

8.       What is the purpose of default clause in a switch statement?

9.       What are three expressions given in the for statement?

10.   What is wrong with the following code?

switch(x)

{

case 1:

                N1=10;

                N2=20;

case 2:

                N3=30;

break;

N4=40;

}

DATE OF SUBMISSION: 25.06.2013


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: