Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
kentaura committed Jan 28, 2025
1 parent d23fbca commit 24ada88
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 14 deletions.
5 changes: 3 additions & 2 deletions docs/html/exam2024.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,14 @@
解答用紙 (Jupyter notebook)は問題ごとに分かれている
4. <font color="red">試験問題は暗号化されたPDF</font>で配布する(教室では紙でも配る予定). ファイル:
* 予行演習: [os2024_exam_practice_enc.pdf](os2024_exam_practice_enc.pdf)
* 本番: [os2024_exam_enc.pdf](os2024_exam_enc.pdf)
* 本番: [os2024_exam_enc.pdf](os2024_exam_enc.pdf) <font color="red">(テキストをコピーすることはできないので注意)</font>

上記リンクをブラウザで開くかダウンロードせよ (配布されるまではファイルが見つからないというエラーが出る)

5. 試験開始, 終了時刻は, 試験開始準備が整い次第, このページでアナウンスする(再読込せよ).
試験時間: 予行演習 <font color="red">08:47 --09:10</font>
試験時間: 本番 <font color="red">08:XX -- 10:15</font>
1. 問題・解答用紙の訂正があればこちらに書く
- <font color="red">問題2 (4)</font> 問題文の最後に以下の一文を加える. <b>「ただし実行するコンピュータには, その大きなPGMファイルよりも十分に大きなメモリがあるものとする」</b>
1. 試験開始時刻になったら, 試験問題を読むためのパスワードを 教室のプロジェクタ, 画面共有で表示, Zoomチャットで送信. それが試験開始の合図となる
1. 解答用紙を開いたら `os2024_exam_practice.sos.ipynb` (予行演習) または `os2024_exam.sos.ipynb` (本番) に名前を記入して保存(Ctrl-S)できるか確認せよ
1. そして試しに一度Submitせよ. <font color="red">Submitされた人と, 参加者(少なくとも数)の一致を確認するので, 試験開始後すぐにSubmitすること.</font>
Expand Down
36 changes: 24 additions & 12 deletions jupyter/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,21 @@
#mk_nb_flags := --dbg 2

nb_srcs :=
nb_srcs += $(wildcard nb/source/os2024_exam_practice/*.sos)
nb_srcs += $(wildcard nb/source/os2024_exam/*.sos)
#nb_srcs += $(wildcard nb/source/os14_*/*.sos)
# nb/source/os12/*.py

aux_srcs :=

aux_srcs += $(wildcard nb/source/os2024_exam_practice/misc/wikipedia-operating-system.html)
aux_srcs += $(wildcard nb/source/os08_addr/addrs_vis.py)
aux_srcs += $(wildcard nb/source/os09_vm/page_fault_vis.py)
aux_srcs += $(wildcard nb/source/os09_vm/mincore_vis.py)
aux_srcs += $(wildcard nb/source/os10_cache/read_file_vis.py)
aux_srcs += $(wildcard nb/source/os11_prefetch/read_file_vis.py)
aux_srcs += $(wildcard nb/source/os12_mmap/read_mmap_vis.py)
aux_srcs += $(wildcard nb/source/os14_shell/samples/*.*)
# aux_srcs += $(wildcard nb/source/os2024_exam/..)
# aux_srcs += $(wildcard nb/source/os2024_exam_practice/misc/wikipedia-operating-system.html)
# aux_srcs += $(wildcard nb/source/os08_addr/addrs_vis.py)
# aux_srcs += $(wildcard nb/source/os09_vm/page_fault_vis.py)
# aux_srcs += $(wildcard nb/source/os09_vm/mincore_vis.py)
# aux_srcs += $(wildcard nb/source/os10_cache/read_file_vis.py)
# aux_srcs += $(wildcard nb/source/os11_prefetch/read_file_vis.py)
# aux_srcs += $(wildcard nb/source/os12_mmap/read_mmap_vis.py)
# aux_srcs += $(wildcard nb/source/os14_shell/samples/*.*)
#aux_srcs += $(wildcard nb/source/os07_atomic/lock_vis.py)
#aux_srcs += $(wildcard nb/source/os2023_exam/include/vers/2/buy2.h)
#aux_srcs += $(wildcard nb/source/os2023_exam/include/vers/2/check_buy2.c)
Expand All @@ -27,13 +28,22 @@ aux_srcs += $(wildcard nb/source/os14_shell/samples/*.*)
#aux_srcs += $(wildcard nb/source/*/misc/*.html)

aux_gpg_srcs :=
aux_gpg_srcs += nb/source/os2024_exam_practice/include/count_char.c
aux_gpg_srcs += ../exams/2024/problems/program/prob2/i.pgm
aux_gpg_srcs += ../exams/2024/problems/program/prob2/idx.txt
aux_gpg_srcs += ../exams/2024/problems/program/prob2/pgm.c
aux_gpg_srcs += ../exams/2024/problems/program/prob3/gate_test_void.c
aux_gpg_srcs += ../exams/2024/problems/program/prob3/gate_test_int.c
aux_gpg_dsts := $(patsubst ../exams/2024/problems/program/%,notebooks/source/os2024_exam/%.gpg,$(aux_gpg_srcs))

users_csv := users.csv

feedback_class := os
include ../../jupyter_tools/authoring/jupyter_tools.mk

$(aux_gpg_dsts) : notebooks/source/os2024_exam/%.gpg : ../exams/2024/problems/program/%
mkdir -p $(dir $@)
cat $< | gpg --batch --passphrase-file ../exams/2024/problems/os2024_exam_pw.txt --symmetric --cipher-algo AES256 > $@

notebooks/source/os2024_exam_practice/count_char.c.gpg : notebooks/source/%.c.gpg : nb/source/%.c
mkdir -p $(dir $@)
./mk_version.py -D VER=1 $< | gpg --batch --passphrase-file ../exams/2024/problems/os2024_exam_practice_pw.txt --symmetric --cipher-algo AES256 -o $@
Expand All @@ -42,7 +52,9 @@ notebooks/source/ans_os2024_exam_practice/count_char.c.gpg : notebooks/source/an
mkdir -p $(dir $@)
./mk_version.py -D VER=1 $< | gpg --batch --passphrase-file ../exams/2024/problems/os2024_exam_practice_pw.txt --symmetric --cipher-algo AES256 -o $@

compile : notebooks/source/os2024_exam_practice/count_char.c.gpg
compile : notebooks/source/ans_os2024_exam_practice/count_char.c.gpg
compile : $(aux_gpg_dsts)

# compile : notebooks/source/os2024_exam_practice/count_char.c.gpg
# compile : notebooks/source/ans_os2024_exam_practice/count_char.c.gpg


0 comments on commit 24ada88

Please sign in to comment.