Introduction to Programming
Upto the mid-semester examination, this course will be co-located
with the Data and File Structures
Classes: 14:15 onwards on Mondays, Wednesdays, and Thursdays
Practice sessions / lab tests: 14:15 onwards on Fridays (the schedule for
lab tests will be announced beforehand).
Assignments: 40%. All assignments will be given after the mid-semester
examination. If you are doing this course, but not doing the Data and File
Structures Laboratory course, please do the assignments for that course up
to the mid-semester examination. Your marks in these assignments will not
count for this course, but you are likely to find them useful as practice /
Mid-semester examination: 10%
End-semester examination: 50%
- File naming convention. Please strictly adhere to the conventions specified in the PDS Lab for the top-level file. For supporting files, if the names have been specified in the homework, please use these names. Otherwise, choose appropriate names for any additional files that you use.
- Create a single shell script named compile.sh that contains the commands required to compile your programs.
- Please put ALL your files (source files for all problems + compile.sh) in a single directory named cs15xx-hwy (where y == homework number). Create a tarball from this directory using the following command:
$ tar czf cs15xx-hwy.tgz ./cs15xx-hwy
- Mail the tarball to firstname.lastname@example.org. Use "Homework y" as your subject line.
- All programs should be written in C.
- Please strictly adhere to the following conventions for naming your files. The main file for problem number i should be named
15xx is your roll number. Any supporting files should be named
-aux2.c, and so on.
- Create a single shell script named
compile.sh that contains the commands required to compile all your programs.
- Please put ALL your files in a single directory named
cs15xx. Create a tarball from this directory using the following command:
$ tar czf cs15xx.tgz ./cs15xx.
- Mail the tarball to email@example.com. Use Programming End-sem as your subject line.
- You may consult your notes, manual pages or other documentation available on your machine, but you will be permitted Internet access only when submitting your answer.
- For Question 4, please submit a written answer in the provided answer sheet in addition to your program. Your answer should clearly describe the data structure and algorithm that you use, using diagrams if necessary.
- You may also submit a brief written answer / solution sketch for the other problems. Your programs will be tested using randomly generated test cases. Even if your programs do not work correctly on these test cases, you may get partial credit based on your written answers.
Last modified: Mon Feb 1 10:52:43 IST 2016