Question: Topic is Operating Systems Some questions could have multiple correct answers. Choose all correct answers. Some questions could have multiple correct answers Choose al correct

Topic is Operating Systems
Some questions could have multiple correct answers.
Choose all correct answers.
 Topic is Operating Systems Some questions could have multiple correct answers.Choose
all correct answers. Some questions could have multiple correct answers Choose al
correct answers . a point for each correct answer selected a hall

Some questions could have multiple correct answers Choose al correct answers . a point for each correct answer selected a hall point off for each incorrect answer selected QUESTION 1 After a fork(2) in Linux, what does the child inherit from its parent? OA. the parent's pending signal queue. OB. CPU tine counters. oc. any outstanding asynchronous I/O operations. OD. a copy of open file descriptors. QUESTION From the kernel's perspective a process is viewed in terms of what? A. the number of procedure calls that the process makes OB. the set of resources associated with the process oc. what the source code looks like before compilation D. a schedulable thread of execution QUESTIONS Threads are more efficient than processes for which activities? GA. creation OB. termination OC. synchronization (compare thread-level vs. process-level signal-wait) OD. thread context switching (scheduling from one thread to another) QUESTION 4 Which of these operating sytems is not multitasking? CA. Windows XP 08. Solaris OC. DOS OD. Mach QUESTIONS In a fully user level thread (ULT) model OA. thread scheduling is done entirely by the thread library in user space. OD. thread switching does not require kernel mode privileges. Oc. porting an application is more difficult than with kernel threads. OD. a blocking system call blocks all threads in the process. QUESTIONS The benefits of a microkernel design over a layered (monolithic) kernel design are GA. reliability OB. portability c. small footprint OD. processor performance QUESTION The nicrokernel design supports which of the following? OA. extensibility OB. flexibility OC. security OD. low memory usage for the kernel QUESTIONS Under an SMP (symmetric multi-processor) operating system, CA. the system looks like a uniprocessor system to the user. B. each CPU has its own onboard cache. oc. a CPU alerts all others if an update to its unboard cache has occurred. OD. cache coherency is an issue only if all CPUs share onboard cache. QUESTION In the various implementations of threads OA. Java VM 1.1 is a single process with user level threads. B. UNIXS (like Mac OS X) make no distinction between a process and a thread. c. Linux has a many-to-one thread to process relationship. D. The cloud Kernel has a one-to-many thread-to-process relationship. QUESTION 10 Which of the following are basic thread operations? Basic meaning that all thread implementations (whether ULT OF KLT) have these three operations. CA. wait OB. signal oc. fork OD. spawn QUESTION 11 In a symmetric multiprocessor (SMP) kernel, OA. reentrant kernel code can execute on multiple processors concurrently. OB. fault tolerance involves the same issues as on a uniprocessor machine. OC. each processor is scheduled from the pool of available processes. OD. processors share virtual memory address space and I/O resources. QUESTION 12 12. Assume a Linux process P with two threads of execution A and B. CA. when thread A modifies a value in its data segment, thread B can see it. OB. A and B can access the same open file if the file descriptor is visible to both. Oc. If thread A calls sigsuspend the entire process is suspended. OD. If thread P terminates by calling exit(), threads A and B immediately terminate. QUESTION 13 If you write a C application using pthreads under Linux (i.e., KLTS) A. thread management is done entirely by the kernel. OB. the best performance will be on single processor system. c. the thread library is part of glbc. @D. a scheduling switch from one thread to another requires a processor mode switch. QUESTION 14 In a pure ULT model CA. thread switching does not require kernel privileges. OB. thread scheduling can be tailored to the application. oc. two threads can be scheduled on different processors. OD. if one thread makes a process blocking request another thread can begin executing. QUESTION 15 In Solaris a user-level thread (ULT) mapped to a kernel thread is called a OA. kernel thread. OB. Heavy-Weight Process (HWP) OC. Light-Weight Process (LWP) OD. None of the above QUESTION 16 16. In a multithreaded environment, a process is defined as A. a unit of resource allocation. B. a unit of protection. QUESTION 17 Synchronization is necessary in a multithreaded environment A. to prevent threads from accessing resources or data at the wrong time. OB. to make sure the processor is kept busy. he QUESTION 18 POSIX threads share the same OA. process control block (PCB). OB. data segment. C. user stack. OD. kernel stack. QUESTION 19 (T/F) In Solaris a ULT in the active state is assigned to a light weight process that executes while an underlying kernel thread executes. OA. True OB. False QUESTION 20 (T/F) In a multi-processor system, each processor has at least one level of cache memory that is private to that processor. OA. True OB. False QUESTION 21 One processor executing one instruction stream operating on data stored in a single memory chunk is called a OA. Single Instruction Single Data (SISD) stream. OB. Single Instruction Multiple Data (SIMD) stream. Oc. Multiple Instruction Single Data (MISD) stream D. None of the above QUESTION 22 The basic form of communication between processes in a microkernel is OA. shared memory. OB. message passing. OC. semaphores. OD. all of the above QUESTION 23 Solaris uses a combined approach for threads, where one ULT is mapped to one KLT. Under a more general combined approach, OA. multiple ULTS could be mapped to a single KLT. OB. a single Ult can be mapped to multiple KLTS. QUESTION 24 In Linux a process that has been terminated but still has an entry in the process table is... A. in a dead state. B. a zombie. Oc. an orphan. OD. deadlocked. th QUESTION 25 In a user-level thread (ULT) model OA. multiple threads map to a single process thread (M:1). OB. the kernel is not aware of the existence of multiple threads. Oc. the kernel is aware of multiple threads only when they are created. OD. individual threads within the process are not schedulable by the kernel. check

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!