Vous êtes sur la page 1sur 4

Assignment # 01

E-Commerce

IT430 OR
IT430
OR

To Join VU Experts Google Group

(Group is not responsible for any solved content)

Simply send an empty email to vu_experts+subscribe@googlegroups.com

Simply send an empty email to vu-experts+subscribe@googlegroups.com

an empty email to vu-experts+subscribe@googlegroups.com To Contact Owner/ Moderator Simply send email to

To Contact Owner/ Moderator

Simply send email to bilal.zaheem@gmail.com

http://groups.google.com/group/vu_experts

IT430

IT430 Idea Solution

Please don’t copy. Make your Own.

Question 1:

Solution Please don’t copy. Make your Own. Question 1: a) In the following diagram find the

a) In the following diagram find the shortest path and the alternate shortest path if a client computer ’C’ on network 202.146 sends a request to the web server ‘B’ on network 100.

Answer:

a request to the web server ‘B’ on network 100. Answer: In the above diagram, explains
a request to the web server ‘B’ on network 100. Answer: In the above diagram, explains

In the above diagram, explains how routers on the internet backbone forward data packets by determining the shortest possible path for the destination. In this example a client machine ‘B’ sitting on network no. 100 sends data to a web server C’ hosted at network no. 202.146. ‘R2’ is the router attached to network no. 100. After consulting its routing table it can find that the shortest possible path for sending data to machine ‘C’ is to forward data packets to ‘R4’, the router attached to network no. 202.146. In case there is a blockade then‘R2’ can look for the

202.146. In case there is a blockade then‘R 2 ’ can look for the For Any

For Any Query or Help email at vuexperts@gmail.com

IT430

alternative shortest path. Here, the alternative shortest path for the delivery of data packets to ‘C’ can be R2-R1-R3-R4.

b) Convert the following IP addresses from decimal to binary and binary to

decimal showing the steps involved.

a) 221.120.152.10 = 11011101.1111000.11100.1010

b) 202.125.147.6 = 11001010.1111101.10010011.110

c) 158.38.111.80 = 01111001.01100100.11110110.00001010

c) 158.38.111.80 = 01111001.01100100.11110110.00001010 d) 202.158.138.157= 11001010.01111101.10001010.10011101

d) 202.158.138.157= 11001010.01111101.10001010.10011101

Question 2:

Write down the HTML code for the following tasks.

a)

and link colour to yellow. Answer:

<html>

<body bgcolor="blue"text="white"link="yellow"> <p>Set the background colour of the browser window to blue, text colour to white and link colour to yellow</p> <a href=http://www.vu.edu.pk>vu site link</a> </body> </html>

b)

border of the frame should be invisible and user should not be able to change the size of frame. Answer:

<html> <frameset cols="25%,25%,25%,25%"> <frame noresize> <frame noresize> <frame noresize> <frame noresize> </frameset> </html> c) Design a form in HTML that will contain two text boxes (ID, Password) and two buttons (Submit, Reset). By clicking the submit button form should be submitted to www.vu.edu.pk using POST method. Answer:

<html>

<body>

Set the background colour of the browser window to blue, text colour to white

Divide the browser window in 4 equal sized vertical frames. Also note that

the browser window in 4 equal sized vertical frames. Also note that For Any Query or
the browser window in 4 equal sized vertical frames. Also note that For Any Query or

For Any Query or Help email at vuexperts@gmail.com

IT430

<form action="http://vu.edu.pk"method="post"> <p>LOGIN <input type="text"name="id"> <p>PASSWORD <input type="password"name="password" size="10"> <p><input type="submit" value"submit this"> <input type="reset"> </form> </body> </html>

</form> </body> </html> For Any Query or Help email at vuexperts@gmail.com
</form> </body> </html> For Any Query or Help email at vuexperts@gmail.com

For Any Query or Help email at vuexperts@gmail.com