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.
8264d81e-5e3e-41ed-bde5-2283b4b81cf7-image.png
Solution:
<html>
<head>
<title>Student Information</title>
</head>
<body>
<form name="frmStuGradeCal" align="center">
<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>
<input type="button" name="login" value=" Login">
<tr>
<td colspan = 2>
Press Login button </td>
</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.
13a92205-5685-4303-aa20-87c4635c33da-image.png
Solution:
32a44433-1b24-4584-a93d-5e2b52fc2953-image.png