ad majorem Dei gloriam

CPS 444/544: UNIX/Linux Programming

Department of Computer Science, University of Dayton

Spring 2018

Table of Contents (TOC)

Course Description

CPS [45]44 (3 hours) prepares students for developing software in the UNIX/Linux environment using the C and Go programming languages. Topics include libraries and system calls, shells, system structures and internals, interprocess communication (pipes and signals), communicating sequential processes, network programming (client-server model and sockets), configuration and compilation management, pattern matching and filters, shell programming, automatic program generation, and GUI programming. Students can also expect a survey of various software tools supporting systems programming, including gcc, gdb, make, git, sed and awk, and lex and yacc. The course does not aim to be comprehensive, but rather focuses on thematic issues. Assignments are designed to provide students with a pragmatic exposure to these tools as well as issues faced by modern practitioners. CPS [45]44 is a programming-intensive course.

Course Details

CPS 356 (Operating Systems).
Meeting times:
M W 5:05pm-6:20pm, MH 205.
Dr. Saverio Perugini, e-mail id: sperugini1, tel: 229-4079, office: AN 145
OHs: M W 6:30pm-7:30pm; T 2:15pm-3:15pm (only when classes are in session); & by appointment.
Graduate Assistant and Student Helper:
Matthew Weiler (e-mail id: weilerm3) and Jonathan Conrad (e-mail id: conradj5); AN 131/135
OHs: M 10:00am-noon, T 10:00am-noon, W 10:00am-noon, Th 10:00am-noon, 4:00pm-6:00pm, F 10:00am-noon (only when class is in session), & by appointment.


Required Textbook

    [LP] Linux Programming by S. Perugini. 2017. Draft (Available as a Resource in Isidore).


Course Wordle

CPS 444/544: UNIX/Linux Programming/Spring 2018


Course Objectives


Course Outline

Course outline, required reading assignments, lecture notes, & homeworks:


Quick Reference Sheets



  1. Exam I (closed book, closed notes) [practice problems]: Mar 12

  2. Exam II (closed book, closed notes) [practice problems]: Apr 9

  3. Final Exam (comprehensive, closed book, closed notes) [practice problems]: Mon Apr 30, 6:30pm-6:20pm, MH 205.



Homework Assigned Due Total points
Homework #1 Jan 17 Jan 26 60
Total Homework Points: 580


Homework #1

Assigned: January 17
Due: January 26, 11:59pm

Total points: 60 points

Style guide | Academic Integrity | Evaluation Criteria

[LP] Programming Exercise 4.31.30

There is a reference executable of a solution for this homework available at /home/perugini_cps444/share/homeworks/hw1/diff1.

How to submit

Note: All directory and filenames below are case-sensitive. You must use the directory and filenames exactly as shown below (i.e., all lower case).

Prepare your source code file as /home/<logname>/homeworks/hw1/diff1.go, where <logname> is your login name (e.g., FA_17_CPS444_03). Only your source file diff1.go will be electronically collected from this location in your Linux account on the deadline.

Failure to follow these submission requirements will result in a 10% penalty.


Ninety percent of your score will come from correctness and 10% of your score will come from following our programming style guide. Applicable submission penalties will then be applied.


Evaluation Criteria

(point values below are approximate)
Component Quantity Points per Total points
Homeworks ~10 varies (+80 EC) 500
CPS 544 Project 1 200 200
Exams 2 175 350
Final exam or project (comprehensive) 1 150 150
CPS 444 Total:1,000
CPS 544 Total:1,200

Homeworks involves analytical, theoretical, and programming exercises. The programming requires a fair amount of critical thought and design, and approximately 500-1000 lines of code. To prepare students for the realities of computer science problems in industry and graduate school (and beyond) this course encourages (and rewards) self-reliance and independent, self-directed work. Handwritten assignments are not accepted. Assignments are due at 5:05pm in class. Late assignments are not accepted. No exceptions. All exams are in-class, closed-book, and closed-notes. Attendance is mandatory at all examinations; make-ups are not given. Any missed examination will result in a zero. Make no assumptions about anything; always consult the instructor first. Final letter grades of A, A-, B+, B, B-, C+, C, C-, and D start approximately at 93, 90, 87, 83, 80, 77, 73, 70, and 60 percent, respectively.



CPS [45]44 is a challenging course and moves at a very fast pace. Spending a minimum of 9 hours outside of class each week reading, studying, and programming is required. I advise you to see me to discuss any problems you may have before you are evaluated.


Classsroom & Course Policies

Students are expected to conduct themselves with respect, integrity, and virtue. Keep phones and similar devices in a silent mode and put away during class (i.e., out of sight). The use of laptop computers and similar devices is not permitted in class. Audio or video recording of any kind in class is strictly prohibited.


Academic Integrity

To achieve the course objectives, homework assignments must be a sole result of your work, not be shared with other students, and prepared in accordance with the University Honor Pledge (see below). Moreover, you may not plagiarize code from any, cited or uncited, textbooks, online resources, or other authors. There is no team, group-work assignments in this class. Discussions among classmates must never include pending assignments. No exemptions. All questions and comments about a pending assignment must only be directed to the instructor and teaching assistants. Evidence indicating a violation of this policy will be handled according to the University Academic Honor Code and result in a doubly-weighted zero which will not be dropped (e.g., if the assignment is worth 100 points, you receive a 0/200) or a zero on the next exam. Make no assumptions about this policy; always consult the instructor first. No student should ever feel that they must resort to academic dishonesty. You are encouraged to consult the instructor if you are struggling with the course or an assignment. No grade is worth your integrity. Honesty in your academic work will develop into professional integrity. The faculty and students of the University of Dayton will not tolerate any form of academic dishonesty.

The Honor Pledge as listed in the Academic Honor Code section of the Undergraduate Catalog applies in full to CPS 444.

The Honor Pledge as listed in the Academic Honor Code section of the Graduate Catalog applies in full to CPS 544.

Honor code FAQ


Other Helpful ...

Programming style guide

Quick Reference Sheets:
  • Vim quick reference sheet
  • Linux quick reference sheet
  • C quick reference sheet
  • Advanced Linux quick reference sheet
  • Go quick reference sheet
  • Elixir quick reference sheet

  • Practice problems:
    see conceptual and programming exercises in [LP]; (outdated, but still relevant) practice problems.

    available in Isidore

    Computer accounts:
    Linux account access | UDit | A beginner's guide to effective e-mail

    Helpful links:
    academic calendar (PDF) | student handbook (PDF) | UDit FERPA policies

    Dr. Perugini welcomes any feedback you may have on the course motif and approach, style of the lectures, the concepts presented in class, the course webpage, homeworks, deadlines, exams, course and grading policies, or your general experience in the course.


    Last modified:
    ad majorem Dei gloriam