====== 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==== Your notes here.{{:week_1.pdf|Week 1}} ---- ---- ---- ==== 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 {{:modelanswera.txt|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 {{:example_lab_test.pdf|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 === {{:ina21a.txt|}} {{:ina21b.txt|}} {{:ina21c.txt|}} The output should be 6 0 4 === Friday section Question 2 input and output files === {{:ina22a.txt|}} {{:ina22b.txt|}} {{:ina22c.txt|}} {{:lab_1.pdf|}} The output UP DOWN NO NO === Friday section Question 3 input and output files === {{:ina23a.txt|}} {{:ina23b.txt|}} {{:ina23c.txt|}} {{:ina23d.txt|}} The output for ina23a.txt\\ -2 -12 8 3 4 \\ 10 -20 5 -1 \\ 30 -25 6 \\ 55 -31 \\ 86 \\ For 23b.txt\\ -6 5 -7 6 -5 4 -6 \\ -11 12 -13 11 -9 10 \\ -23 25 -24 20 -19 \\ -48 49 -44 39 \\ -97 93 -83 \\ -190 176 \\ -366 \\ for 23c.txt\\ -1 -1 -1 -1 \\ 0 0 0 \\ 0 0 \\ 0 \\ for 23d.txt\\ 31 14 9 -7 3 -1 \\ 17 5 16 -10 4 \\ 12 -11 26 -14 \\ 23 -37 40 \\ 60 -77 \\ 137 \\ === Monday section Question 1 input and output files === {{:inb21a.txt|}} {{:inb21b.txt|}} {{:lab_1.pdf|}} **The output for 21a.txt**\\ Arithmetic 6 \\ **For 21b**\\ Geometric 3 \\ **The output for 21c** \\ NEITHER\\ === Monday section Question 2 input and output files === {{:inb22a.txt|}} {{:inb22b.txt|}} {{:inb22c.txt|}} {{:inb22d.txt|}} **The output for 22a** \\ 3333\\ 6666\\ **The output for 22b** \\ 66666\\ 133332\\ **The output for 22c**\\ 7777\\ 15554\\ **The output for 22d**\\ 1\\ 2\\ === Monday section Question 3 input and output files === {{:inb23a.txt|}} {{:inb23b.txt|}} {{:inb23c.txt|}} {{:inb23d.txt|}} **The output for 23a** \\ YES\\ **The output for 23b** \\ YES\\ **The output for 23c**\\ NO\\ **The output for 23d**\\ NO\\ ---- ---- ---- ==== Week 10 Nov. 20==== ---- ---- ---- ==== Week 11 Nov. 27 ==== **Lab test 3** ---- ---- ---- ==== Week 12 Dec. 4 ==== ---- ---- ---- ===== Final Exam ===== here are the {{:example_quiz.pdf|Quizzes}} we had in the class