Professional Documents
Culture Documents
E-Commerce
IT430
(Group is not responsible for any solved content)
http://groups.google.com/group/vu_experts
IT430
IT430 – Idea Solution
Please don’t copy. Make your Own.
Question 1:
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:
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
Question 2:
Write down the HTML code for the following tasks.
a) Set the background colour of the browser window to blue, text colour to white
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) Divide the browser window in 4 equal sized vertical frames. Also note that
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>