Quiz
OS Part 1 2
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)
1A minimum of _____ variable(s) is/are required to be shared between processes to solve the critical section problem?
- Atwo
- Bthree
- Cone
- Dfour
2This resource can be created and destroyed
- Aresumable resource
- Brestartable resource
- Cconsumable resource
- Dfinite resource
3Fixed-length block of data in secondary memory is called:
- Anone of the above
- Bframes
- Csegments
- Dpages
4A relationship between processes such that each has some part (critical section) which must not be executed while the critical section of another is being executing, is known as?
- AMultitasking
- BSemaphore
- CMutual exclusion
- Dmultiprogramming
5Every address generated by the CPU is divided into two parts:
- Aframe offset
- Bpage number
- Cframe bit
- Dpage offset
6Segmentation suffers from external fragmentation?
- ATrue
- BFalse
7For each process OS creates and manages:
- AProcess control block
- BProgram code
- CProgram
- DThread control block
8What is a trap/exception?
- Auser generated interrupt caused by an error
- Bfailure of the system
- Chardware generated interrupt caused by an error
- Dsoftware generated interrupt caused by an error
9What is the reusable resource:
- Anone of the above
- Bthat can be used by more than one process at a time
- Cthat can be used by one process at a time and is not depleted by that use
- Dthat can be shared between various threads
10Interprocess communication:
- Anone of the above
- Ballows the processes to only synchronize their actions without communication
- Callows processes to communicate and synchronize their actions when using the same address space
- Dallows processes to communicate and synchronize their actions without using the same address space
11Which of the following transitions is not possible?
- Ablocked to running
- Brunning to blocked
- Cblocked to ready
- Dready to running
12Any program, no matter how small, will occupy an entire partition results in:
- Ainternal fragmentation
- Bsegmentation
- Cpaging
- Dexternal fragmentation
13This matrix defines requirements of processes i for the resources j
- AAllocation matrix
- BResource matrix
- CRequest matrix
- DClaim matrix
14Several processes access and manipulate the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place, is called a(n) _____
- AEntry section
- Brace section
- Cshared memory segments
- Dprocess synchronization
15The context of a process in the PCB of a process DOES NOT contain:
- Acontext switch time
- Bthe process state
- Cmemory-management information
- Dthe value of the CPU registers
16External fragmentation will not occur when:
- Ano matter which algorithm is used, it will always occur
- Bfirst fit is used
- Cbest fit is used
- Dnext fit is used
17A deadlock avoidance algorithm dynamically examines the _____, to ensure that a circular wait condition can never exist
- Aresources
- Boperating system
- Cresource allocation state
- Dsystem storage state
18The process control block is:
- Aprocess type variable
- Bdata structure
- Cblock in memory
- Dsecondary storage section
19This illustrates the progress of two processes competing for two resources:
- Ajoint process diagram
- Bjoint ingres diagram
- Cjoint regress diagram
- Djoint progress diagram
20In a multiprogramming environment:
- Athe programs are developed by more than one person
- Bmore than one process resides in the memory
- Csingle user can execute many programs at the same time
- Dthe processor executes more than one process at a time
21When high priority task is indirectly preempted by medium priority task effectively inverting the relative priority of the two tasks, the scenario is called:
- Apriority exchange
- Bpriority inversion
- Cpriority removal
- Dpriority modification
22Main memory is broken into fixed-sized blocks called _____
- Anone of the above
- Bpages
- Cframes
- Dsegments
23The first fit, best fit and worst fit are strategies to select a
- Aprocess from a queue to put in memory
- Ball of the above
- Cfree hole from a set of available holes
- Dprocessor to run the next process
24The Banker’s algorithm is referred to as
- Adenial of service
- Bresource allocation denial
- Cloan allocation denial
- Dresource allocation refusal
25"No preemption" condition for a deadlock is defined as:
- AOnly one process may use a resource at a time
- BNo resource can be forcibly removed from process holding it
- CProcess holds a resource while awaiting for other resource
- DEach process holds resource needed by next process in chain
Information
- Description
- 2 Digital Technologies Quiz on OS Part 1 2, created by Bekinston Talgio on 03/07/2019.
- Author
- Bekinston Talgio
- Language
- English
- Views
- 0
- Tags
- Rating
- No ratings yet Rate this quiz
More on Processes, Threads and Communication