Question: Q1. Which is a truth regarding the threads a. User level threads are known to the kernel b. User schedules the kernel threads c. Every
Q1. Which is a truth regarding the threads
a. User level threads are known to the kernel
b. User schedules the kernel threads
c. Every kernel thread belongs to a process
d. Every user thread belongs to a process
Q2. In Multicore systems, the programmers need to stress mainly on:
a. Dividing activities
b. Mapping of user threads to the kernel threads
c. Scalability
d. Maintaining data dependency
Q3 In OS, monitors are a higher level synchronization primitive that takes the form of a data type, in which the compiler defines mutual exclusion
Select one:
True
False
Q4 What are the two general methods for passing data across two processes
a. Shared memory and message passing
b. registers and message passing
c Shared memory and registers
d. None
Q5 The program counter register
a. stores the address of the instruction that is currently being executed
b. Stores the instruction that is being currently executed.
c. stores the address of the next instruction to be executed
d. stores the next instruction to be executed
Q6 A lack of interaction is found between the user and the job in batch operating systems
Select one:
True
False
Q7 Deadlock can never occur if no process is allowed to hold a resource while requesting another resource.
Select one:
True
False
Q8 It is possible for a thread to share few information like code segment, data segment and open files, with its peer threads .
Select one:
True
False
Q9 If a short quantum in used for a round-robin scheduler, it may give better response time for interactive users but will lead to less ecient use of the CPU than a longer quantum.
Select one:
True
False
Q10 A semaphore is a blocking synchronization primitive
Select one:
True
False
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
