Professional Documents
Culture Documents
IP 12th PA-1
IP 12th PA-1
Section-A
Q.1 (a) Nikhil is transferring songs from his mobile to his friend’s mobile via Bluetooth 1
connection. Name the network used by Nikhil.
(d) Write the name of the most suitable wireless communication channels for each of the 3
following situations:
(i) Communication between two offices in different countries.
(ii) To transfer the data from one mobile phone to another.
(e) What will be the result of a=7/3 if a is 3
(i) float (b) int
(b) What is an identifier? What are the identifier forming rules of java? 2
(c) What is the difference between implicit and explicit type conversion? 2
(d) What will be displayed in jTextArea1 after executing the following statement? 2
jTextArea1.setText(“INDIA\nINCREDIBLE\tINDIA”);
(e) Write a Java GUI program to find LCM of given number. 4
Section-B
if(ch==’E’)
e++;
if(ch==’W’)
w++;
if(ch==’N’)
n++;
else
unknown;
Section-C
Q.5 (a) Through which property of radio button can we select one radio button at a time? 2
(b) Give difference between List control and combo box control. 1
Page 2 of 3
(d) What is TCP/IP? Explain in short. 3
int p,q;
p= name.length();
q= 100-p;
jTextField1.setText(Integer.toString(p));
jTextField2.setText(Integer.toString(q));
(d) Observe the following code carefully and find which statement will never get execute 3
in the code:
int count = 1;
do
if (count<15)
jTextField1.setText(“jump”);
else
jTextField1.setText(“stop”);
count=count+4;
While(t<=15);
Page 3 of 3