CST111 Midterm Exam
- SPREADSHEET:
Follow these instructions to create a spreadsheet.
First, create a spreadsheet with the following column headings in ROW #1
(i.e. cells A1, B1, C1, D1, E1).
- Count
- Fibonacci
- Growth
- Diff
- My Name
In Row #2, store the number 1 (one) into the first three cells (A2 and B2 and C2),
and your name in cell E2.
- In the first column, starting at row 3 and down to row 21,
fill each of these cells (A3:A21)
with a formula that adds 1 (one) to the value in the cell above it.
(Don't type a formula into each cell; use copy and paste.)
- Also store the number 1 (one) in cell B3.
Then fill the next 18 rows of the first column (B4:B21)
with a formula that adds the two numbers above that cell.
This should produce a "Fibonacci series" that begins like this:
1, 1, 2, 3, 5, 8, 13, . . . 4191, 6765
(The value in cell B21 should be 6765)..
- In the third column, enter the value 100 in row 2 (cell C2),
then fill the remaining cells (C3:C21) with a formula that
adds 100 to the value in the cell directly above.
- In the fourth column, below the heading ("Diff"),
each of the cells (D2:D20) should contain a formula that
subtracts the value in column "C" from the value in column "B"
(of the same row).
The resulting value in D20 should be 4765.
- Leave the rest of the fifth column empty, after your name in cell E2.
The First three and last two rows of your table (A1:E21)
should look like this:
Count
| Fibonacci
| Growth
| Diff
| Name
|
1
| 1
| 100
| -99
| Your Name
|
2
| 1
| 200
| -298
|
|
3
| 2
| 300
| -199
|
|
·
·
·
·
·
|
19
| 4181
| 1900
| 2281
|
|
20
| 6765
| 2000
| 4765
|
|
(Note that there should be no numbers entered into any cells below row 3!)
- HTML:
Using TextPad or Notepad or any other text editor
(but NOT a Microsoft "Office" product such as "Word" or "Front Page"),
write the appropriate HTML to create a web page as described below.
Upload your HTML file as:
xyz-midterm.html (where "xyz" are YOUR initials)
Also print out your HTML.
Requirements for your web page:
- In the upper right corner of your web page,
display your own name in the largest available size, as follows:
- Display your first name in green, with the letters in italics.
- Display your middle initial in red; use the letter "X" if you have no middle initial.
- Display your last name, with each of the first four letters displayed in a different color.
Make sure that text that follows on the rest of the page is of normal size, color, not italics, etc.
(unless otherwise indicated).
- Centered on the page, display "CS13" in blue.
- At the left, display the words "Final Exam" with the letters underlined.
- Separate the above from the following, with a line across the page, from left to right.
(Use the appropriate tag to do this.)
- Now, display any three images.
- Use Javascript to make the first and second images change places
when the mouse is hovering on the third image.
- Use Javascript to make all three images become the same as the third one,
when you click on the third image.
- Using Javascript, pop up a message box saying "hello"
whenever you click on the first image.
- In an ordered list, provide the answers to the following questions:
- How many Megabytes are in a Gigabyte?
- How many microseconds are in a half second?
- In hexadecimal, how do you represent one dozen?
- In hexadecimal, how do you represent two dozen (24)?
- In binary, how do you represent two dozen (24)?
- What color is #993399 ?
- What color is #000000 ?
- What color is #00FFFF ?
- What is the color number for Green?
- What is the color number for White?
- Make an ordered list of the following, from fastest to slowest method of obtaining data:
floppy=disk, memory, client-server, register, CD-ROM, hard-disk
- List at least seven steps that occur between the time
you click on a "hyperlink"
and the time when the new web page appears on your screen.
Use an an unordered list for this, but
be sure the steps are listed in the correct order!
http://blackdog4kids.com/holiday/thanks/tictactoe/drag.html
http://www.metacafe.com/watch/850415/magic_of_math/