EGR 261: Structured Programming in C (Winter 2012)

Instructor: Andrew Kalafut
Email: kalafuta at gvsu dot edu
Primary Office: C-2-210 MAK
Downtown Office: 359 KEN
Office hours: MT 5:00 - 6:00 PM (KEN), MWF 1:00 - 2:00 PM (MAK)

Please read the syllabus.
Required text: Problem Solving and Program Design in C, 6th edition, Jeri R Hanly & Elliot B Koffman

Class Sessions

This course meets on Mondays and Wednesdays. In general, the first hour of each meeting will be structured as a lecture. The second hour will be used as lab time.

Exams

We will have two midterm lecture exams, scheduled for Feb 20, and Apr 9. The final exam is scheduled for 6:00 PM on Monday April 23. There will additionally be 4 lab exams, scheduled for Feb 1, Feb 29, Mar 28, and Apr 18. All dates subject to change.


Assignments

AssignmentDue Date
Lab Assignment 1Jan 18
Homework 1Jan 23
Lab Assignment 2Jan 25
Lab Assignment 3Feb 1
Project 1Feb 8
Homework 2Feb 13
Lab Assignment 4Feb 15
Lab Assignment 5Feb 22
Lab Assignment 6Feb 29
Project 2Mar 14
Lab Assignment 7Mar 21
Lab Assignment 8Mar 28
Lab Assignment 9Apr 11
Project 3Apr 16

Lecture Schedule

DateTopicCodeAssigned Reading
Jan 9 Introduction hello.c Chapter 1
Jan 11 Data types convert.c, input.c, types.c 2.1 - 2.4
Jan 16 Operators, Formatted printing operators.c, ftoc.c 2.5 - 2.6
Jan 18 Compiling and debugging 2.8
Jan 23 Logical Variables, conditionals temperature.c 4.1 - 4.3
Jan 25 Loops average.c, factorial.c, random.c 5.1 - 5.4
Jan 30 Library Functions, Files trig.c, bandwidth.c, files.c 3.1 - 3.3, 2.7
Feb 1 Lab Exam 1 exam1.c
Feb 6 Writing Functions functions.c, temperature2.c 3.4 - 3.6
Feb 8 Project 1 Demos feof.c
Feb 13 Arrays array.c, stats.c 8.1 - 8.3
Feb 15 Arrays and Functions array2.c 8.4 - 8.6
Feb 20 Written Exam 1
Feb 22 Pointers pointers.c, arrayptr.c 6.1
Feb 27 Function output parameters pointers2.c, swap.c 6.2 - 6.4
Feb 29 Lab exam 2 exam2.c
Mar 5 Spring break
Mar 7 Spring break
Mar 12 Functions, Macros, Global variables global.c, macros.c
Mar 14 Project 2 Demos strings.c
Mar 19 Intro to strings strings2.c 9.1
Mar 21 Strings stringfunctions.c 9.2 - 9.4
Mar 26 String processing inputprocess.c, capitalize.c, chartypes.c 9.6 - 9.7
Mar 28 Lab Exam 3 exam3.c
Apr 2 Multidimensional arrays matrix.c 8.7
April 4 Multidimensional arrays and functions array2d.c, comandline.c 9.5
April 9 Written Exam 2
April 11 Structures dowhile.c, switch.c, struct.c 11.1 - 11.2
April 16 Project 3 demos
April 18 Lab exam 4
April 23 Final Exam