CS 4, Summer 2006: HW 1, due Friday, July 7

Instructions

Remember (see the course policies) to submit paper copies of your documents. You should print out the HTML code itself, from your text editor, rather than from the browser. Also write (or print) the URLs for the electronic versions uploaded to your private folder in your personal Dartmouth web space. Homework is due at the start of class. All web pages must be timestamped. Name your files with descriptive names, e.g., hw1-1.html, and hw1-2.html.

You must write HTML by hand, and not generate it by Word, FrontPage, DreamWeaver, or some other HTML editor. Use a text-editing program (as discussed in HW 0), and save as plain text. To check your progress, you can save the file and open it with Mozilla (either by "Open with" in the Finder/Explorer, or by "Open file" in Mozilla). You can switch back and forth between Mozilla and your editor, using the "Reload" button to make your changes show up in the browser. Do this until you have modified the HTML source to your satisfaction.

As you write your HTML, take a little extra time to format things neatly -- use reasonable and consistent indentation and whitespace to make the source clear and comprehensible for another human reader (i.e., both you and your grader). Maximum credit is given for nicely readable HTML source.

Problems

  1. [30 points]
    1. Briefly describe what happens when you have your web browser "go" to the URL http://www.dartmouth.edu/home/about/intro.html. Include in your answer a description of where the requested document "resides" and how your browser obtains it, and what else your browser must do (in addition to obtaining the HTML) in order to display the page as you see it.

    2. What's the difference between the <strong> tag and the <b> tag? When should you use one or the other, and why?

    3. Make up your own markup language. Use it to tell me a few things about yourself that will help me remember who you are, beyond just your name in the course roster. Use meaningful tags and good structure, demonstrating the use of nested tags. Here's an example description I made for your textbook. Your markup will look terrible if you simply stick it in an HTML document (why?). The easiest thing to do is to put it in a separate text file, e.g., hw1-1c.txt, as I did here. Since it is named .txt, the browser will know to display it as "raw" text, rather than interpreting the HTML. (As an alternative, if you really want to put it in HTML, you can convert the < and > signs to their special escape codes, and wrap your answer within the <pre><code> ... </pre></code> tags.)

  2. [70 points]

    Visit the Count on It exhibit at the Kresge/Cook Library. You are encouraged to see the exhibit with friends (including those in CS 4), and to discuss it with them.

    On your own, write a short report, in HTML, on something you found there (among the artifacts, the write-ups, and the slide show). What type of computing was being done, how, in what contexts, etc.? There is a computer near the exhibits with some research materials; you can find more references on a library bibliography, and there are plenty of relevant books in the library and documents on the web (be careful about the reputability of random web documents, though!). Librarian Ann Perbohner, who was one of those who put the exhibit together, is willing to help point you in good directions.

    While this report is short, do make it have some interesting material, as a portion of your grade will be about the content (did you show that you learned something about the history of computing). Follow the practices you have learned in your Dartmouth career regarding appropriate use of materials and citations (synthesize and put in your own words, quote where appropriate, cite your sources, etc.).

    Your report should include the following elements: