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.
- Please refer to these guidelines. An expanded version of this document is available here.
- Programs which fail to follow the program guidelines will be subject to loss of points.
- must compile without errors or warnings using the specified compiler flags on the specified target machine (prog1.cs.pennwest.edu by default).
- Programs that compile with errors will not be graded and are not eligible for a redo.
- Programs that compile with warnings may be graded at the instructor's discretion.
- Please see this guide for more information on the compiler and compiler flags
- 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.
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 40 points