COL351: Submission instructions for Programming Assignment 2


HW2 submissions are to be made as follows:
- Create a zip file with all your source code and a "Makefile" file.
- The make file should compile your source code (in case it needs any compilation, otherwise it may be empty).
- Our autograder will simply unzip your zip file and run the command "make”.
- This will be followed by running “checkmatrix” for different test cases (done by copying and deleting different input.txt files into your directory) and checking the "output.txt" file.
- Name your zip file in the following format: <entry no>.zip. (Example: 2014CS10201.zip)
- Mail your zip file with the subject: "COL351:HW2” to col351iitd@gmail.com

Here are some of the common mistakes in the previous homework. Please avoid them in this submission.
- The extracted directory should be named as <entry no> (in capitals).
- No Folder within Folder.
- Your zip file when extracted shouldn't create a directory, that contains directories like 2014CSxxxxx and _MACOSX. It should only contain required files.
- Your submission should either have a checkmatrix file or it gets created after executing make.


A few Examples of Makefile and checkmatrix:

For C:
——Makefile——
all: <your program name>.c
      gcc -o checkmatrix <yourprogram>.c
————————
For C++:
——Makefile——
all: <your program name>.cpp
      g++ -o checkmatrix <yourprogram>.cpp
————————
For Java:
——Makefile——
all: <your program name>.java
      javac <your program name>.java
————————

——checkmatrix (This is a shell script)——
java <your program name>
————————
For Python:
——checkmatrix (This is a shell script)——
python <your program name>.py
————————