4 Categorize the following programs as system software or application software, and explain your
categorization:
?—? Java Virtual Machine
?—? Excel
?—? PowerPoint
?—? C compiler
?—? C library
?—? Oracle data-base management system
?—? Employee payroll system
?—? Web browser
?—? Media player
?—? Control panel
?—? E-mail client
6.5 Why is it that threads are faster to create than processes?
6.6 What advantage do kernel threads provide over user threads? Give an example of a user thread package.
6.7 When a process is multithreaded, which of these resources are shared among the threads, and which are
private to each thread?
?—? Memory
?—? Program counter
?—? Global variables
?—? Open files
?—? Register contents
?—? Stack/ local /automatic variables
6.8 List four events that transfer control to the operating system in privileged mode.
6.9 How can a semaphore be used to insure that Process First will complete before Process Second executes?
6.10 Describe how transaction logging might apply to a file system, and give an example of a file system
that employs transaction logging.
CHAP. 6] OPERATING SYSTEMS 125
6.11 If a memory access requires 100 nanoseconds, and the computer uses a page table and virtual memory,
how long does it take to read a word of program memory?
6.
Pages:
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348