CST 111 Takehome test #1
Create a web page in your folder,
with appropriate text and HTML tags
to display the folowing information and formatting:
- The window title should say "Takehome test #1".
- Choose a (light) background color for the page,
and set it in the BODY tag.
Do NOT use any color names for this, or for any other colors on this page; instead, use a 6-digit hexadecimal value.
- On the left side of the page, display an image from the web, i.e.
http://....
.
- Choose another image from somewhere on the World Wide Web,
download it,
then upload it to your folder,
and display your copy of it at the RIGHT side of your web page.
- At the top of the web page, display your name, centered, in the largest possible font size.
(Do not use this size for anything else on the page).
- Display the date at the right side of the page, in italics.
- Immediately underneath the date, display the string "CST 111" in boldface.
- At the left side of the page, display the string "Takehome test #1" in GREEN characters.
- Next to this green text, show the last FOUR digits of your student ID in RED.
(We will call this number "A")
- Next to this red text, display the same four digits in REVERSE ORDER in light grey.
(If your ID ends in 1732 then your should show 2371 in grey.)
Call this number "B".
- Put a horizontal line undeneath the above.
- Next, display a decimal number equal to the value of the last four digits of your SCCC ID # in decimal
(as shown above in green) plus one thousand (decimal), and underline this decimal number.
Let's call this value "A+1000".
- Then create an unordered list showing the following:
- The binary value (in bits) of A+1000. (Your 4-digit-ID plus 1000.)
- The value of A+1000 expressed in octal (base eight).
- The value of A+1000 expressed in hexadecimal (base sixteen).
- The value of A+1000 expressed in dozenal (base twelve).
- Next, display a decimal number equal to
the value of the last four digits of your SCCC ID #
reversed,
(as shown above in red) plus TWO thousand (decimal).
Let's call this value "B+2000".
(Your 4-digit-ID reversed, plus 2000.)
- Then create another unordered list showing the following:
- The binary value (in bits) of B+2000.
- The value of B+2000 expressed in octal (base eight).
- The value of B+2000 expressed in hexadecimal (base sixteen).
- The value of B+2000 expressed in dozenal (base twelve).
- Write down the 24-hour time of day that you are doing this problem,
without any punctuation,
and interpret it as a three or four digit decimal number.
- Then create a third unordered list showing the following:
- If this represented a hex number, then what would be its value in decimal?
- What is the decimal value if the digits you wrote for A+1000 represented a hexadecimal value?
p
- What is the decimal value if the digits you wrote for B+2000 represented a hexadecimal value?
- Display your first and last initials (in UPPER case).
____
____