Quiz
OS Part 1 3
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)
1The code that changes the value of the semaphore is:
- Anon-critical section code
- Bremainder section code
- Cnone of the above
- Dcritical section code
2The two kinds of semaphores are: (Several answers)
- Amutex
- Bcounting
- Cbinary
- Ddecimal
3"Circular wait" condition for 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
4Banker’s algorithm for resource allocation deals with:
- Adeadlock prevention
- Bmutual exclusion
- Cdeadlock recovery
- Ddeadlock avoidance
5What is compaction?
- Aa paging technique
- Ba technique for overcoming fatal error
- Ca technique for overcoming internal fragmentation
- Da technique for overcoming external fragmentation
6Process is:
- Aa job in secondary memory
- Ba unit of activity characterized by execution of a sequence of instructions, a current state, and an associated set
- Ccontents of main memory
- Dprogram in high level language kept on disk
7A single thread of control allows the process to perform:
- Aboth
- Bonly one task at a time
- Cmultiple tasks at a time
- Dnone
8When the memory allocated to a process is slightly larger than a process, then:
- Aboth will occur
- Bexternal fragmentation occurs
- Cinternal fragmentation occurs
- Dnone of the above
9A problem encountered in multitasking when a process is perpetually denied necessary resources is called:
- Astarvation
- Bdeadlock
- Caging
- Dinversion
10The memory allocation scheme subject to "internal fragmentation" is:
- Asegmentation
- Bvirtual memory segmentation
- Cfixed partitioning
- Dpure demand paging
11Which one is deadlock avoidance algorithm?
- Adining philosophers problem
- Belevator algorithm
- Cbanker’s algorithm
- Dround-robin algorithm
12What is a method of memory allocation by which the program is subdivided into equal portions, or pages and core is subdivided into equal portions or blocks?
- Avirtual memory
- Bsegmentation
- Cpaging
- Dpartition
13Variable-length block of data that resides in secondary memory is called:
- Anone of the above
- Bframes
- Csegments
- Dpages
14The memory allocation scheme subject to "external fragmentation" is:
- Asegmentation
- Bswapping
- Cmultiple contiguous fixed partitioning
- Dpure demand paging
15Four necessary conditions for deadlock to exist are: mutual exclusion, no-preemption, circular wait and
- Arace condition
- Bdeadlock avoidance
- Chold and wait
- Dstarvation
16A binary semaphore is semaphore with integer values: (Several answers)
- A1
- B0
- C-1
- D0.5
17Program always deals with:
- Alogical address
- Bphysical address
- Crelative address
- Dabsolute address
18The systems which allows only one process execution at a time, are called
- Auniprogramming systems
- Bunitasking systems
- Cuniprocessing sysems
- Dunicasting systems
19Swapping:
- Aallows many programs to use memory simultaneously
- Ballows each program in turn to use the memory
- Cdoes not work with overlaying
- Dnone of the above
20When several processes access the same data concurrently and the outcome of the execution depends on the particular order in which the access take place, is called:
- Adynamic condition
- Brace condition
- Ccritical condition
- Dessential condition
21If a page table entry is present in the TLB, then it is known as a:
- Abuffer miss
- BTLB miss
- Cpage fault
- DTLB hit
22With paging there is no _____ fragmentation
- Aeither type of
- Bnone of the above
- Cexternal
- Dinternal
23The address of a page table in memory is pointed by:
- Apage table base register
- Bstack pointer
- Cpage register
- Dprogram counter
24What is a medium-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
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 3, created by Bekinston Talgio on 03/07/2019.
- Author
- Bekinston Talgio
- Language
- English
- Views
- 0
- History
- Created on 3 Jul 2019 · updated on 3 Jul 2019
- Tags
- Rating
- No ratings yet Rate this quiz
More on Processes, Threads and Communication