CS262 Fall 2011: Introduction to Low-level Programming (Sessions 2&5)

Instructor

TAs and Their Office Hours

  • Mohamed Elsabagh, melsabag@gmu.edu
    • Thursday 3:30 to 5:30 pm
    • ENGR 4456
  • Zameer Sura, zsura@masonlive.gmu.edu
    • Tuesday 2:00 to 4:00 pm
    • ENGR 4456
  • Phuc Dang (UTA), pdang1@masonlive.gmu.edu
    • Monday 1:30 to 4:00pm, Wednesday 1:30 to 4:00pm
    • Math Tutoring Center located in room 344, JC building 3rd floor
  • Pei Liu (UTA), pliu4@gmu.edu
    • Thursday 12~2pm and Tuesday 5~7pm
    • ENGR 4456

Lecture notes and class materials

Back to course page

Weeks

Lecture notes

Additional materials

Additional notes/readings

Week 1

Introduction (Chapter 1) (pdf)

example codes zip

Week 2

Basic types and Operators (Chapters 1&2) (pdf)

example codes tgz

program assignment 1: Section 002, Section 005

Week 3

Functions (Chapter 4) (pdf)

example codes tgz

Quiz 1

Week 4

Pointers (Chapter 5) (pdf)

example codes tgz

(with PA1 solution)

memory management in c: the heap and the stack by Leo Ferres

Week 5

Address Arithmetic (Chapter 5) (pdf)

example codes tgz

Quiz 2

Week 6

Makefile, Debugger and Review

(with updated Lecture 04)

program assignment 2: Section 002 and Section 005

Week 7

Midterm

Week 8

Pointers and Strucuters (Chapter 6) (pdf)

example codes tgz

Week 9

File I/O in UNIX (Chapters 7&8) (pdf)

example codes tgz

Week 10

C and UNIX (final review) (pdf)

example codes
(see PA3 below for signal handling)

Week 11

Final Exam

PA3

  • description txt
  • code version 1 tar.gz (nov 5)
  • code updated, version 2 zip (nov 7)
    • no significant update, fix some problems with prgram termination


Back to course page