IT430 Assignment # 1 Solution
Friday, October 22, 2010 Posted In CS and IT Edit ThisSolution:
This is not a solution there may some mistakes so correct and give comment.
b) Convert the following IP addresses from decimal to binary and binary to decimal showing the steps involved.
221.120.152.10
11011101.1111000.10011000.1010
202.125.147.6
11001010.1111101.10010011.110
01111001 121 2^0*1+2^1*0+2^2*0+2^3*1+2^4*1+2^5*1+2^6*1+2^7*0
01100100. 100 2^0*0+2^1*0+2^2*1+2^3*0+2^4*0+2^5*1+2^6*1+2^7*0
11110110 246 2^0*0+2^1*1+2^2*1+2^3*0+2^4*1+2^5*1+2^6*1+2^7*1
00001010 10 2^0*0+2^1*1+2^2*0+2^3*1+2^4*0+2^5*0+2^6*0+2^7*0
11001010. 202 2^1*0+2^1*1+2^2*0+2^3*1+2^4*0+2^5*0+2^6*1+2^7*1
01111101. 125 2^0*1+2^1*0+2^2*1+2^3*1+2^4*1+2^5*1+2^6*1+2^7*0
10001010. 138 2^0*0+2^1*1+2^2*0+2^3*1+2^4*0+2^5*0+2^6*0+2^7*1
10011101 157 2^0*1+2^1*0+2^2*1+2^3*1+2^4*1+2^5*0+2^6*0+2^7*1
a) Set the background colour of the browser window to blue, text colour to white and link colour to yellow.
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.
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.
221.120.152.10 = 11011101.1111000.10011000.1010
202.125.147.6 = 11001010.1111101.10010011.110
121.100.246.10 = 01111001.01100100.11110110.00001010
202.125.138.157 = 11001010.01111101.10001010.10011101
Answer:-
Dividing the screen vertically
Answer:-
Convert the following IP addresses from decimal to binary and binary to decimal showing the steps involved.
221.120.152.10
11011101.1111000.10011000.1010
202.125.147.6
11001010.1111101.10010011.110
01111001 121 2^0*1+2^1*0+2^2*0+2^3*1+2^4*1+2^5*1+2^6*1+2^7*0
01100100. 100 2^0*0+2^1*0+2^2*1+2^3*0+2^4*0+2^5*1+2^6*1+2^7*0
11110110 246 2^0*0+2^1*1+2^2*1+2^3*0+2^4*1+2^5*1+2^6*1+2^7*1
00001010 10 2^0*0+2^1*1+2^2*0+2^3*1+2^4*0+2^5*0+2^6*0+2^7*0
11001010. 202 2^1*0+2^1*1+2^2*0+2^3*1+2^4*0+2^5*0+2^6*1+2^7*1
01111101. 125 2^0*1+2^1*0+2^2*1+2^3*1+2^4*1+2^5*1+2^6*1+2^7*0
10001010. 138 2^0*0+2^1*1+2^2*0+2^3*1+2^4*0+2^5*0+2^6*0+2^7*1
10011101 157 2^0*1+2^1*0+2^2*1+2^3*1+2^4*1+2^5*0+2^6*0+2^7*1
a) Set the background colour of the browser window to blue, text colour to white and link colour to yellow.
this is idea solution
vu site link
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.
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.