CETH 1211
CETH 1211
Computer Programming
Spring 2009

Instructor: Daniel Kohn (dekohn@memphis.edu)
Office Hours: (click here)
Course Policies: (click here)
Grades: GradeWatch
Required Text: Fischer, Alice, Eddert, David and Ross, Stephen, Applied C: An Introduction and More
McGraw Hill, 2001. ISBN 13:978-0-07-021748-5.
Required Software: Putty - SSH Telnet Client
 
Course Outline:
ClassTopicReadingHandoutsAssignments
Jan 16Welcome
Course Policies
   
Jan 21Computers and SystemsChapter 1Class Notes 
Jan 23Programs and ProgrammingChapter 2Class Notes 
Jan 26Using the server Class NotesHomeWork #1 - Type in the program in Fig 2.8 (page 32) by loggin into your account and using pico (name the file C2_8.c). Make sure to make the appropriate changes to the header block. Compile the program using gcc and name the compiled program C2_8.

Due Next class!

Please note: use all LOWER CASE letters when logging into your account! Also, when typing the password, you will NOT see what you are typing (i.e. it will not echo).

Make sure your name the file ending with the extention .c it will not compile otherwise.
Jan 28Our First Program   
Jan 30printf
scanf
variables
Chapter 3
up to sec 3.5
  
Feb 2if
else
Chapter 3
up to sec 3.7
inclass_if1.c 
Feb 4While LoopChapter 3
up to 3.7.2
inclass_loop1.cAssignment #2 - Due Feb 11 at start of class

NOTE: use 5.0/9.0 not 5/9! If you fail to put in the decimal point you will always get 0C.
Feb 6Input Validation

Do..While Loop
Chapter 3
sec 3.7.2

Chapter 6
sec 6.1.2 and fig 6.12
inclass_loop2.cAssignment #3 - Due Feb 13 at start of class
Feb 9Variables
Precedence
Chapter 4  
Feb 11math.hChapter 4math_h.c
vol_sur.c.c
 
Feb 13Menu Driven Program example
Converting Equations to C
Chapter 4vol_sur_case.c 
Feb 16Quiz
Using Functions
Chapter 5func_1.c 
Feb 18Using FunctionsChapter 5  
Feb 20Using FunctionsChapter 5func_2.c 
Feb 23For LoopNotes on headers and commentsfor.c
nested_for.c
Assignment #4 - Due March 2, 2009 at start of class March 6, 2009. Submit Word document including flow chart (drawn in visio or other package and then copied into word) via Online submission or slide it under my office door.
Feb 25    
Feb 27TEST
Chp 1 - 5
 Vocabulary List 
Mar 2Functions (cont)Chapter 5func_3.c 
Mar 4More Repetition and DecisionsChapter 6  
Mar 6Work on Assignment 4   
Mar 9,11,13Spring Break   
Mar 16Variable TypesChapter 7  
Mar 18Variable Types (cont)Chapter 7limits.c 
Mar 20Random NumbersChapter 7rand1.c 
Mar 23Formatting NumbersChapter 7format.c
rand2.c
Assignment #5 due March 30, 2009.
Mar 25Casting / Number TroubleChapter 7 and 8overflow.c
rollover.c
cast.c
 
Mar 27ArraysChapter 10array1.c
array2.c
array3.c
array4.c
array5.c
 
Mar 30Arrays (cont)Chapter 10array6.c
array7.c
array8.c
array9.c
 
Apr 1Arrays (cont)
Characters
Chapter 10
Chapter 11
 Assignment #6 due April 8, 2009.
Apr 3CharactersChapter 11char.c
char2.c

Flowchart Help: here is a good reference for flowcharting. The only example I do not like is the CASE structure.
Since I was unable to help some of you with flowchart questions today (due to personal buisness) and me being out of the office until Wednesday, the resubmission of the flowchart for Assignment 5 is now due April 13 by the end of the day.
Apr 6No Class - work on Assignment #6   
Apr 8Arrays revisitedChapter 10  
Apr 10Character FunctionsChapter 11char_fn.c
getchar.c
Assignment #7 due April 17 at the start of class.
Apr 13PointersChapter 12ptr1.c
ptr2.c
 
Apr 15PointersChapter 12ptr3.c
ptr4.c
cubebyvalue.c
cubebyref.c
Assignment #8 - Call by Reference POLAR / RECT converions. Due Apr 24, 2009 at the start of class.
Apr 17PointersChapter 12ptr5.c 
Apr 20StringsChapter 13string1.c 
Apr 22StringsChapter 13marbles.c 
Apr 24Controlling Hardware

Take Home TEST
  


Test #2 - Due via Online Submission by start of class on April 29th - no late work accepted!
Apr 27Review   
Apr 29Review   
May 4Exam Vocabulary List (Part 2) 
 
Reference Links: C Quick Reference
 
Requested Links: Notepad++ (A replacement for Windows NotePad)
  WinSCP (File Transfer to/from class server, download 'Portable Executable' for Lab Computers)