• Welcome
  • Catalog Description
  • Course Objectives
  • Instructor
  • Text
  • Grades
    • Homework
    • Tests
  • Cheating
  • Using AI
  • Attendance
  • Disabilties
  • Title IX
  • PWU Policies
  • Outline
  • Notes

Homework

Homework assignments will be posted here as they are assigned.

Homework in this class is intended to provide students practice with the concepts discussed in class and in the book. True understanding is only available with practice.

Homework must be turned in by the assigned due date. No late homework will be accepted.

Homework may consist of both programming and written assignments. All work should be performed in a professional manner.

Programs :

  • should correctly solve the problem presented.
    • Programs that do not sufficiently pass the test cases provided in the description will receive a grade of 0 and no further grading will be performed.
    • In general, you should use the test cases provided. Do no retype these files, download and save the provided example files.
      • For this class, unless specified otherwise, all files end with a new line character.
      • Files are in "unix" format, there are no carriage return characters at the end of a line.
  • should be well written and well documented.
  • must assemble without errors or warnings using the specified assembler flags on the specified target machine (prog1.cs.pennwest.edu by default).
    • Programs that assemble with warnings may be graded at the instructor's discretion.
  • must employ the proper data structures.
  • must employ efficient algorithms.
  • must be modular in design, flexible and extensible.
  • must be completed on time and submitted according to instructions.
  • must be submitted in the required format. By default, this is as a compressed tar file or a zip file.
    • Programs not submitted in the proper format will be graded at the instructor's discretion.

    Written homework should:

    • be neat and legible.
    • be typed.
    • be completed on time and submitted according to instructions.

    This is an in-person class. As such, I may require group work and other homework to be conducted in the lab during class time. This work may be given at short notice and may not be available for makeup for students who do not have a documented excuse for missing class.

    I do not accept late homework. If you find that you will miss a deadline please contact me.

    You are responsible for ALL code submitted. You should know what this code does and be able to explain how the code works. I may, at my option, require an oral code review for any program submitted.

    If you use external sources to complete your homework, you should document this. This includes sources where you copied sections of code, persons who supplied lines of code or collaborators. Failure to do so constitutes plagiarism and will result in severe academic penalties.


    • Homework 1 Due by the date indicated on d2l and is worth 5 points
    • Homework 2 Due by the date indicated on d2l and is worth 15 points

  • Unless otherwise noted, all material copyright (C) Dan Bennett, 2001 - 2026