作者jackbll (阿湯)
看板Grad-ProbAsk
標題[理工] 模擬考OS
時間Wed Jan 18 19:24:09 2012
恩...第二次模考的題目 蠻多疑問的
第二部分
part I 選擇
--------------------------------------
3. Monitors 的敘述哪些是對的?
(D) Monitor can solve more complicated synchornization problem than
semaphore
這個錯了嗎@@? monitor不是改進 semaphore ??
6. disk bad block 的敘述哪些是錯的?
(A) bad blocks can be locked away in the corresponding FAT entries for
some disk with IDE controllers.
(B) The controller can be told to replace each bad sector logically with
one of the spare sectors,This scheme is known as sector sparing.
(C) Some controllers can be instucted to replace a bad block by sector
slipping.
(D) The sector stealing technique can map the bad sector to another normal
sector.Hence,a sector can be referenced with two different sector number
(E) In SCSI,the spare sectors processing will not destroy the optimal
preform of disk scheduling.
答案DE 我怎麼沒印象課本有講到 bad block Q口Q
7.In Solaris 2,an intermediate level of threads called light weight process
(LWP) between the user threads and kernel threads ...
反正要問關於LWP的敘述哪個是錯的?
(A)user threads的排程&內文轉換 是thread liberary with little support
from kernel
(B)一個LWP對映到一個kernel thread
(E)user threads and LWPs are user space data structures, while kernel
threads are kernel spaces resources.
答案(A)(E) 但是我覺得(B)錯了 課本這邊舉了五個不同檔案讀取要求
所以五個LWP 都會卡在這個 kernel I/O 感覺很怪 也有可能是我沒讀通
麻煩大家了 感恩~~
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 1.168.204.167
→ jackbll:其實很有很多題但是 太多了 懶得打 改天再問XD 01/18 19:25
推 asldenf:想請問解答出來了嗎? 我在網站上怎麼沒看到@@? 01/18 19:52
→ witz:3.semaphore、Monitor、critical region解決同步問題能力相同 01/18 19:57
→ witz:因為彼此可互相製作 01/18 19:57
推 timygt:軟體設計的最後一題 大家都算2280? 我怎麼算2880 = = 01/18 20:00
→ goallife:我也算2880= = 01/18 20:20
→ jackbll:2880+1 01/18 20:29
→ jackbll:解答台南是剛考完就發了 01/18 20:30
推 DiLegend:正解是2880 我用程式跑過 01/18 20:45
→ r596twy:2880+1 解答有問題= =a 01/18 22:30
→ Byzantin:6. 我覺得ABC才是對的? 01/18 22:59
推 r596twy:6.題目原po有打錯 題目是問錯的有哪些 01/18 23:23
sorry 我改了 XD
※ 編輯: jackbll 來自: 1.168.204.167 (01/18 23:43)
→ metalalive:BAD BLOCK 在恐龍本 CH.12-5有,三種處理BAD BLOCK方法 01/19 11:12
→ jackbll:是喔....看來還是把檔案系統後面的章節拼完好了= = 01/19 12:29
→ metalalive:我今天發現補習班的筆記其實有,如果要比較好計的敘述 01/22 01:34
→ metalalive:還是看洪X上課筆記唄 01/22 01:35