Quiz
OS_test_for_screens
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 (21)
1The segment of code in which the process may change common variables, update tables, write into files is known as?
- Acritical section
- Bmutual exclusion
- Cnon-critical section
- Dprogram
2A problem encountered in multitasking when a process is perpetually denied necessary resources is called:
- Astarvation
- Binversion
- Caging
- Ddeadlock
3What is the reusable resource:
- Athat can be used by one process at a time and is not depleted by that use
- Bthat can be used by more than one process at a time
- Cnone of the above
- Dthat can be shared between various threads
4A minimum_______ variables is/are required to be shared between processes to solve the critical section problem?
- Athree
- Btwo
- Cone
- Dfour
5For non-sharable resources like a printer, mutual exclusion:
- Amust exist
- Bnone of the above
- Cmay exist
- Dmust not exist
6Part of a program where the shared memory is accessed and which should be executed invisibly, is called:
- Acritical section
- Bsemaphores
- Cdirectory
- Dmutual exclusion
7Memory partitioning algorithm that uses binary tree as a data structure is called: (не точно, примеры есть только с ним, если не правильно поменяйте)
- AFirst-fit algorithm
- BBuddy system
- CNext-fit algorithm
- DBest-fit algorithm
8Current allocation of resources to processes where there is no sequence that does not result in deadlock is called: (не точно)
- AAlternative state
- BUnsafe state
- CAmbiguous state
- DSafe state
9The context of a process in the PCB of a process DOESN’T contain:
- Amemory- management information
- Bthe value of the CPU registers
- Cthe process state
- Dcontext switch time
10The link between two processes P and Q to send and receive messages is called:
- Acommunication link
- Bmessage-passing link
- Csynchronization link
- Dall of the above
11 When free memory is split into many unconnected pieces we call it: (не точно)
- Acompaction
- Bexternal fragmentation
- Cmemory distribution
- Dinternal fragmentation
12To avoid the race condition, the number of processes that may be simultaneously inside their critical section is:
- A0
- B1
- C10
- D2
13What thread approach does Java runtime environment use?
- AMultiple processes, multiple threads per process
- BOne process, one thread
- COne process, multiple threads
- Dmultiple processes, single thread per process
14The primary distinction between the short-term scheduler and the long-term scheduler is:
- AThe frequency of their execution
- BNone of the above
- CThe length of their queues
- DThe type of processes they schedule
15Paging:
- Aallows multiple programs to reside in separate areas of core at the time
- Bconsists of those addresses that may be generated by a processor execution of a computation
- Cis a method of allocating process time
- Dis 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
16Which of the replacement algorithms selects for replacement that page for which the time to the next reference is the longest?
- Aoptimal
- BClock
- CLRU
- DFIFO
17Which of the replacement algorithms treats the page frames allocated to a process as a circular buffer?
- Aoptimal
- BClock
- CLRU
- DFIFO
18Virtual memory takes advantage of: (не точно)
- AFast CPU
- BLarge secondary memory
- CScheduling
- DModular programming
19 The size of virtual storage is limited by…
- Athe number of processors in a system
- Bthe actual number of main storage locations
- Cthe addressing scheme of the computer system and by the amount of secondary memory
- Dthe amount of main memory and secondary memory
20What is trashing?
- AGuessing, based on recent history, which pieces are least likely to be used in the near future
- BAssumption that only a few pieces of a process will be needed over a short period of time
- CCondition when the system spends most of its time swapping pieces rather than executing instructions
- DSaving time by swapping unused pieces of process out of the memory
21What is the real address?
- Aphysical address in cache memory
- Bvirtual address in main memory
- Cvirtual address in secondary memory
- Dphysical address in main memory
Informações
- Descrição
- Operating Systems (OS) Quiz sobre OS_test_for_screens, criado por Csse 1502 em 18-12-2017.
- Autor
- Csse 1502
- Idioma
- English
- Visualizações
- 68
- Etiquetas
- Avaliação
- Ainda sem avaliações Avalie este quiz