CS 102: Introduction to Computer Science
Summer 2013
Hours for programming aspect of the course:
Tuesday 11 am - 12:30 pm, Wednesday 9:30 am - 12:30 pm,
Thursday, 11 am - 12:30 pm
This web page only concerns the programming
aspect of the course.
Instructor:
Carl Sable
e-mail: CarlSable.Cooper@gmail.com
Office: Room 614
Office Hours:
Tuesday, Wednesday, Thursday, 2:00 pm - 3:00 pm
These are not required, but if you want
to own a textbook on C,
these may be good choices (they will be breifly discussed in class):
"The C Programming Language, 2nd Edition"
Brian W. Kernighan and Dennis M. Ritchie
(This is my favorite programming book, but it assumes
prior programming experience.)
"Computer Science: A Structured Programming Approach Using C, 3rd
Edition"
Behrouz A. Forouzan and Richard F. Gilberg
"Practical C Programming, 3rd Edition"
Steve Oualline
"C Programming: A Modern Approach, 2nd Edition"
K. N. King
The programming portion of your CS 102 grade will be based as follows:
- 5 Programming Assignments:
Program #1: 15%
Program #2: 15%
Program #3: 15%
Program #4: 15%
- Final Exam: 40%
- Program #1
Due before midnight on the night of Tuesday, July 23
- Program #2
Due before midnight on the night of Tuesday, July 30
Click here
for the given code.
- Program #3
Due before midnight on the night of Sunday, August 4
Click here
for the given input file.
Click here
for the given output file.
- Program #4
Due before midnight on the night of Wednesday, August 7
Click here
for the original source code.
Click here
for the sample input file
Click here
for the sample output file weighting tests 25% and sorting by names
Click here
for the sample output file weighting tests 50% and sorting by averages
- Tuesday, July 9
Topic: Introduction to C
(notes)
- Wednesday, July 10
Topic: Variables and Expressions
(notes)
- Thursday, July 11
Topic: Selection Statements
(notes)
- Tuesday, July 16
Topic: Loops
(notes)
- Wednesday, July 17
Topic: Standard Input and Output
(notes)
Topic: Arrays
(notes)
Program #1 Assigned
- Thursday, July 18
Topic: Functions
(notes)
- Tuesday, July 23
Topic: Tic-Tac-Toe
(notes,
code)
- Wednesday, July 24
Topic: Pointers
(notes)
Program #2 Assigned
- Thursday, July 25
Topic: Strings
(notes)
- Tuesday, July 30
Topic: Text Files
(notes)
Program #3 Assigned
- Wednesday, July 31
Topic: Structures
(notes)
- Thursday, August 1
Topic: Debugging
(notes)
Program #4 Assigned
- Tuesday, August 6
Topic: Introduction to Python
(notes)
- Wednesday, August 7
Topic: Introduction to Python (continued)
- Thursday, August 8
FINAL EXAM
Apparently, the teacher is upset that the student left out
the '\n' at the end of the "printf" statement...