MCQ Bank
Semaphore S is a/an _________ type of variable to use as synchronization tool.
- A) Boolean
- B) Integer
- C) Float
- D) Double
In producer-Consumer problem synchronization is required. On which shared area this synchronization actually affect?
- A) Buffer
- B) Exit section
- C) Counter
- D) Entry section
In_____________, the library files are linked at load time.
- A) Static Linking
- B) Dynamic Linking
- C)
- D)
Possible side effects of __________deadlocks are low device utilization and reduced system throughput.
- A) Ignoring
- B) Avoiding
- C) Preventing
- D) Recovering
Every --------------generated by the CPU is divided into two parts: a page number
(p) and a page offset (d).
- A) Process address space
- B) Logical address
- C) Physical address
- D) Page
Deadlock can be deal with ______________ways.
- A) 2
- B) 3
- C) 6
- D) 4
Critical section problem is to __________the concurrent execution of cooperating process.
- A) stop
- B) start
- C) serialize
- D) update
Preventing the condition of _____________ to happen, deadlocks can be prevented to happen.
- A) Circular wait
- B) Critical region
- C) Monitors
- D) Critical section
The set of all physical addresses corresponding to the logical addresses is a ----------------- of the process
- A) None of the given options
- B) Logical address space
- C) Process address space
- D) Physical address space
Keep in mind scheduling algorithm, when you go to any famous fast food franchise .On entering the store, each customer receives a number. The customer with the lowest number is served next. This algorithm is called-------------.
- A) Bakery algorithm
- B) Deadlock algorithm
- C) Simple algorithm
- D) Dijkastra algorithm
In producer-Consumer problem synchronization is required. On which shared area this synchronization actually affect?
- A) Buffer
- B) Exit section
- C) Counter
- D) Entry section
The integer value of ______________ semaphores can range over an unrestricted integer domain.
- A) Counting
- B) Mutex
- C) Bounded buffer
- D) Binary
The ------- is a single program that produces an object file
- A) Text editor
- B) Linker
- C) Loader
- D) Compiler
We can perform the solution to critical section problem by allowing only one process to enter at a time but another solution hold some instruction use.one of them is TSL, how it is written in program?
- A) Testandset (Boolean &target)
- B) TSL ()
- C) TSL (Boolean, &target)
- D) TestAndSet(Boolean &target)
Secondary Storage memory devices have _____________ memory.
- A) None of the options is correct
- B) Temporary
- C) Volatile
- D) Permanent and non volatile
The -----------scheme is not applicable to a resource allocation system with multiple instances of each resource type.
- A) Resource allocation graph
- B) None of the given options
- C) Wait for graph
- D) Both Resource-allocation and wait-for graph
Overlays are implemented by the _________________
- A) Shell
- B) Kernel
- C) Programmer
- D) Operating system
The size of pages and frames are same in logical memory and physical memory respectively.
- A) True
- B) False
- C)
- D)
Banker’s algorithm is used for ________________
- A) Deadlock avoidance
- B) Deadlock removal
- C) Deadlock prevention
- D) Deadlock detection
Address Binding will be at _______ in Multiprogramming with Fixed Tasks (MFT)
- A) Run time
- B) Load time
- C) None of the given options
- D) Dynamic time