course_outline
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| course_outline [2018/11/07 18:32] – aboelaze | course_outline [2018/12/06 21:15] (current) – aboelaze | ||
|---|---|---|---|
| Line 61: | Line 61: | ||
| question 3 {{: | question 3 {{: | ||
| - | the 2 files are {{: | + | the 2 files are {{:nameid.txt|}} and {{: |
| For **labtest B** | For **labtest B** | ||
| Line 67: | Line 67: | ||
| her is the model answer {{: | her is the model answer {{: | ||
| - | question 1 {{:in1.txt|}} and {{: | + | question 1 {{: |
| question 2 run it with arguments 1 2 3 4 5 | question 2 run it with arguments 1 2 3 4 5 | ||
| Line 121: | Line 121: | ||
| <fc red> | <fc red> | ||
| + | |||
| + | here is {{: | ||
| + | |||
| + | Here are the test cases. | ||
| + | |||
| + | |||
| + | |||
| + | === Friday section Question 1 input and output files === | ||
| + | |||
| + | {{: | ||
| + | |||
| + | The output should be | ||
| + | |||
| + | 6 | ||
| + | |||
| + | 0 | ||
| + | |||
| + | 4 | ||
| + | === Friday section Question 2 input and output files === | ||
| + | |||
| + | {{: | ||
| + | |||
| + | The output | ||
| + | |||
| + | UP | ||
| + | |||
| + | DOWN | ||
| + | |||
| + | NO | ||
| + | |||
| + | NO | ||
| + | |||
| + | === Friday section Question 3 input and output files === | ||
| + | |||
| + | {{: | ||
| + | |||
| + | The output for ina23a.txt\\ | ||
| + | -2 -12 | ||
| + | 10 -20 | ||
| + | 30 -25 | ||
| + | 55 -31 \\ | ||
| + | 86 \\ | ||
| + | |||
| + | For 23b.txt\\ | ||
| + | |||
| + | -6 5 | ||
| + | -11 | ||
| + | -23 | ||
| + | -48 | ||
| + | -97 | ||
| + | -190 176 \\ | ||
| + | -366 \\ | ||
| + | |||
| + | for 23c.txt\\ | ||
| + | |||
| + | -1 -1 -1 -1 \\ | ||
| + | 0 | ||
| + | 0 0 \\ | ||
| + | 0 \\ | ||
| + | |||
| + | for 23d.txt\\ | ||
| + | |||
| + | 31 14 9 | ||
| + | 17 5 | ||
| + | 12 -11 | ||
| + | 23 -37 | ||
| + | 60 -77 \\ | ||
| + | 137 \\ | ||
| + | |||
| + | |||
| + | === Monday section Question 1 input and output files === | ||
| + | |||
| + | {{: | ||
| + | |||
| + | **The output for 21a.txt**\\ | ||
| + | |||
| + | Arithmetic 6 \\ | ||
| + | |||
| + | **For 21b**\\ | ||
| + | |||
| + | Geometric 3 \\ | ||
| + | |||
| + | **The output for 21c** \\ | ||
| + | |||
| + | |||
| + | NEITHER\\ | ||
| + | |||
| + | |||
| + | === Monday section Question 2 input and output files === | ||
| + | |||
| + | {{: | ||
| + | |||
| + | **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 === | ||
| + | |||
| + | {{: | ||
| + | |||
| + | **The output for 23a** \\ | ||
| + | |||
| + | YES\\ | ||
| + | |||
| + | **The output for 23b** \\ | ||
| + | |||
| + | YES\\ | ||
| + | |||
| + | **The output for 23c**\\ | ||
| + | |||
| + | NO\\ | ||
| + | |||
| + | **The output for 23d**\\ | ||
| + | |||
| + | NO\\ | ||
| + | |||
| + | |||
| + | |||
| ---- | ---- | ||
| Line 151: | Line 288: | ||
| ===== Final Exam ===== | ===== Final Exam ===== | ||
| + | |||
| + | here are the {{: | ||
course_outline.1541615559.txt.gz · Last modified: by aboelaze
