1. (a) How do Computer networks reduce hardware costs of an organization ? Explain with the help of example. 2
(b) Compare BUS topology with STAR topology. Give example. 2
(e) Explain the term Firewall and Cyber Law. 2
2. (a) Write the value that will be assigned to variable C after executing the following statement : 1
C = 25–5*4/2–10+4;
(b) Consider the statement : 1
first_name = “Ayana”;
(i) What is the datatype of first_name ?
(ii) Is 325 the same as “321” ? Give reason.
(c) Radhika changed the “Text” property of a Checkbox named jCheckBox1 to “Reading”. What change (if any) will be reflected in its name property ? 1
(d) Ariya has typed the following comments. Write the comments using another way. 1
//This is a comment spreading
//over two lines
(e) Given below is HTML code. Rewrite the correct code underlining all the corrections done. 2
<o1 type = “A” start=“D”>
<li>Bake in oven for an hour
<li>Remove from oven
(f) Explain the meaning of the following statement with the help of example. 2
“Tags are not predefined in XML”
(g) Name two properties and two methods that are common in jTextField and jLabel.