Просмотр исходного кода

changed credits t2/t3, link to markdown

Michael Mächtel 8 лет назад
Родитель
Сommit
abefd79a41
2 измененных файлов: 6 добавлений и 4 удалений
  1. 3
    3
      hw1/README.md
  2. 3
    1
      hw1/simu1/QUESTIONS.md

+ 3
- 3
hw1/README.md Просмотреть файл

@@ -36,11 +36,11 @@ If you are ready with the homework, all tests run, please create a pull request
36 36
 
37 37
 | Task | max. Credits | Comment |
38 38
 |---|---|---|
39
+| simu1 | 1 | |
39 40
 | task1 | 1 | |
40
-| task2 | 0,5 | |
41
-| task3 | 1 | |
41
+| task2 | 1 | |
42
+| task3 | 0,5 | |
42 43
 | task4 | 0,5 | |
43
-| simu1 | 1 | |
44 44
 | simu2 | +0,5 | |
45 45
 | task5 | +0,5 | |
46 46
 | Deadline | +1 | |

+ 3
- 1
hw1/simu1/QUESTIONS.md Просмотреть файл

@@ -2,7 +2,7 @@
2 2
 
3 3
 This program, `process-run.py`, allows you to see how process states change as programs run and either use the CPU (e.g., perform an add instruction) or do I/O (e.g., send a request to a disk and wait for it to complete). See the README for details.
4 4
 
5
-Please answer the questions, by giving the result and an explanation, why you got the result. Sometimes it could be helpful, if you compare your result with results of earlier questions. Write your answers in markdown syntax in the new file `ANSWERS.md.`
5
+Please answer the questions, by giving the result and an explanation, why you got the result. Sometimes it could be helpful, if you compare your result with results of earlier questions. Write your answers in [markdown syntax][]  in the new file `ANSWERS.md.`
6 6
 
7 7
 1. Run the program with the following flags:
8 8
 
@@ -31,3 +31,5 @@ Please answer the questions, by giving the result and an explanation, why you go
31 31
 4. We’ll now explore some of the other flags. One important flag is `-S`, which determines how the system reacts when a process issues an I/O. With the flag set to `SWITCH_ON_END`, the system will NOT switch to another process while one is doing I/O, instead waiting until the process is completely finished. What happens when you run the following two processes, one doing I/O and the other doing CPU work? (`-l 1:0,4:100 -c -S SWITCH_ON_END`)
32 32
 
33 33
 5. Now, run the same processes, but with the switching behavior set to switch to another process whenever one is WAITING for I/O (`-l 1:0,4:100 -c -S SWITCH ON IO`). What happens now? Use `-c` and `-p` to confirm that you are right.
34
+
35
+[markdown syntax]: https://guides.github.com/features/mastering-markdown/

Загрузка…
Отмена
Сохранить