# IT430 VU Assignment No. 1 Spring 2012 Solution

QUESTION # 1

A) Convert the following address into binary.

12.68.2.12

Ans:-    00001100.01000100.00000010.00001100

128.40.0.30
Ans:-   10000000.00101000.00000000.00011110

192.130.4.12

Ans:-    11000000.10000010.00000100.00001100

B) Convert the following address into binary to decimal.

11101100.00101011.11011011.10000101

(1*27+1*26+1*25+0*24+1*23+1*22+0*21+0*20). (0*27+0*26+1*25+0*24+1*23+0*22+1*21+1*20). (1*27+1*26+0*25+1*24+1*23+0*22+1*21+1*20). (1*27+0*26+0*25+0*24+0*23+1*22+0*21+1*20)

236.43.219.133

00010111.01010011.10001101.10100000

(0*27+0*26+0*25+1*24+0*23+1*22+1*21+1*20). (0*27+1*26+0*25+1*24+0*23+0*22+1*21+1*20). (1*27+0*26+0*25+0*24+1*23+1*22+0*21+1*20). (1*27+0*26+1*25+0*24+0*23+0*22+0*21+0*20)

23.83.141.160

QUESTION # 2

ARP and RARP operate and the Network layer of the OSI Model.
ARP is used to associate a logical address with a physical address. It is also used to find the physical address of the node when its internet address is known.
RARP allows a host to discover its internet address when it knows its physical address. It is used when a computer is connected to a network for the first time

QUESTION # 3

<html>

<title>IT430 Assignment</title>

<body>

<form name = “myform” action=”http://vu.edu.pk”><Table border=”1″ align=”center”>

<tr>

<td>Candidate’s name</td>

<td><input type=”text” name=”candidate name”></td>

</tr>

<tr>

<Td>Gender</td>

</tr>

<tr>

</tr>

<tr>

<td>Highest Qualification</td>

<td><select name=”Degree”>

<option selected>–Click to select–</option>

<option>Master Degree</option>

<option>Bachelors Decgree</option></select></td>

</tr>

<tr>

<td>Program Applied for</td>

<td><select name=”program”>

<option>–Click to Select–</option>

<option>Masters Degree</option>

<option>Doctorial Degree</option></td>

</tr>

<tr>

<td></td>

<td><input type=”submit” value=”Submit”><input type=”reset”></td>

</tr>

</table>

</form>

</body>

</html>