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.
-
You will build a new directory in your login directory on gibson, and you will
put a simple text file in that directory.
-
You will build a second new directory in your web directory on gibson, and
you will put a simple XHTML file in that directory.
-
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 ]
-
[ 5 points ] create new directory on gibson.rit.edu named
~studentID/mid_practical/
(substituting your DCE account name where this says studentID)
-
[ 5 points ] save pure utf-8 text file named
myText.txt into that new directory
-
[ 5 points ] put two lines of text into that text file
- your full name on one line
- the current date on a second line
-
[ 5 points ] ensure permissions are set so
-
anyone can read the directory and file
-
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
-
[ 10 points ] create new directory on gibson.rit.edu named
~studentID/www/imm/mid_practical/
(substituting your DCE account name where this says studentID)
-
[ 10 points ] save an XHTML file (using valid version 1.0 strict
code) named index.html into that new directory
-
[ 20 points ] put in the HTML file instructions to display
-
a first-level header containing your full name
-
a second-level header containing the instructor name
-
a third-level header containing the current date
-
at least one paragraph of text containing at least one
sentence (any words will do)
-
an anchor pointing to the instructor main course webpage
-
an ordered list of the names of three fruits or vegetables
-
the picture found at http://www.it.rit.edu/media/people/sonstein.jpg
-
a validation button which instructor can click to automatically revalidate
the XHTML
-
a validation button which instructor can click to automatically revalidate
the CSS
-
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
-
[ 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)
-
[ 10 points ] save CSS file (valid) named practical.css into
the new directory
-
[ 20 points ] put in CSS file
-
instructions to set default text for entire document to 12 point sans-serif
font and black
-
instructions to change first-level header color to some shade of
green and align the text to the right
-
instructions to change second-level header to have a light blue background
and to use dark red 18 point letters
-
instructions to set list items to use a dark green background and white
letters
-
instructions to set any anchor images to use nothing for a border style
Total [ 100 points ]