[理工] OS

看板Grad-ProbAsk作者 (DIODE)時間10年前 (2013/12/26 00:45), 編輯推噓1(1023)
留言24則, 5人參與, 最新討論串4/11 (看更多)
想請問幾題OS題目 因為手邊沒有解答 想麻煩各位大大們幫忙指正 單選: 第一題:In a paged virtual memory system (A)threading (B)thrashing (C)signaling (D)stacking is a condition in which excessive paging operations are taking place. 這題我選B 第二題:In a segmentation virtual memory system , (A)internal fragmentation (B)external fragmentation (C)threading (D)thrashing (E)signaling occurs if holes left in physical memory when segments are destroyed. 這題我選(B) 第三題:Transport Layer Security(TLS) uses (A)asymmetric cryptography (B)symmetric cryptography (C)message authentication codes(MAC) (D)one-way hash functions (E)bloom filters for key exchange. 這題我選(B) 第四題:What locking mechanism is better suited for multiprocessor where threads run for a short period of time? (A)spinlock (B)mutexes (C)semaphore (D)adaptive mutexes (E)condition variables 這題我選(A) 第五題:What is the most required hardware support for the synchronization implementation in an operating system? (A)data cache (B)instruction cache (C)translation look-ahead buffers (D)atomic read-modify-write cycle (E)superscalar architecture 這題我選(B) 第六題:In Linux or Windows,a device drivers needing the best performance should be run in (A)user mode (B)middleware mode (C)kernal mode(D)application mode (E)virtual mode 這題我選(C) 第七題:Which of the scheduling approach should be used in a real time system? (A)first come first serve (B)shortest-job first (C)Non-preemptive priority (D)Round-Robin (E)Priority-based preemptive 這題我選(E) 第八題:What statemant is wrong? (A)both threads and processes are execution in an application (B)Processes are independent execution units that contain their own address spaces. (C)A single process can contain multiple threads (D)all threads within a process can communicate with each other directly through global variables. (E)Threads in different processes can communicate with each other directly through global variables. 這題我選(E) 多選: 第九題:Signals are an inter-process communication mechanism in Unix/LinuX OS.Signals can be generated by (A)A user shell command (B)programs via system calls (C)the kernel (D)an interrupt or exception handler 這題我選CD 以上 拜託大家了(跪) -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 111.185.122.223

12/26 01:06, , 1F
124678應該 5我會選D 39不確定 看有沒有高手補充 其實
12/26 01:06, 1F

12/26 01:06, , 2F
有些句子在恐龍裡面有一模一樣的 印象中就像12有
12/26 01:06, 2F

12/26 01:12, , 3F
第二題後面,if那段話是外部碎裂?
12/26 01:12, 3F

12/26 01:45, , 4F
不是嗎?語意看起來沒問題阿avaiable memory被配置segmen
12/26 01:45, 4F

12/26 01:45, , 5F
變小不能用不是外部破碎嗎?句子臨時在恐龍找不到= =
12/26 01:45, 5F

12/26 01:45, , 6F
但有找到hole=available mem hole left是指被拿去用了吧
12/26 01:45, 6F

12/26 01:46, , 7F
被拿去用後 剩下的segment被破壞了 所以不能用
12/26 01:46, 7F

12/26 09:53, , 8F
最後一題,有點想全選。有kill -9之類的command可以傳
12/26 09:53, 8F

12/26 18:00, , 9F
第三題我會想要選A,在TLS裡面我們採用CHAP的方式協定
12/26 18:00, 9F

12/26 18:02, , 10F
然後以非對稱公開金鑰加密(雙方拿的key不一樣)方式
12/26 18:02, 10F

12/26 18:05, , 11F
做key的交換(CHAP裡面的術語叫做challenge)以驗證身分
12/26 18:05, 11F

12/26 18:05, , 12F
其中,這種密鑰的加密方式採用SSL也就是MD5,這是屬於
12/26 18:05, 12F

12/26 18:06, , 13F
一種one-way hash的方式
12/26 18:06, 13F

12/26 18:07, , 14F
總結 : key 的交換方式採用asymmetric cryptography
12/26 18:07, 14F

12/26 18:08, , 15F
加密方式採用的是SSL
12/26 18:08, 15F

12/26 18:09, , 16F
可以參考英文版wiki:Transport Layer Security第三行~
12/26 18:09, 16F

12/26 18:52, , 17F
To Kiki大:依稀記得hole好像是無法被利用回收(不確定)
12/26 18:52, 17F

12/26 18:55, , 18F
外部碎裂定義似乎是不連續的區塊無法配置所以我選B但是
12/26 18:55, 18F

12/26 18:55, , 19F
只是我的想法不太確定XD
12/26 18:55, 19F

12/26 18:58, , 20F
To A4P8大大:因為不知道誰可以產生signal 感覺kernel一定
12/26 18:58, 20F

12/26 18:58, , 21F
可以
12/26 18:58, 21F

12/26 19:00, , 22F
另外也想順便問signal是可以由誰產生的QQ只有kernel嗎!?
12/26 19:00, 22F

12/26 19:02, , 23F
To hack大大:謝謝你我之前也有查wiki但是..看不太懂QQ"
12/26 19:02, 23F

12/26 19:06, , 24F
XTo kiki大:第五題經你這麼一說好像是D耶XD一氣呵成
12/26 19:06, 24F
文章代碼(AID): #1IkmkpZM (Grad-ProbAsk)
討論串 (同標題文章)
完整討論串 (本文為第 4 之 11 篇):
理工
1
5
理工
2
9
理工
3
6
理工
1
24
10年前, 12/26
理工
2
6
理工
2
11
理工
2
8
理工
3
6
理工
3
6
理工
12
28
文章代碼(AID): #1IkmkpZM (Grad-ProbAsk)