A290: UNIX and C

MW 18:00 - 19:10, LH 115

Instructor: D. Kevin McGrath

The course is designed to provide a brief introduction to UNIX and the C programming language. This will include the coverage of command line UNIX, the emacs text editor, the GNU compilers, and introductory C. The coverage of C will consist of basic syntax, loops, functions (including basic recursion), pointers, arrays, strings, structs, I/O, and an assortment of system libraries. The UNIX coverage will focus on a command line oriented environment, though the X windowing system will be introduced. The emphasis will be on commonly used utilities, such as file system navigation and manipulation, text manipulation, and development oriented utilities.

Office Hours:

Helpful Links:


Schedule:

(Last updated: Wed Feb 20 15:14:50 2008)

This schedule will be revised throughout the semester, so check back frequently! Also, keep in mind that the schedule is open to change. If we need to spend more time on a topic, we will.

All homework and readings will be posted on this schedule, complete with due dates. Readings posted on a given class day are expected to be read by that class day! All labs will be posted here as well. Supplementary material will be posted here, but will also be given a link at the top of the page.

Date Topic
Readings
Assignment
Week 0

Monday
01/07

Getting acquainted with UNIX and C K&R: Chapter 1, A&L: Chapter 1

Wednesday
01/09

UNIX: Development Tools Linux Development Environment: Chapters 2.2.5, 3.3, 3.7, 4, 5 Week 0
Week 1

Monday
01/14

C: Types, operators, and expressions K&R: Chapter 2 (excluding 2.9)

Wednesday
01/16

C: Control Flow K&R: Sections 3.1-4.2, Code from class Week 1
Week 2

Monday
01/21

No Class, MLK Day

Wednesday
01/23

C: Functions and program structure K&R: Sections 4.1-4.2
functions.c, header.h
Week 3

Monday
01/28

C: Pointers and arrays K&R: 5.1-5.5

Wednesday
01/30

C: Pointers and arrays K&R: 5.6-5.10 Pointer example Week 3
Week 4

Monday
02/04

C: Structures K&R: 6.1-6.7

Wednesday
02/06

Week 5

Monday
02/11

C: Input and Output K&R: Chapter 7 Fun with pointers

Wednesday
02/13

UNIX: File system A&L: 2.7-2.9 (reference)
Week 6

Monday
02/18

UNIX: File manipulation and location A&L: Sections 3.1-3.9.2, 3.10.2, 3.12, 3.13.2, 3.14.2, 3.17

Office hours today moved to 15:30

Wednesday
02/20

UNIX: Shell A&L: 6.6-6.10, 6.13, 6.17-6.19, 6.23, 6.25 Week 6
Week 7

Monday
02/25

No class, finals week

Wednesday
02/27

No class, finals week

D. Kevin McGrath
Last modified: Thu Aug 27 20:39:40 2009