Quiz
OS Part 2 1
Erstelle ein kostenloses Konto, um dieses Quiz zu beenden
Speichere deinen Fortschritt und sieh dir dein Endergebnis an.
oder mit deiner E-Mail registrieren
Schon ein Konto? Anmelden
Fragen in diesem Quiz (25)
1Which one of the following is the address generated by CPU?
- Alogical address
- Bphysical address
- Cabsolute address
- Dnone of the above
2What is the ready state of a process?
- Awhen process is scheduled to run after some execution
- Bnone of the above
- Cwhen process is using CPU
- Dwhen process is unable to run until some task has been completed
3Mutual exclusion can be provided by the:
- Anone of the above maint
- Bmutex locks
- Cboth
- Dbinary semaphores
4What is a long-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
5Operating system maintains the page table for
- Aeach process
- Beach thread
- Ceach instruction
- Deach address
6If a page number is not found in the TLB, then it is known as a:
- ATLB miss
- Bbuffer miss
- CTLB hit
- Dpage fault
7Part of a program where the shared memory is accessed and which should be executed invisibly, is called:
- Asemaphores
- Bmutual exclusion
- Ccritical section
- Ddirectory
8In memory systems, boundary registers?
- Atrack the beginning and ending of programs
- Btrack page boundaries
- Care only necessary with fixed partitions
- Dare used for temporary program variable storage
9The resource 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
10When each process in the set is blocked awaiting for resource seized by another blocked process
- Ait is a deadend
- Bit is a deadlock
- Cit is a softlock
- Dit is a mortallock
11The number of resources requested be a process:
- Amust exceed the total number of resources available in the system
- Bmust always be equal to the total number of resources available in the system
- Cmust not exceed the total number of resources available in the system
- Dmust always be less than the total number of resources available in the system
12What is interprocess communication?
- Acommunication between two process
- Bcommunication between two threads of same process
- Cnone of the above
- Dcommunication within the process
13The degree of multi-programming is:
- Athe number of processes executed per unit time
- Bthe number of processes in the I/O queue
- Cthe number of processes in the ready queue
- Dthe number of processes in memory
14This matrix defines the amount of resources of type j requested by process i
- AAllocation matrix
- BResource matrix
- CRequest matrix
- DClaim matrix
15To avoid the race condition, the number of processes that may be simultaneously inside their critical section is:
- A10
- B0
- C1
- D2
16Which process can be affected by other processes executing in the system?
- Ainit process
- Bcooperating process
- Cchild process
- Dparent process
17Which of the following registers are used by the processor to exchange data with memory?
- AMAR and MBR
- BPC and IR
- CProgram status word
- DI/OAR and I/OBR
18Which of the following registers are used by the processor to exchange data with input/output module?
- AMAR and MBR
- BPC and IR
- CProgram status word
- DI/OAR and I/OBR
19The main disadvantage of this technique: consumes a lot of processor time, because every word
- ADirect memory access (DMA)
- BManual memory access
- CInterrupt-driven I/O
- DProgrammed I/O
20The processor issues an I/O command to a module and then go on to some other useful work. The I/O module performs the requested action and alerts the processor to request service when it is ready to exchange data with the processor. The described technique is:
- ADirect memory access (DMA)
- BManual memory access
- CInterrupt-driven I/O
- DProgrammed I/O
21Which of the following is not a technique possible for I/O operations?
- ADirect memory access (DMA)
- BManual memory access
- CInterrupt-driven I/O
- DProgrammed I/O
22If a page table entry is not in main memory, then it is known as a:
- Apage fault
- Bbuffer miss
- CTLB hit
- DTLB miss
23We have
Ts = average (system) access time
T1 = access time of M1 (cache)
T2 = access time of M2 (main memory)
T3 = access time of M3 (disk)
H1 = hit ratio, fraction of time reference is found i M1
H2 = hit ratio, fraction of time reference is found i M2
The average time to access an item, in case the item in disk is:- ATs = H1*T1 + H2*T2 + (1-H2)*T3
- BTs = H1*T1 + (1-H1)*(H1*T1 + H2*(T1 + T2) + (1 - H2)*(T2 + T3))
- CTs = H1*T1 + (1-H1)*H2*(T2 + T3)
- DTs = H1*T1 + (1-H1)*(H2*(T1 + T2) + (1 - H2)*(T1 + T2 + T3))
24This chooses which block to replace when a new block is to be loaded into the cache and the cache already had all slots filled with other blocks:
- Areplacement algorithm
- Bwrite policy
- Ccache size
- Dlocality of reference
25In operating system security and protection, Data integrity is:
- AConcerned with the proper verification of the identity of users and the validity of messages or data
- BAssuring that users cannot read data for which access is unauthorized
- CProtection of data from unauthorized modification
- DConcerned with protecting the system against interruption
Informationen
- Beschreibung
- 2 Digital Technologies Quiz am OS Part 2 1, erstellt von Bekinston Talgio am 03/07/2019.
- Autor
- Bekinston Talgio
- Sprache
- English
- Aufrufe
- 0
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz
Mehr zu Processes, Threads and Communication