Questions
Which of the following is FALSE regarding Perterson's solution to the critical section problem?
- Peterson's solution works for an arbitary number of processes.
- Peterson's solution has a busy wait loop.
- Peterson's solution is tricky to code.
- All of these
- None of these
If the operating system assigns very large quantum time, then it depicts the working as ___________ ,and if the operating system assigns very small quantum time, then ___________ will increase.
Consider that an Real Time operating system is using Round-Robin scheduling. Round-Robin scheduling uses a fixed quantum time for scheduling.
- SJF and overhead
- FCFS and average turn around time
- FCFS and CPU overhead
- FCFS and average response time
- None of these
Which of the following do not have kernel intervention?
- Shared memory
- Message passing model
- Both (1) and (2)
- All of these
- None of these
Which of the following is/are the properties of Windows NT?
- Security model is based on user accounts
- Uses NTFS file system
- Server operating system
- All of the above
- None of these
Which of the following is/are true with respect to the indirect communication mechanism between cooperating processes?
- Processes communicate via mailboxes or ports.
- More than one link is possible between a pair of communicating processes.
- If a mailbox is owned by a process, then that process can only receive messages through that mail box.
- All of these
- None of these
What is the shortest form of interprocess communication in UNIX?
Consider the following I/O scenario on a single-user PC: A mouse use with a graphical user interface
- Semaphore
- Pipe
- Signal
- All of these
- None of these
Which of the following scheduling mechanisms controls the degree of multiprogramming?
- Long-term scheduling
- Medium-term scheduling
- Short-term scheduling
- All of these
- None of these
A system has 4 processes sharing 5 resources. If each process needs a maximum of 3 units, then
- deadlock can never occur
- deadlock may occur
- deadlock has to occur
- None of the above
- None of these
Mutual Exclusion can be provided by ______.
- locks
- semaphores
- both (A) and (B)
- mutex
- none of these
Context switch occurs because of
- system calls
- exceptions
- interrupts
- all of these
- none of these
The context switch from process A to process B will be executed
- in context of A
- in context of B
- both A and B
- neither A nor B
- none of these
Among the following processes, which will enter the deadlock state?
Consider a system with three processes A, B, C and total resources are 15.
Process A has 4 tape drives but requires 14 tape drives.
Process B has 5 tape drives but reuqires 9 tape drives.
Process C has 3 tape drives but requires 7 tape drives.
- A, B
- A, B, C
- A, C
- None of these
- None
The major problems with semaphore involves
- race condition
- deadlock avoidance
- both 1 and 2
- all of these
- none of these
Which of the following signals cannot be ignored, blocked or specify a signal handler by user?
- SIGCHLD
- SIGSTOP
- SIGUSR1
- SIGUSR2
- None of these
When a process is running, which of the following will not be able to interrupt it?
Scheduling of process from Ready queue to Running is done by short term scheduler.
- Device
- Timer
- Scheduled process
- Power failure
- None of these