(i) All questions are compulsory.
(ii) Answer the questions after carefully reading the text.
1. (a) Identify the odd one out of the following : 2
Optical Fiber/Coaxial Cable/Bluetooth/Twisted Pair Cable Give reason for your answer.
(c) What is the purpose of logical address of computer ? 2
(d) Does open source software only mean that the software is free of cost ? Give reason for your answer. 2
(e) Which of the following are valid IP addresses ? Give reason(s) if invalid. 2
2. (a) Write the value that will be assigned to variable x after executing the following statement : 1
x = 20 – 5 + 3 * 20/5;
(b) Consider the statement :
choice = ‘Y’;
What is the datatype of variable choice ? Write a Java statement to declare the variable ‘choice’. 1
(c) While working in Netbeans IDE, Amit wants that the text in a Text area should move to the next line without breaking the word. Which properties would help him to do that ? 1
(d) Write a Java statement to : 1
Append a string ‘‘ABC’’ to the text that is already in the text area named jTextArea1.