0455-3391-01

Computer Programming
Fall 2003

 

Information

Instructor
Efi Fogel home contact
Grader
Itay Dar home contact
Hours
Tuesday, 15:00-18:00
Location
Britania, Computer Lab.
Text
The C Programming Language, 2nd ed., Kernighan, B. and Ritchie, D., Prentice-Hall, 1988.
Exams
Final is worth 55%, Sunday, 02/02/2003 - 09/02/2003 final.ps
Make up Sunday, 27/07/2003 (may change)  
Homework
No. Link Comments Assigned Date Due Date Weight
1 assign1.ps   Oct. 29, 2002 Nov. 12, 2002 10%
2 assign2.ps   Nov. 12, 2002 Dec. 3, 2002 10%
3 assign3.ps pattern.txt Dec. 3, 2002 Dec. 25, 2002 10%
4 assign4.ps   Dec. 25, 2002 Jan. 7, 2003 10%
5 assign5.ps   Jan. 7, 2003 Jan. 21, 2003 5%
Total 45%
Syllabus
  • Computers, languages (general)
  • Data types, operators, expressions (K&R Chap. 2)
    • basic data types
    • constants
    • declarations
    • initialization
    • basic operators (arithmetic, logical, assignment) and expressions
  • Statements and control flow (K&R Chap. 3)
    • statements
    • statement blocks
    • branches/decisions
    • loops
  • Functions and program structure (K&R Chap. 4)
    • functions
    • parameters
    • prototypes
  • Pointers and arrays (K&R Chap. 5)
    • pointers
    • simple arrays
  • Strings
  • Basic I/O
  • C preprocessor
    • File inclusion
    • Macro definition and substitution
    • Conditional compilation
  • Memory allocation
    • allocating
    • freeing memory
    • reallocating
    • Pointer safety
  • User defined data structures
    • Structures
    • Accessing members
    • Operations on structures
    • Pointers to structures
    • Linked data structures

Maintained by Efi Fogel. Last modified: February 02 2003.