Quiz
OS Part 1 1
Crie uma conta grátis para terminar este quiz
Salve seu progresso e veja sua nota final.
Já tem uma conta? Inicie sessão
Perguntas do quiz (25)
1A state is safe, if:
- Athe system can allocate resources to each process in some order and still avoid deadlock
- Bthe system does not crash due to deadlock occurrence
- Cthe state keeps the system protected and safe
- Dall of the above
2In fixed sized partition, the degree of multiprogramming is bounded by ____
- Athe memory size
- Ball of the above
- Cthe number of partitions
- Dthe CPU utilization
3_____ is generally faster than _____
- Aworst fit, best fit
- Bbest fit, first fit
- Cfirst fit, best fit
- Dnone of the above
4The two atomic operations permissible on semaphores are: (several answer)
- Await
- Bsignal
- Chold
- Dstop
5Program:
- Ais the device where information stored
- Bis a sequence of the instructions
- Cis a device that performs a sequence of operations specified by instructions in memory
- Dis typically characterized by interactive processing and time-slicing of the CPU’s time to allow quick response to each user
6"Mutual exclusion" 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
7"Hold and wait" 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
8A monitor is a type of:
- Anone of the above
- Bhigh level synchronization construct
- Clow level synchronization construct
- Dsemaphore
9What is NOT the example of consumable resources?
- AInformation in I\O buffers
- BSignals
- CMain memory
- DMessages
10Which one is a synchronization tool?
- Asocket
- Bthread
- Cpipe
- Dsemaphore
11A Process Control Block (PCB) does not contain which of the following?
- Astack
- Bdata
- Cprocess state
- Dbootstrap program
12With _____ only one process can execute at a time; meanwhile all other process are waiting for the processor. With _____ more than one process can be running simultaneously each on a different processor.
- AMultiprocessing, multiprogramming
- BUniprogramming, Multiprocessing
- CMultiprogramming, Uniprocessing
- DMultiprogramming, Multiprocessing
13Memory:
- Ais the device where information stored
- Bis a sequence of the instructions
- Cis a device that performs a sequence of operations specified by instructions in memory
- Dis typically characterized by interactive processing and time-slicing of the CPU’s time to allow quick response to each user
14This resource can be safely used by only one process at a time and is not depleted by that use:
- Arefurbished resource
- Breplenishing resource
- Creusable resource
- Drefreshing resource
15Which of the following condition is required for the deadlock to be possible?
- Amutual exclusion
- Ball of the above
- Cno resource can be forcibly removed from a process holding it
- Da process may hold allocated resources while awaiting assignment of other resources
16The _____ is used as an index into the page table
- Apage number
- Bpage offset
- Cframe bit
- Dframe offset
17A page fault:
- Aoccurs when a program accesses a page of memory
- Bis a reference to a page belonging to another program
- Cis an access to a page not currently in memory
- Dis an error is a specific page
18A state of a process is defined by:
- Athe activity is just executed by the process
- Bthe final activity of the process
- Cthe activity to next be executed by the process
- Dthe current activity of the process
19Suppose that a process is in “Blocked” state waiting for some I\O service. When a service is completed, it goes to the:
- AReady state
- BRunning state
- CTerminated state
- DSuspended state
20The link between two processes P and Q to send and receive a message is called:
- Amessage-passing link
- Ball of the above
- Ccommunication link
- Dsynchronization link
21Message passing system allows processes to:
- Ashare data
- Bcommunicate with one another without resorting to shared data
- Cname the recipient or sender of the message
- Dcommunicate with one another by resorting shared data
22Which of the following statements is false?
- AI\O transfers are more efficient with large pages
- Ba large page size causes instructions and data that will not be referenced brought into primary storage
- Ca small page size causes large page tables
- Dinternal fragmentation is increased with small pages
23Remote Procedure Calls (RPC) are used:
- Anone of the above
- Bfor communication between two processes on separate systems
- Cfor communication between two processes on the same systems
- Dfor communication between two processes remotely different from each other on the same system
24Variable-length block of data that resides in secondary memory is called:
- Anone of the above
- Bframes
- Csegments
- Dpages
25In indirect communication between processes P and Q:
- Athere is a mailbox to help communication between P and Q
- Bnone of the above
- Cthere is another machine between the two processes to help communication
- Dthere is another process R to handle and pass on the messages between P and Q
Informações
- Descrição
- Quiz sobre OS Part 1 1, criado por Bekinston Talgio em 03-07-2019.
- Autor
- Bekinston Talgio
- Idioma
- English
- Visualizações
- 3
- Histórico
- Criado em 3 jul 2019 · atualizado em 3 jul 2019
- Etiquetas
- Avaliação
- Ainda sem avaliações Avalie este quiz