# SOLVED IT430 Assignment 1 Solution and Discussion

• ``````Assignment No. 01
``````

Semester Fall 2019
IT430:E-Commerce
Total Marks: 15
Due Date: 12/11//2019

Instructions
Please read the following instructions carefully before solving & submitting the assignment:
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.
o For clarity and simplicity, you are required to Upload/Submit only .doc or .docx file.

Objective
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 [email protected]

Task.1: Convert the binary number (10101001)2 into its equivalent decimal number with all calculation steps.
Task 2: You have to write the HTML code for creating a from as shown in the following screenshot.

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.

GOOD LUCK

• Task.1: Convert the binary number (10101001)2 into its equivalent decimal number with all calculation steps.
Solution:
201 + 210 + 220 +231 + 240 + 251 + 260 + 271
1 + 0 + 0 + 8 +0 + 32 + 0 + 128
= (169)10

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

``````Solution:
<html>
<title>Student Information</title>
<body>
<table align="center">
<tr><td>Student ID: </td><td><input type ="text" id="yes" Name="StuId" value = BC123456789 ><td  bgcolor="#FF0000">*Write your own VUID </td></td></tr><br>
<tr><td>Paswword: </td><td><input type ="password" id="yes1" Name="pwd" ></td></tr><br>
</table>

<tr>
<td  colspan = 2>
</tr>
</form>
</body>

</html>

``````

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

Solution:

• Task.1: Convert the binary number (10101001)2 into its equivalent decimal number with all calculation steps.
Solution:
201 + 210 + 220 +231 + 240 + 251 + 260 + 271
1 + 0 + 0 + 8 +0 + 32 + 0 + 128
= (169)10

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

``````Solution:
<html>
<title>Student Information</title>
<body>
<table align="center">
<tr><td>Student ID: </td><td><input type ="text" id="yes" Name="StuId" value = BC123456789 ><td  bgcolor="#FF0000">*Write your own VUID </td></td></tr><br>
<tr><td>Paswword: </td><td><input type ="password" id="yes1" Name="pwd" ></td></tr><br>
</table>

<tr>
<td  colspan = 2>
</tr>
</form>
</body>

</html>

``````

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

Solution:

• Please check this ideas solution.

3

1

2

2

1

2

2

2
| |