You are on page 1of 4

INFORMATICS PRACTICES (THEORY) CLASS XII BLUE PRINT

Time: 1.5 Hrs TOPIC VSA(1) SA1( 2) SA2(3)

M.M. 35 No of questions TOTAL

Networking and open standards JAVA Programming

4(4)

6(3)

10

3(3)

16(8)

6(2)

13

25

TOTAL

7(7)

22(11)

6(2)

20

35

INFORMATICS PRACTICES CLASS XII SPECIAL EXAM SET A TIME:1.5 hrs M.M 35

Q1. Answer the following the questions a. What is IP address 1 b. Name the network used by the repeaters. 1 c. If you develop software using open source software, mention one difficulty to sell the software. 1 d. An organization is planning to link its front office situated in the city in hilly region where cable connection is not feasible. Suggest an economy way to connect it with reasonably high speed. 1 e. Suggest some ways to prevent DOS attacks? 2 f. What is the function of the following network devices? 2 a. NIC b. Hub g. Why network security is an important aspect over data security? 2

Q2.Answer the following questions a. Which swing component use ListSelectionModel? b. Name the method which helps you to convert the jTextField data into float. c. What is a fall through? d. Write a program to print the Fibonacci series. Q3.Answer the following questions a. Rewrite the following while loop into for loop Int stripes=0; While(stripes<=18) { if(stripes%3==0) 2 1 1 1 2

{ System.out.println(Red Color); } else System.out.println(Pink Color); System.out.println(Blue Color); Stripes=stripes+1; } b. What will be the output float x=9,y=5; int z=int(x/y); switch(z) { case 1: x=x+2; case 2: x=x+3; case 3: x=x+5; default: x=x+1; } System.out.println(Value of x: +x); c. What would be output of the following code segment written in java. public static void main(String [] args) { int a=10, b= 9; boolean x; x = a++ == ++b; System.out.print("x = "+x); } d. Explain with the help of an example the meaning of private access specifier? 2

Q4.Answer the following questions a. How many times will the following loop get executed and what will be the final value of the variable I after execution the loop is over. 2 int i = 5; do { i += 3; System.out.println("I = "+i); i = i + 1; }while (i >= 9);

b. ABC School uses the following interface built in java to check the eligibility of a student for a particular stream from science, commerce and humanities. The user first enters the total percentage and selects the desired stream by selecting the appropriate option button. An additional 5% is marks is given to students of NCC.

Write Java Code for the following i. On the Action event of the close button the application gets closed. 2 ii. On the Action event of the clear button all the text fields and the check boxes get cleared. 2 iii. On Action event of the button Calc Percentage Net percentage of the student is calculated and displayed in the appropriate text filed. Net percentage is same as that of the actual percentage if the student doesnt opts for NCC otherwise 5% is added to actual percentage. 3 iv. On Action Event of the button Result, the application checks the eligibility of the students. And display result in the appropriate text field. Minimum percentage for science is 70, for commerce 60 and for humanities 40. 3

You might also like