Instructor: Alexander Dekhtyar, dekhtyar@csc.calpoly.edu, 14-215
Section | Days | Lecture | Lab | ||
CPE 101 09 | TR | 8:10am - 9:30am | 20 - 238 (Eng. West) | 9:40am - 11:00am | 14 - 302 (Frank Pilling) |
CPE 101 11 | TR | 1:40pm - 3:00pm | 33 - 287 (Fisher Sci.) | 3:10pm - 4:30pm | 14 - 302 (Frank Pilling) |
Office Hours:
| Who | Where | |
Tuesday | 4:30pm - 5:30pm | Alex | 14-209 |
Wednsday | 9:00am - 12:00pm | Alex | 14-209 |
Thursday | 11:00am - 12:00pm | Alex | 14-209 |
Additional appoinments: send email.
Syllabus | Postscript | ||
Noncollaboration Agreement | Postscript | C Program Style (courtesy of Dr. Clint Staley) | HTML |
Lab Exam 1 makeup policy | Postscript | ||
Examples used in lectures | HTML |
Due | Assignment | Topic | Assigned on |
Textbook, Chapter 1 (pages 2-30) | Computers: Hardware and software (overview) | [September 20, 2008] | |
October 2 (Thursday) | Textbook, Chapter 2 (pages 33-86) | C: Basic concepts | [September 28, 2008] |
October 9 (Thursday) | Textbook, Chapter 4, Sections 4.1 - 4.4 (pages 146 -166) Sections 4.6 - 4.9 (pages 176 - 197) | Conditional statements | [October 6, 2008] |
October 16 (Thursday) | Textbook, Chapter 5 | Loops | [October 14, 2008] |
October 23 (Thursday) | Textbook, Chapter 3 | Functions | [October 20, 2008] |
October 28 (Tuesday) | Textbook, Chapter 6 | Functions | [October 22, 2008] |
November 6 (Thursday) | Textbook, Chapter 8 | Arrays | [November 3, 2008] |
Program 1 | Due: October 17, 2008 | Prototype Moon Landing | Postscript | [October 6, 2008] | |
Program 2 | Due: November 3, 2008 | Moon Landing Game | Postscript | [October 20, 2008] | |
Program 3 | Due: November 26, 2008 | Chess positions | Postscript | [November 18, 2008] |
Program Data
Program 1 | Executable file | travel-alex | [October 14, 2008] | ||
Program 2 | Executable file | moon-alex | [October 20, 2008] |
Program Tests
Program 1 | Testing | program1-tests.tar.gz | test-public.csh | test-errors.csh | [October 14, 2008] |
Program 1 | Tests for Alex's executable | test-alex-public.csh | test-alex-errors.csh | [October 14, 2008] |
Program 2 | Testing | moon-tests.tar.gz | moon-test.csh | moon-test-alex.csh | [October 30, 2008] |
Program 4 | Testing | position01.txt | position02.txt | position03.txt | position04.txt | [November 24, 2008] |
Lab 1 | Due: Friday, September 26 | Learning the Ropes | Postscript | [September 23, 2008] | |
Lab 2 | Due: Thursday, October 2 | Simple C Programs | Postscript | [September 30, 2008] | |
Lab 3 | Due: Thursday, October 9 | Conditional statements | Postscript | [October 6, 2008] | |
Lab 4 | Due: Thursday, October 16 | Conditionals and Loops | Postscript | [October 14, 2008] | |
Lab 5 | Due: Thursday, October 23 | Loops and Functions | Postscript | [October 20, 2008] | |
Lab 6 | Due: Friday, October 31 | Functions and .h files | Postscript | [October 26, 2008] | |
Lab 7 Part I | Due: Friday, | Arrays | Postscript | [November 3, 2008] | |
Lab 7 Part 2 | Due: Friday, November 17 | Arrays | Postscript | [November 11, 2008] | |
Lab 7 Part 2 | Due: Friday, November 17 | Arrays | Postscript | [November 11, 2008] | |
Lab 8 | Due: Friday, November 21 | Strings | Postscript | [November 26, 2008] | |
Lab 9 | Due: Monday, December 1 | Structures | Postscript | [November 26, 2008] | |
Lab 10 | Due: Friday, December 5 | Structures and File I/O | Postscript | December 1, 2008] |
Lab Data
Lab 1 | hello.c | foo.c | [September 22, 2008] | ||
Lab 2 | Executable files | attendance-alex | converter-alex | elections-alex | [September 29, 2008] |
Lab 2 | a simple C program | simple.c | [September 30, 2008] |
Lab 3 | Executable files | attendance-alex | converter-alex | elections-alex | [October 6, 2008] |
Lab 3 | Executable files | zones01-alex | zones02-alex | zones03-alex | [October 6, 2008] |
Lab 3 | Executable files | zones04-alex | zones05-alex | [October 6, 2008] | |
Lab 3 | pix2ppm | pix2ppm (executable) | instructions (Postscript) | instructions (PDF) | [October 6, 2008] |
Lab 4 | Executable files | zones11-alex | zones12-alex | zones13-alex | [October 14, 2008] |
Lab 4 | Executable files | zones14-alex | zones15-alex | [October 14, 2008] | |
Lab 4 | pix2ppm | pix2ppm (executable) | instructions (Postscript) | instructions (PDF) | [October 14, 2008] |
Lab 4 | PPM files | russia-alex.ppm | france-alex.ppm | [October 14, 2008] | |
Lab 4 | PPM files | zones01-alex.ppm | zones04-alex.ppm | zones08-alex.ppm | [October 14, 2008] |
Lab 5 | Executable file | exchange-alex | [October 20, 2008] | ||
Lab 5 | PPM files | japan-alex.ppm | us-flag-alex.ppm | greece-alex.ppm | [October 20, 2008] |
Lab 5 | PPM files | diagonals-alex.ppm | gradient-alex.ppm | [October 20, 2008] |
Lab 6 | Executable file | chessboard-alex | [October 26, 2008] | ||
Lab 6 | PPM files | chess-ppm.tar | [October 26, 2008] |
Lab 7 | Executable files | sortGame-alex | [November 4, 2008] |
Lab 9 | Executable files | grading-alex | triangle-alex | auction-alex | [December, 1, 2008] |
Lab 10 | Executable files | poker-alex | [December, 4, 2008] |
Lab Tests
Lab 2 | Sample test cases | attendance-test10 | converter-test10 | election-test01 | [September 29, 2008] |
Lab 2 | Test scripts (student submissions) | attendance-test.csh | converter-test.csh | elections-test.csh | [September 29, 2008] | Lab 2 | Test scripts (Alex's executables) | attendance-test.csh | converter-test.csh | elections-test.csh | [September 29, 2008] | Lab 2 | All tests (archived as .tar.gz) | attendance-tests.tar.gz | converter-tests.tar.gz | election-tests.tar.gz | [September 29, 2008]
Homeworks
Homework Data/Tests
Lecture Notes
Other MaterialsUNIX/Linux: Basic Linux commands (courtesy of Dr. O'Gorman).Course Help: Tutoring Center, Addressing your instructors: Name games (courtesy of Dr. Staley). Academic Integrity Policies: Cheating at Cal Poly, All Academic Policies. September 17, 2008, dekhtyar at csc.calpoly.edu |