On this page:
Overview
Setup
Submitting
1 Before Submitting
2 Common Problems
3 Files
4 Grade  Scope
HW Tasks

Homework 4

Last updated: Mon, 23 Oct 2023 09:05:09 -0400

Out: Mon Oct 16, 2023, 00:00 EST

Due: Sun Oct 22, 2023, 23:59 EST

Overview

In this assignment, we’ll continue to practice using The Design Recipe to write programs involving lists and other compound data.

This hw will be graded accordingly:

  • correctness (9 pts)

  • design recipe (24 pts)

  • style (8 pts)

  • README (1 pt)

Total: 42 points

Setup

Create a new repository for this assignment by going to the CS450 Fall 2023 GitHub Organization page and clicking "New".

On the "Create a new repository" screen:
  • Name the repository <YOUR ACCOUNT NAME>-hw4 where <YOUR ACCOUNT NAME> is your GitHub account name.

    For example, if my GitHub account is cs450student then I would name my hw4 repository cs450student-hw4.

  • Mark the repository as Private.

  • Check "Add a README file".

When done click "Create repository".

Here is the hw4 starter repo. You won’t be able to fork it, but, you can copy the files into your own repo and then edit them.

Submitting

1 Before Submitting

Before submitting, note:
  • Do not submit until all code has been thoroughly tested, independent of the autograder (if there is one), and you are reasonably sure the assignment is complete and correct.

    The autograder is not a software development tool so it should not be used as one.

  • If you submit and get an autograder error, this means the code you wrote is not complete and correct and it’s up to you to figure out why.

    The course staff is here and eager to help, but cannot do so if students don’t explain what they’ve tried first (e.g., "why is the autograder giving an error?" is not something we can help with).

  • The grading criteria (i.e., test suite) is subject to change. This means that the grade on the preliminary autograder test suite (if one is provided) is not the final grade.

2 Common Problems

Common submission problems:
  • a required identifier is not provided or defined in the homework file

  • an external file has not been uploaded to GitHub

  • the code is in an infinite loop, e.g., do not start a big-bang loop automatically when running a file. (Instead, it should be in a main function)

3 Files

A submission must have the following files in the repository root:

Also, the repository must have appropriate commit messages. See How to Write a Git Commit Message if you are unsure how to write a commit message.

4 GradeScope

When ready, submit this assignment to Gradescope hw4 using the "GitHub" submission feature with the hw4 repository selected.

HW Tasks