You are on page 1of 3

Assignment No.

01 Total Marks: 15
Semester Fall 2019
Due Date: 12/11//2019


Please read the following instructions carefully before solving & submitting the

It should be clear that your assignment will not get any credit (zero marks) if:

o The assignment is submitted after the due date.

o The submitted assignment is other than .doc or .docx file.
o The submitted assignment does NOT open or file is corrupted.
o The assignment is copied (from another student or ditto copy ofthe handouts or internet).
o No assignment will be accepted after the due date via email in any case (whether it is the
case of load shedding or internet malfunctioning etc.). Hence refrain from uploading assignment
in the last hour of the deadline.
Uploading instructions

o For clarity and simplicity, you are required to Upload/Submit only .doc or .docx file.


The objective of this assignment is:

o To understand the practical implementation of binary data conversion into decimal

data conversion.
o To understand the HTML tags and handling of HTML tags.
o From Creation and from elements handling in HTML
o To understand and identify the network ids and host ids of any IP address.

For any query about the assignment, contact at

Task.1: Convert the binary number (10101001)2 into its equivalent decimal number with
all calculation steps.

Step 1: Write down the binary number:

Step 2: Multiply each digit of the binary number by the corresponding power of two:
1x27 + 0x26 + 1x25 + 0x24 + 1x23 + 0x22 + 0x21 + 1x20
Step 3: Solve the powers:
1x128 + 0x64 + 1x32 + 0x16 + 1x8 + 0x4 + 0x2 + 1x1 = 128 + 0 + 32 + 0 + 8 + 0 + 0 + 1
Step 4: Add up the numbers written above:
128 + 0 + 32 + 0 + 8 + 0 + 0 + 1 = 169. This is the decimal equivalent of the binary number

Task 2: You have to write the HTML code for creating a from as shown in the following

Note: No marks will be given if student does not write his/her own VU id.

Task 3: Identify the Network IDs and Host IDs from the given IP addresses and then
mention them in their respective columns.

IP Address Network IDs Host IDs HostMin:
11000000.10101000.01011011 11000000.10101000.01011011 11000000.10101000.01011011
.00111101 .00000000(Class C) .00000001
.11111110 HostMin:
10101100.11000000.00000001 10101100.11000000.00000001 10101100.11000000.00000001
.00001010 .00000000 (Class B) .00000001
.11111110 HostMin:
00001010.00000000.00000000 00001010.00000000.00000000 00001010.00000000.00000000
.00001001 .00000000 (Class A) .00000001