Good news, everybody:
I will create an account for each student on the
Fedora Linux server storm.cis.fordham.edu
.
You will use this account
to learn the rudiments of the Linux operating system,
and to create a little website by writing in HTML, the “Hypertext
Markup Language”.
We can relate the construction of this website to the topics of this course
(the Structures of Computer Science) by emphasizing that a document in
HTML is an example of a tree structure:
it consists of little things nested inside of bigger ones.
Fordham says: “On Tuesday February 18th, ALL classes follow a Monday schedule. There WILL BE NO TUESDAY classes.”
In class today,
we used Venn diagrams to prove one of DeMorgan’s laws
on p. 22 of the textbook:
(A ∪ B)' = A' ∩ B'
See pp. 4– 6 of
these notes.
Now prove the other law of DeMorgan on p. 22 in the same way:
(A ∩ B)' = A' ∪ B'
Make Venn diagrams of the two sets
(A ∩ B)'
and
A' ∪ B'
and show that they have the same territory.
Extra credit for serious students:
write a proof in symbols that
(A ∩ B)' = A' ∪ B'
like the proof
on page 6 of
the notes.
Log into the Linux server storm.cis.fordham.edu
and
practice the Linux commands in
these notes:
pwd
,
cd
,
ls
,
more
,
touch
,
mv
,
cp
,
rm
,
and
wget
.
Practice editing a file with the
vi
editor.
By 6:00 pm EST on Sunday night, February 9, 2005,
put a file named
page.html
into the public_html
subdirectory of your home directory on our server
storm.cis.fordham.edu
.
You can create this file by downloading my
page.html
file as we did in class on February 3,
but please then use the vi
editor to change the content of this file to something more interesting.
(While you’re at it, you could correct my minor misspellings
and typographical errors.)
Here’s the
example
we looked at in class.
Keep on editing, Jake!
Verify that your web page is visible in any browser in the world
by pointing the browser at
https://storm.cis.fordham.edu/~jsmith/page.html
where jsmith
is your Fordham name.
To see the source code
(i.e., the actual lines of HTML)
of the web page you’re viewing in your
browser,
Admire the web pages of the other students.
Study the Sequences and Summation
notes.
On February 10,
we will continue with mathematical induction.
You could try to download,
compile (i.e., use the c++
command to
translate the program into an a.out
file),
and execute the C++ program
sum.C
on p. 7 of the notes.
If you have a
pineapple,
count the number of spirals in each direction.
Are they a pair of consecutive terms in the Fibonacci sequence?
Bring it in if you can.