This is an old revision of the document!
Table of Contents
Course Outline
The course outline is a guideline to topics that will be discussed in the course, and when they will be discussed:
Week 1 Sept. 4
Week 2 Sept. 11
Week 3 Sept. 18
Week 4 Sept. 25
Week 5 Oct. 2
Reading Week
Week 6 Oct. 16
lab test 1 (for Friday section and the following Monday for Monday section)
Now you can retrieve your files using websubmit.
For labtest A, here is the Model answer, note that questions are separated by ===== and test cases are separated by —-
Now the different test cases
question 1 in1a.txt in1b.txt in1c.txt and in1d.txt
question 2 in2a.txt and in2b.txt
question 3 in3a.txt and in3b.txt
the 2 files are nameid.txt and namecourse.txt
For labtest B
her is the model answer modelanswer.txt question separated by === and test cases by —
question 1 in1.txt
question 2 run it with arguments 1 2 3 4 5
run it with arguments 3 9 2
run it with arguments 9 6 1
run it with arguments 9 9 1
question 3 run it with arguments 1 7
run it with arguments 2 6
run it with arguments 4 4
run it with arguments 5 5
question 4
run it with argument hghghghg
run it with argument in4.txt here is in4.txt
Week 7 Oct. 23
Week 8 Oct. 30
Week 9 Nov. 6
Week 9 Nov. 13
lab test 2
here is Last year lab test That will give you an idea bout what you expect. Just an idea, the test will not be the same.
Here are the test cases.
Friday section Question 1 input and output files
Friday section Question 2 input and output files
Friday section Question 3 input and output files
ina23a.txt ina23b.txt ina23c.txt ina23d.txt
The output is -2 -12 8 3 4
10 -20 5 -1
30 -25 6
55 -31
86
Week 10 Nov. 20
Week 11 Nov. 27
Lab test 3