CIS 361: System Programming (Spring/Summer 2016)


Instructor: Andrew Kalafut
Email: kalafuta at gvsu dot edu
Office hours: TR 3:30 - 4:30 PM, EC612

Please read the syllabus

This web site should be considered an official form of communication for this class and should be checked often. I will try to make the information posted below as accurate as possible, but it is subject to change.


Exams

There will be a midterm exam and a final exam, both held during normal class time. The midterm exam is scheduled for June 21. The final exam is scheduled for August 9. Please see the midterm description and the final exam description.


Projects

ProjectDue Date
Project 1: Encrypt/DecryptJune 28, 2016
Project 2: Simple ShellAugust 4, 2016

Assignments

AssignmentDue Date
Homework 1Thursday, May 19, 2016
Homework 2Thursday, May 26, 2016
Homework 3Thursday, June 2, 2016
Homework 4Thursday, June 9, 2016
Homework 5Thursday, June 16, 2016
Homework 6Thursday, July 7, 2016
Homework 7Thursday, July 14, 2016
Homework 8Thursday, July 21, 2016
Homework 9Thursday, July 28, 2016

Schedule

DateTopicCode SamplesReading
T 5/10/2016 Intro, data types, output first.c, plusplus.c, printing.c Chapters 1-3
R 5/12/2016 Input and Output scan.c, argc.c, fraction.c, strings.c, ftoc.c Chapters 13, 22
T 5/17/2016 File I/O, process managment linenumber.c xor.c Bash Reference Manual
R 5/19/2016 Shell environment env.c Bash history command reference
T 5/24/2016 Expressions and Control Flow printbinary.c, lettergrade1.c, lettergrade2.c Chapters 4,5,6,20
R 5/26/2016 Data Types limits.c, complex.c, bool.c, array.c, array2d.c Chapters 7,8,25,27
T 5/31/2016 Functions system.c, static.c, staticstring.c, average.c, functions.c Chapters 9,18
R 6/2/2016 Program Organization exec.c, exec2.c, system.c, wcfunctions.c, wcmain.c Chapters 10,15
R 6/7/2016 Make, source control Sample makefile for wc program git reference
R 6/9/2016 Debugging None GDB command reference
T 6/14/2016 Pointers findmax.c, ptrarray.c, ptr.c, swap.c Chapters 11,12
R 6/16/2016 Memory allocation, function pointers malloc.c, sort.c Chapter 17
T 6/21/2016 Midterm Exam None Midterm Guide
R 6/23/2016 Midterm Results None None
T 6/28/2016 Void Pointers sortvoid.c None
R 6/30/2016 Preprocessor sortvoid2.c, square.c Chapter 14
T 7/5/2016 Structures align.c, enum.c, point.c, point2.c, union.c Chapter 16
R 7/7/2016 Modular Programming intlist.c, listmain.c Chapter 19
T 7/12/2016 Files and directories ls.c None
R 7/14/2016 Signals signal1.c, signal2.c Chapter 24
T 7/19/2016 Bash Scripting allps.sh, float.sh, modtime2.sh, untilloop.sh, first2.sh, forloop.sh, modtime.sh, whileloop.sh, first.sh Bash scripting guide parts 1-3
R 7/21/2016 Bash Scripting factorial2.sh, factorial.sh, hostnames.sh, filemanage.sh, printpasswd.sh Bash scripting guide parts 4-5
T 7/26/2014 Awk wordlist.awk, wordlist2.awk, wc.awk Bash scritping guide C.2
R 7/28/2014 Sed Bash scripting guide C.1