If a process is executing in its critical section, then no other processes can be executing in their critical section. What is this condition called?
1.mutual exclusion
2.critical exclusion
3. synchronous exclusion
4.asynchronous exclusion
Posted Date:-2022-03-22 15:24:28
If all processes I/O bound, the ready queue will almost always be ______ and the Short term Scheduler will have a ______ to do.
1.full, little
2.full, lot
3.empty, little
4.empty, lot
Posted Date:-2022-03-22 15:17:45
In a multiprogramming environment _______
1. the processor executes more than one process at a time
2.the programs are developed by more than one person
3. more than one process resides in the memory
4.a single user can execute many programs at the same time
Posted Date:-2022-03-22 15:20:27
Mutual exclusion can be provided by the _____
1.mutex locks
2.binary semaphores
3.both mutex locks and binary semaphores
4.None of the mentioned
Posted Date:-2022-03-22 15:26:19
Process synchronization can be done on _____
1. hardware level
2.software level
3.both hardware and software level
4.None of the mentioned
Posted Date:-2022-03-22 15:27:29
The entry of all the PCBs of the current processes is in ________
1.Process Register
2.Program Counter
3. Process Table
4.Process Unit
Posted Date:-2022-03-22 15:12:41
The state of a process is defined by ____
1. the final activity of the process
2.the activity just executed by the process
3. the activity to next be executed by the process
4. the current activity of the process
Posted Date:-2022-03-22 15:11:24
What is a long-term scheduler?
1.It selects processes which have to be brought into the ready queue
2. It selects processes which have to be executed next and allocates CPU
3.It selects processes which heave to remove from memory by swapping
4. none of the mentioned
Posted Date:-2022-03-22 15:17:24
What is the ready state of a process?
1.when process is scheduled to run after some execution
2.when process is unable to run until some task has been completed
3.when process is using the CPU
4.none of the mentioned
Posted Date:-2022-03-22 15:06:58
When high priority task is indirectly preempted by medium priority task effectively inverting the relative priority of the two tasks, the scenario is called __________
1. priority inversion
2.priority removal
3.priority exchange
4.priority modification
Posted Date:-2022-03-22 15:27:06
When the process issues an I/O request __________
1.It is placed in an I/O queue
2.It is placed in a waiting queue
3. It is placed in the ready queue
4.It is placed in the Job queue
Posted Date:-2022-03-22 15:16:31
Which of the following is not the state of a process?
1.New
2.Old
3. Waiting
4. Running
Posted Date:-2022-03-22 15:11:51
Which one of the following is a synchronization tool?
1.thread
2.pipe
3.semaphore
4.socket
Posted Date:-2022-03-22 15:25:04
A monitor is a module that encapsulates ________
1.shared data structures
2.procedures that operate on shared data structure
3.synchronization between concurrent procedure invocation
4.All of the Mentioned
Posted Date:-2022-03-22 15:27:51
A parent process calling _____ system call will be suspended until children processes terminate.
1.wait
2.fork
3.exit
4.exec
Posted Date:-2022-03-22 15:29:25
A process can be terminated due to ____
1.normal exit
2.fatal error
3.killed by another process
4.All of the Mentioned
Posted Date:-2022-03-22 15:06:32
A Process Control Block(PCB) does not contain which of the following?
1.Code
2. Stack
3.Bootstrap program
4.Data
Posted Date:-2022-03-22 15:10:33
A process stack does not contain ______
1.Function parameters
2.Local variables
3.Return addresses
4.PID of child process
Posted Date:-2022-03-22 15:08:41
A semaphore is a shared integer variable _______
1.that can not drop below zero
2.that can not be more than zero
3.that can not drop below one
4.that can not be more than one
Posted Date:-2022-03-22 15:25:34
A set of processes is deadlock if _______
1. each process is blocked and will remain so forever
2.each process is terminated
3.all processes are trying to kill each other
4.None of the mentioned
Posted Date:-2022-03-22 15:08:12
A single thread of control allows the process to perform ______
1.only one task at a time
2.multiple tasks at a time
3.only two tasks at a time
4.All of the Mentioned
Posted Date:-2022-03-22 15:15:03
In a time-sharing operating system, when the time slot given to a process is completed, the process goes from the running state to the ________
1.Blocked state
2. Ready state
3.Suspended state
4.Terminated state
Posted Date:-2022-03-22 15:20:02
In operating system, each process has its own ______
1.address space and global variables
2.open files
3.pending alarms, signals and signal handlers
4.All of the Mentioned
Posted Date:-2022-03-22 14:51:47
Restricting the child process to a subset of the parent’s resources prevents any process from _______
1.overloading the system by using a lot of secondary storage
2.under-loading the system by very less CPU utilization
3.overloading the system by creating a lot of sub-processes
4. crashing the system by utilizing multiple resources
Posted Date:-2022-03-22 15:29:01
Suppose that a process is in “Blocked†state waiting for some I/O service. When the service is completed, it goes to the _______
1.Running state
2.Ready state
3. Suspended state
4.Terminated state
Posted Date:-2022-03-22 15:20:52
The address of the next instruction to be executed by the current process is provided by the _______
1.CPU registers
2.Program counter
3.Process stack
4.Pipe
Posted Date:-2022-03-22 15:09:53
The context of a process in the PCB of a process does not contain _____
1.the value of the CPU registers
2.the process state
3.memory-management information
4.context switch time
Posted Date:-2022-03-22 15:21:17
The number of processes completed per unit time is known as ______
1.Output
2.Throughput
3. Efficiency
4. Capacity
Posted Date:-2022-03-22 15:10:55
The only state transition that is initiated by the user process itself is _____
1.block
2.wakeup
3.dispatch
4. none of the mentioned
Posted Date:-2022-03-22 15:19:40
The OS X has _____
1.monolithic kernel
2.hybrid kernel
3.microkernel
4. monolithic kernel with modules
Posted Date:-2022-03-22 14:50:35
The primary distinction between the short term scheduler and the long term scheduler is _____
1.The length of their queues
2.The type of processes they schedule
3. The frequency of their execution
4.None of the mentioned
Posted Date:-2022-03-22 15:19:19
The systems which allow only one process execution at a time, are called ______
1. uniprogramming systems
2.uniprocessing systems
3.unitasking systems
4.None of the mentioned
Posted Date:-2022-03-22 14:51:20
To access the services of operating system, the interface is provided by the _____
1.System calls
2.API
3. Library
4.Assembly instructions
Posted Date:-2022-03-22 12:50:33
To enable a process to wait within the monitor _____
1.a condition variable must be declared as condition
2.condition variables must be used as boolean objects
3.semaphore must be used
4.All of the Mentioned
Posted Date:-2022-03-22 15:28:14
What is a medium-term scheduler?
1.It selects which process has to be brought into the ready queue
2.It selects which process has to be executed next and allocates CPU
3. It selects which process to remove from memory by swapping
4. None of the mentioned
Posted Date:-2022-03-22 15:18:16
What is a Process Control Block?
1. Process type variable
2.Data Structure
3.A secondary storage section
4.A Block in memory
Posted Date:-2022-03-22 15:12:14
What is a short-term scheduler?
1.It selects which process has to be brought into the ready queue
2.It selects which process has to be executed next and allocates CPU
3.It selects which process to remove from memory by swapping
4.None of the mentioned
Posted Date:-2022-03-22 15:18:56
What is interprocess communication?
1.communication within the process
2.communication between two process
3.communication between two threads of same process
4.none of the mentioned
Posted Date:-2022-03-22 15:07:46
What is the degree of multiprogramming?
1.the number of processes executed per unit time
2.the number of processes in the ready queue
3.the number of processes in the I/O queue
4.the number of processes in memory
Posted Date:-2022-03-22 15:13:09
What is the objective of multiprogramming?
1. Have a process running at all time
2.Have multiple programs waiting in a queue ready to run
3.To increase CPU utilization
4.None of the mentioned
Posted Date:-2022-03-22 15:15:26
What will happen when a process terminates?
1.It is removed from all queues
2.It is removed from all, but the job queue
3.Its process control block is de-allocated
4. Its process control block is never de-allocated
Posted Date:-2022-03-22 15:16:54
When several processes access the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place is called ________
1. dynamic condition
2.race condition
3.essential condition
4.critical condition
Posted Date:-2022-03-22 15:24:00
Which facility dynamically adds probes to a running system, both in user processes and in the kernel?
1.DTrace
2.DLocate
3.DMap
4.DAdd
Posted Date:-2022-03-22 14:50:02
Which of the following do not belong to queues for processes?
1.Job Queue
2.PCB queue
3.Device Queue
4.Ready Queue
Posted Date:-2022-03-22 15:16:06
Which of the following does not interrupt a running process?
1.A device
2.Timer
3. Scheduler process
4.Power failure
Posted Date:-2022-03-22 15:22:50
Which of the following need not necessarily be saved on a context switch between processes?
1.General purpose registers
2.Translation lookaside buffer
3. Program counter
4.All of the Mentioned
Posted Date:-2022-03-22 15:22:30
Which one of the following error will be handle by the operating system?
1.power failure
2.lack of paper in printer
3.connection failure in the network
4.All of the Mentioned
Posted Date:-2022-03-22 12:55:55
Which one of the following is not true?
1.kernel is the program that constitutes the central core of the operating system
2. kernel is the first part of operating system to load into memory during booting
3.kernel is made of various modules which can not be loaded in running operating system
4. kernel remains in the memory during the entire computer session
Posted Date:-2022-03-22 12:51:17
Which process can be affected by other processes executing in the system?
1. cooperating process
2.child process
3.parent process
4.init process
Posted Date:-2022-03-22 15:23:37
Which system call can be used by a parent process to determine the termination of child process?
1.wait
2.exit
3.fork
4.get
Posted Date:-2022-03-22 15:09:25