CS 149D: Elements of Computer Science

Spring 2006 Semester
Class Material

Announcements:

Help Session & Exam Review! will be 3:40 on Tuesday, May 2 in our regular classroom. An exam is scheduled in that room at 3:45 so we will move to another room in Hughes for the review.

Syllabus: Word, pdf

Slides:

Chapters 0, 1, Intro, Data Storage: powerpoint, pdf
Chapter 3, Operating Systems: powerpoint, pdf
Chapter 4, Networking & the Internet: powerpoint, pdf
Chapter 5, Algorithms & Programming Languages: powerpoint, pdf
The Visual C++ Development Environment: powerpoint,
Etter, chapter 1 (a little C++):powerpoint pdf
More C++:powerpoint, pdf
The Visual C++ Development Environment: powerpoint,

Reading Assignments:

Jan. 9: Brookshear, chapters 0, 1
How Stuff Works Website (see link below):
-- Section on How CDs work
-- Section on How Disk Drives work
Jan. 25: Brookshear, chapter 3
Feb. 20, Brookshear, chapter 4, section 1-3.
Feb. 27, Brookshear, chapter 5, section 1-4.
Mar. 13, Etter, chapter 1

Homework Assignments:

(From slide set 1, slide 62)
Due in class Jan. 25:
-- Pg. 24: 1, 4, 5, 6, 7; Pg. 34: 2, 3, 4
Due in class Jan. 30
-- Pg. 40: 1, 5, 6, 10
Due in class Feb. 1
-- Pg. 45: 3, 4, 5; Pg. 51: 1, 2, 5
Due Feb. 6
-- Pg. 56: 1, 2, 3; Pg. 61: 3; Pg. 65: 1,5
Due Feb. 15:
-- Pg. 129: 14, 15

Recitation Assignments:

Jan. 29 Worksheet: word, pdf
Feb. 6 Worksheet: word, pdf
Feb. 13 Worksheet: word, pdf
Feb. 20 Worksheet: word, pdf
Feb. 27 Worksheet: word, pdf
-- The C++ program
Mar. 13 Worksheet: word, pdf
Mar. 20 Worksheet: word, pdf
Mar. 27 Worksheet: word, pdf, Sample Data file
Apr. 3 Worksheet: word, pdf,
Apr. 10 Worksheet: word, pdf

Some Interesting Web Sites:

How stuff works
The AlICE Bot
Wikipedia

Exams:

Exam 2, doc

Old Exams:

Old Exam 1, doc
Old Exam 1, pdf
Old Exam 2, doc
Old Exam 2, pdf
Old Final, pdf
Old Final, pdf

Some Sample C++ Programs:

- Sort Array of Strings
- Ftn example, Euros to Dollars Table
- Generate file with random output
- Looping example
- Convert miles to km
- Loops and formatting
- Count x's
- Itsy bitsy spider example
- Distance Compute Example
- Array example
- File example
- Change width and precision pgm (partialSum.cpp),
- Count Chemicals
- Function Example
- Strings example
- Very simple I/O example
- Basic string operations
- Page 99, no. 9
- Page 99, no. 10
- Parallelogram Example
- Quadratic Formula Example