Winter 2007 - Sonstein - 320 Midterm Practical


General Instructions

Total [ 100 points ]

You only have three (3) tasks today, and you have one hour and thirty minutes to complete them.

  1. You will build a new directory in your login directory on gibson, and you will put a simple text file in that directory.
  2. You will build a second new directory in your web directory on gibson, and you will put a simple XHTML file in that directory.
  3. And you will build a third new directory in your web directory on gibson, and you will put a simple CSS file in that directory.

Not so bad for a practical exam: just create three new directories and three simple files.

You can use any online resources you wish. You can also use your textbooks, and you can use your notes. If you already know how to build valid XHTML and CSS because you have been doing your work all quarter long, then you will not have any trouble accomplishing these tasks. If you do not already know how to do these things, then you will not learn how to do so in an hour and a half no matter what resources you use.


Detailed Instructions

Directories, Permissions, and Text

[ 20 points ]

  1. [ 5 points ] create new directory on gibson.rit.edu named ~studentID/mid_practical/ (substituting your DCE account name where this says studentID)
  2. [ 5 points ] save pure utf-8 text file named myText.txt into that new directory
  3. [ 5 points ] put two lines of text into that text file
    1. your full name on one line
    2. the current date on a second line
  4. [ 5 points ] ensure permissions are set so
    1. anyone can read the directory and file
    2. only you can write or execute the directory and file

HTML

[ 40 points ]

Note: if this XHTML does not pass the validator at W3.org then you lose 15 points

  1. [ 10 points ] create new directory on gibson.rit.edu named ~studentID/www/imm/mid_practical/ (substituting your DCE account name where this says studentID)
  2. [ 10 points ] save an XHTML file (using valid version 1.0 strict code) named index.html into that new directory
  3. [ 20 points ] put in the HTML file instructions to display
    1. a first-level header containing your full name
    2. a second-level header containing the instructor name
    3. a third-level header containing the current date
    4. at least one paragraph of text containing at least one sentence (any words will do)
    5. an anchor pointing to the instructor main course webpage
    6. an ordered list of the names of three fruits or vegetables
    7. the picture found at http://www.it.rit.edu/media/people/sonstein.jpg
    8. a validation button which instructor can click to automatically revalidate the XHTML
    9. a validation button which instructor can click to automatically revalidate the CSS
    10. a link which causes the XHTML file to use the CSS file below to set the browser display styles for this page

CSS

[ 40 points ]

Note: if this CSS does not pass the validator at W3.org then you lose 15 points

  1. [ 10 points ] create new directory on gibson.rit.edu named ~studentID/www/imm/mid_practical/stylesheets/ (substituting your DCE account name where this says studentID)
  2. [ 10 points ] save CSS file (valid) named practical.css into the new directory
  3. [ 20 points ] put in CSS file
    1. instructions to set default text for entire document to 12 point sans-serif font and black
    2. instructions to change first-level header color to some shade of green and align the text to the right
    3. instructions to change second-level header to have a light blue background and to use dark red 18 point letters
    4. instructions to set list items to use a dark green background and white letters
    5. instructions to set any anchor images to use nothing for a border style

Total [ 100 points ]