# 2025q1 Homework4 (quiz3+4) contributed by <`Urbaner3`> 回答第 3 周測驗題從測驗一到測驗五和第 4 周測驗題從測 [藍圖](/ck7G8AM4Tqy2H7WJDUVo7w) ## Link [week 3](https://hackmd.io/@sysprog/linux2025-quiz3); [week 4](https://hackmd.io/@sysprog/linux2025-quiz4) ## quiz3c AAAA = ENV_RUNNABLE: When creating a new thread, we set its status to runnable so that it can be selected by the scheduler. BBBB = 1: In the scheduler, we increment the current environment ID by 1 to find the next candidate thread to run (with wrap-around using modulo). CCCC = coro_schedule(): After saving the context in coro_yield(), we call the scheduler to switch to another thread. DDDD = coro_yield(): In the preemption signal handler, we force a context switch by calling coro_yield(). ## quiz4b [浮點數運算](https://hackmd.io/@sysprog/c-floating-point#%E6%B5%AE%E9%BB%9E%E6%95%B8%E5%92%8C%E5%AE%9A%E9%BB%9E%E6%95%B8) 回憶定義,