CS 102: Introduction to Computer Science
Summer 2014
Hours for programming aspect of the course:
Monday 11 am - 12:30 pm, Tuesday 9:30 am - 12:30 pm,
Wednesday, 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:
Monday, Tuesday, Wednesday, 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:
- 4 Programming Assignments:
Program #1: 10%
Program #2: 15%
Program #3: 15%
Program #4: 20%
- Final Exam: 40%
- Program #1
Due before midnight on the night of Tuesday, July 22
- Program #2
Click here for the sample input data
as a text file
Due before midnight on the night of Tuesday, July 29
- Program #3
Click here
for a sample input text file
Click here
for the corresponding sample output text file
Due before midnight on the night of Monday, August 4
- Program #4
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
Due before midnight on the night of Thursday, August 7
Information about assignments will be posted when they are assigned.
- Monday, July 7
Topic: Introduction to C
(notes)
- Tuesday, July 8
Topic: Variables and Expressions
(notes)
- Wednesday, July 9
Topic: Selection Statements
(notes)
- Monday, July 14
Topic: Loops
(notes)
- Tuesday, July 15
Topic: Standard Input and Output
(notes)
Topic: Arrays
(notes)
Program #1 Assigned
- Wednesday, July 16
Topic: Functions
(notes)
- Monday, July 21
Topic: Tic-Tac-Toe
(notes,
code)
- Tuesday, July 22
Topic: Pointers
(notes)
Program #2 Assigned
- Wednesday, July 23
Topic: Strings
(notes)
- Monday, July 28
Topic: Text Files
(notes)
Program #3 Assigned
- Tuesday, July 29
Topic: Structures
(notes)
- Wednesday, July 30
Topic: Debugging
(notes)
Program #4 Assigned
- Monday, August 4
Topic: Introduction to Python
(notes)
- Tuesday, August 5
Topic: Introduction to Python (continued)
- Wednesday, August 6
FINAL EXAM
Apparently, the teacher is upset that the student left out
the '\n' at the end of the "printf" statement...