IT430 Assignment No. 1 Spring 2012 Solution

View previous topic View next topic Go down

GMT - 3 Hours IT430 Assignment No. 1 Spring 2012 Solution

Post by laila on Mon Apr 16, 2012 6:28 pm

IT430 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

Code:
<html>

<title>IT430 Assignment</title>

<body>

<h1><center>Admission Form</center></h1>

<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>

<td><br><input type=”radio” checked>Male<br><input type=”radio”>Female</td>

</tr>

<tr>

<td>Postal Address</td>

<td><br><textarea name=”address” rows=”8″ cols=”20″></textarea></td>

</tr>

Online work at home Online degree programs Internet Address
<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>
avatar
laila
Monstars
Monstars

Taurus Monkey
Posts : 422
Join date : 2011-11-09
Age : 25
Location : Pak
--Mood-- : Angelic

Character sheet
Experience:
50/500  (50/500)

Back to top Go down

View previous topic View next topic Back to top


Permissions in this forum:
You cannot reply to topics in this forum