Assignment 2

This assignment consists of two parts: C programming and UNIX shell scripting.

C programming (40%) - All files to download
Note: Ignore the warning "cast to pointer from integer of different size".

Unix shell scripting (60%) - More sample outputs - Last updated: March 16
Note 1: Submit only the Unix scripts; do not submit output files.
Note 2: Do NOT use any text-processing utility such as sed or awk.

Due date: April 5, 11:59PM

To submit a file, use the following command:

submit 2031N asg2 filename

Note: Submit one file at a time using the above command. Do not upload an entire folder/directory, which will create a new folder/directory and mess up the automatic grading script.

Assignment 1

This assignment consists of two programming problems.

Problem A - All C, input and output files

Problem B - All C and output files
Note: Ignore warning messages "cast to pointer from integer of different size".

Due date: March 5, 5:00PM - extended to March 8, 5:00PM

To submit a file, use the following command:

submit 2031N asg1 filename

Rules

  • In this course, all assignments, tests and exam are individual work.
  • We use MOSS (Measure Of Software Similarity) to detect software plagiarism.