Quiz
OS Part 1 5
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (25)
1In the non-blocking send, non-blocking receive:
- Athe sending process keeps sending until it receives a message
- Bneither of processes are required to wait
- Cthe sending process keeps sending until the message is received
- Dthe sending process sends the message and resumes operation
2A process can be terminated due to:
- Afatal error
- Bnormal exit
- Call of the mentioned
- Dkilled by another process
3What is a short-term scheduler?
- Ait selects which process has to be executed next and allocates CPU
- Bnone of the above
- Cit selects which process has to be brought into the ready queue
- Dit selects which process has to remove from memory by swapping
4In contiguous memory allocation:
- Aeach process is contained in a single contiguous section of memory
- Bnone of the above
- Cthe memory space is contiguous
- Dall processes is contained in a single contiguous section of memory
5External fragmentation exists when:
- Anone of the above
- Bthe total memory is insufficient to satisfy a request
- Cenough total memory exists to satisfy a request but it is not contiguous
- Da request cannot be satisfied even when the total memory is free
6CPU fetches the instruction from memory according to the value of?
- Astatus register
- Bprogram counter
- Cinstruction register
- Dprogram status word
7A sequence of instructions, in a computer language, to get the desired result, is known as:
- Aalgorithm
- Binstruction
- Cprocess
- Dprogram
8Semaphores:
- Aare used for memory management
- Bsynchronize critical resources to prevent deadlock
- Care used to do I/O
- Dsynchronize critical resources to prevent contention
9This matrix defines the current allocation to process i of the resource j
- AAllocation matrix
- BResource matrix
- CRequest matrix
- DClaim matrix
10The operating system maintains a _____ table that keeps track of how many frames have been allocated, how many are there, and how many are available
- Amemory
- Bpage
- Cframe
- Dsegment
11For non-sharable resources like a printer, mutual exclusion:
- Amust exist
- Bnone of the above
- Cmust not exist
- Dmay exist
12If a process is executing in its critical section, then no other processes can be executing in their critical section. This condition is called
- Acritical exclusion
- Basynchronous exclusion
- Cmutual exclusion
- Dsynchronous exclusion
13Interprocess communication:
- Aallows process to synchronize activity
- Bis never necessary
- Cis usually done via disk drives
- Dis required for all processes
14The available vector defines:
- Atotal amount of resources required for all processes
- Btotal amount of each resource in the system
- Ctotal amount of each resource allocated to all processes
- Dtotal amount of each resource NOT allocated to any process
15A task in a blocked state
- Ais running
- Bis executable
- Cmust still be placed in the run queues
- Dis waiting for same temporarily unavailable resources
16The systems which allows only one process execution at a time, are called:
- Aunitasking systems
- Buniprocessing systems
- Cuniprogramming systems
- Dnone of the above
17What is NOT an example of reusable resource
- Asemaphores
- Bprocessors
- Cinterrupt
- Di/o channels
18An un-interruptible unit is known as:
- Asingle
- Bnone of the above
- Cstatic
- Datomic
19How to solve a problem of "external" fragmentation?
- Aunequal-size partitions
- Bsegmentation
- Ccompaction
- Dvirtual memory segmentation
20Runtime mapping from virtual to physical address is done by?
- ACPU
- Bnone of the above
- Cmemory management unit
- DPCI
21A solution to the problem of external fragmentation is:
- Acompaction
- Blarger memory size
- Cunequal size parts
- Dsmaller memory space
22in the non-blocking send, non-blocking receive:
- ANeither of processes are required to wait
- BThe sending process keeps sending until it receives a message
- CThe sending process keeps sending until the message is received
- DThe sending process sends the message and resumes operation
23In segmentation, each address is specified by:
- AA segment number and an offset
- BA page number and an offset
- CA frame number and an offset
- DA segment number and a key
24Virtual memory takes advantage of:
- ALarge secondary memory
- BModular programming
- CFast CPU
- DScheduling
25Which of the replacement algorithms selects for the next reference is the longest?
- AOptimal
- BLRU
- CClock
Information
- Description
- 2 Digital Technologies Quiz on OS Part 1 5, created by Bekinston Talgio on 03/07/2019.
- Author
- Bekinston Talgio
- Language
- English
- Views
- 2
- Tags
- Rating
- No ratings yet Rate this quiz
More on Processes, Threads and Communication