Due Monday, 2/18
- Read Chapter 5 of Learning PHP/MySQL (pages 85-106)
and answer the questions at the end of the chapter.
- Exercise 4-1.Modify the script we
wrote for last week's homework so that it now uses a function
named printSequence() to print a sequence from 0 to
n, counting by m. For example if n is 20 and
m is 3, then the function should print: 0, 3, 6, 9, 12, 15, 18.
If m were 5, it should print 0, 5, 10, 15, 20. This function should
have two parameters, one for n and one for m. Call
the function five times to print out five different sequences.
- Exercise 4-2. Challenge: Modify the function you
wrote in the previous exercise so that it will print either increasing
or decreasing sequences starting at zero, depending on how you call
it. For example, the function should be able to print the sequence
from 0 to -20, counting by fives: 0 -5 -10 -15 -20. (HINT: Parameters
let you make a function more general in its behavior.)
Due Wednesday, 2/20
- Modify your drafts on the Wikipedia as history assignment to incorporate the following changes into your pages:
- Proofread for typos, spelling errors, incorrect punctuation, etc.
- Format into paragraphs and/or sections.
- Provide hyperlinks to important concepts mentioned in your essay.
- Provide a hyperlink to the Rosenzweig article in your essay.
- Provide a footnote/reference to at least one article that supports a point you are making.
- Provide feedback to one other student's paper. To make sure everybody receives feedback, select the essay that is next in the list after your essay. The last essayist in the list wraps around to the first essay.