[理工] 模擬考OS
恩...第二次模考的題目 蠻多疑問的
第二部分
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
→
01/18 19:25, , 1F
01/18 19:25, 1F
推
01/18 19:52, , 2F
01/18 19:52, 2F
→
01/18 19:57, , 3F
01/18 19:57, 3F
→
01/18 19:57, , 4F
01/18 19:57, 4F
推
01/18 20:00, , 5F
01/18 20:00, 5F
→
01/18 20:20, , 6F
01/18 20:20, 6F
→
01/18 20:29, , 7F
01/18 20:29, 7F
→
01/18 20:30, , 8F
01/18 20:30, 8F
推
01/18 20:45, , 9F
01/18 20:45, 9F
→
01/18 22:30, , 10F
01/18 22:30, 10F
→
01/18 22:59, , 11F
01/18 22:59, 11F
推
01/18 23:23, , 12F
01/18 23:23, 12F
sorry 我改了 XD
※ 編輯: jackbll 來自: 1.168.204.167 (01/18 23:43)
→
01/19 11:12, , 13F
01/19 11:12, 13F
→
01/19 12:29, , 14F
01/19 12:29, 14F
→
01/22 01:34, , 15F
01/22 01:34, 15F
→
01/22 01:35, , 16F
01/22 01:35, 16F
→
09/11 14:46, , 17F
09/11 14:46, 17F
討論串 (同標題文章)