CS13 Midterm
Create a web page named "XYZexam1.html"
(where XYZ are your own initials),
similar to the following, using HTML tags only.
[[ Further instructions are within double-brackets ]]
|
---|
Create a second web page.
Call it "XYZpage2.html".
[[ See separate description of "Page 2". ]]
|
UPLOAD both pages (XYZexam1.html and XYZpage2.html) to your area on the server.
|
Also create a duplicate file on the server for this page2,
naming them "XYZtakehome1.html"
and "XYZtakehome2.html"
As a takehome exam, revise and improve these pages,
and upload them to your area by one week from today.
|
CS13 [[ITALICS]]
Midterm
[[CENTERED, BIGGEST SIZE]]
YOUR NAME: _________________
[[BOLD, RIGHT - add your own name-underlined]]
[[ Place 2 images: one on the left ..............and one on the right. ]]
[[ Now, make these 2 images swap places, when the mouse moves over the left image! ]]
====================================================================================================
[[ HORIZONTAL RULER, here ]]
Shopping List
1. Apples
A. Delicious
B. Granny Smith
i. Red [[Approximate colors for these four]]
ii. Green
iii. Yellow
iv. Brown
C. Macintosh
2. Pears
a. Anjou
b. Bartlett
3. Oranges
· Florida
· California
· Navel
· Mandarin
4. Watermelon
[[ Center an image, here. ]]
[[ When user clicks on this image, jump to "page2" ]]
TOP OF PAGE [[ Make these words a link to the top of THIS page. ]]
====================================================================================================
[[ ANOTHER HORIZONTAL RULER, here ]]
[[ BUILD A TABLE similar to this one,using HTML tags only. ]]
[[ Replace each QUESTION ID with YOUR answer. ]]
[[ Use hex values (NOT color names) to make each cell approximately the color specified (at upper left). ]]
[[ NOTE: Don't bother writing the color names in the cells. ]]
[[ Just change the background (using hex values, not color names). ]]
[[ (Colors are VERY approximate; don't waste time "fine-tuning" them. ]]
Here are the questions:
NOTE: When answering questions about HTML tags, do not include the "<" or > characters!
( Just give the tag name, without these surrounding characters.)
- A1: How many milliseconds are in ten minutes?
- A2: When (within ten years) did computers first connect via the internet (formerly called "Arpanet")?
- A3: How many 5 Megabyte floppy disks would be needed to hold all the data on a 50 Gigabyte hard disk?
- A4: What language can be used to make a web page "interactive".
- A5: What does the "H' stand for in "HTML" and what does that mean?
- B1: How can JavaScript read a file from your disk?
- B2: Write the JavaScript code to pop up a message window that says "Hello".
- B3: In JavaScript, what is the name of the property that tells where an image comes from?
- B4: How fast is a processor that completes each clock cycle in 500 picoseconds?
- B5: If a processor speed is 500 Megacycles per second (500 MegaHertz), how many nanoseconds does it take to complete one cycle.
- C1: What HTML tag starts a list where each item has a bullet · in front of it?
- C2: What is the HTML tag that changes the size or color of the text?
- C3: Which tag leaves your spaces alone, and does not do any word wrap"?
- C4: In JavaScript, which symbols surround a block (such as a block of two statements, following an "if" or "else")?
[Two-character answer is OK]
- C5: Put a small image here, and make a popup window say "Hello!" when the mouse moves away from it.
- D1: Give three examples of an I/O device that does BOTH input and output.
- D2: Give three examples of a device that outputs information directly to humans.
- D3: Give two examples of a device that gets input directly from humans.
- D4: If a program reads one record after another from a file, how can it avoid waiting for the disk each time?
[One-word answer is OK]
- D5: Where does the browser keep images that have already been viewed, but might be looked at again?
[One-word answer is OK]
- E1: What color do you see when all three RGB values are at about 50% ?
- E2: What color do you see when The B value is much higher than the other two?
- E3: What color do you see when the R and G values are about equal, and much higher than the B value?
- E4: What color do you see when all three values are very high?
- E5: What color do you see when the G value is zero, and the other two are about equal?
- F1: Write a hexadecimal number that has the same value as decimal 102 (one hundred and two).
- F2: Write the bits of an 9-bit byte that has the value 102 (decimal).
- F3: What ASCII character has the decimal value 102?
- F4: What is the decimal value of an 8-bit byte whose first bit is one, and all other bits are zero?
- F5: What is the decimal value of the hexadecimal number 0x66 ?