Quiz
OS | Quiz #2
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 (29)
1A program
- Ais a device where information is stored.
- Bis a device that performs a sequence of operations specified by instructions in memory.
- Cis a sequence of instructions
- Dis typcially characterized by interactive processing and time of the CPU's time to allow quick response to each user
2A task in blocked state:
- Ais running
- Bis executable
- Cis waiting for some temporarily unavailable resources
- Dmust still be placed in the run queues
3Identify which state the process will transit: An interrupt occurs from disk unit 1 — P2’s read is complete:
- ANew
- BExit
- CBlocked/Suspend
- DBlocked
- EReady/Suspend
- FReady
- GRunning
4The process is in the secondary memory and awaiting an event:
- ABlocked
- BReady
- CBlocked/Suspend
- DReady/Suspend
5In the Running state:
- Athe process is prepared to execute
- Bthe process has been released from the pool of executable processes
- CThe process has been created but has not yet been admitted to the pool of executable processes
- DThe process is currently being executed
- EThe process cannot execute until some event occurs
- FThe process is available for execution as soon as it is loaded in main memory
6The process is in main memory and available for execution
- AReady
- BBlocked/Suspend
- CBlocked
- DReady/Suspend
7The OS uses this table to know the location in main memory being used as the source of destination of the input/output transfer:
- APrimary process table
- BMemory tables
- CI/O tables
- DFile table
8Identify which state the process will transit: P4 terminates:
- ARunning
- BNew
- CBlocked/Suspend
- DReady/Suspend
- EReady
- FBlocked
- GExit
9Identify which state the process will transit: P1 time slice expires
- AReady/Suspend
- BReady
- CNew
- DBlocked/Suspend
- EBlocked
- FExit
- GRunning
10In which of these states the process is in secondary memory (choose all that apply)
- Aready
- Brunning
- Cblocked
- Dready/suspend
- Eblocked/suspend
11Identify which state the process will transit: P1 executes a command to read from disk unit 3:
- ARunning
- BExit
- CNew
- DReady/Suspend
- EBlocked
- FBlocked/Suspend
- GReady
12Which of the following is not a state of a process?
- ANew
- BReady
- CTerminated
- DWaiting
- ERunning
- FOld
13Suppose that the process is in “Blocked” state waiting for some I/O device. When the service is completed, it goes to the
- ATerminated state
- BReady state
- CSuspended state
- DRunning state
14With the use of swapping one other state must be added to the 5-state model:
- ASuspend state
- BResume state
- CBlocked state
- DPause state
15We can characterize the behavior of an individual process by listing the sequence of instructions that execute for that process. Such a listing is referred to as:
- Astate
- Blisting
- Cfetch
- Dtrace
16The state of a process is defined by:
- AThe activity to next be executed by the process
- BThe current activity of the process
- CThe activity just executed by the process
- DThe final activity of the products
17In the Blocked state:
- AThe process cannot execute until some event occurs
- BThe process is available for execution as soons as it is loaded into main memory
- CThe process has been created but has not yet been admitted to the pool of executable processes
- DThe process has been released from the pool of executable processes
- EThe process is currently being executed
- FThe process is prepared to execute
18In the Ready/Suspend state:
- Athe process is available for execution as soon as it is loaded into memory
- Bthe process is currently being executed
- Cthe process cannot execute until some event occurs
- Dthe process has been created but has not yet been admitted to the pool of executable processes
- Ethe process has been released from the pool of executable processes
- Fthe process is prepared to execute
19In the Exit state:
- Athe process cannot execute until some event occurs
- Bthe process is currently being executed
- Cthe process is available for execution as soon as it is loaded into memory
- Dthe process is prepared to execute
- Ethe process has been released from the pool of executable processes
- Fthe process has been created but has not yet admitted to the pool of executable processes
20Identify which state the process will transit: P3 swapped out
- AReady
- BNew
- CRunning
- DBlocked/Suspend
- EBlocked
- FReady/Suspend
21Identify which state the process will transit: P2 is chosen by dispatcher
- AExit
- BBlocked/Suspend
- CRunning
- DReady
- EBlocked
- FNew
- GReady/Suspend
22The data neede by the OS to control a process is contained in the:
- Ahandler routine
- Bprocessor state information
- Cprogram status word
- Dprocess control block
23In which of these states the process is in main memory:
- ARunning
- BBlocked
- CReady
- DReady/Suspend
- EBlocked/Suspend
24Which of the following state transitions is not possible?
- Ablocked to ready
- Bblocked to running
- Crunning to blocked
- Dready to running
25A reason for swapping:
- Aprocessor is so much faster than I/O, it will be common for all processes in memory to be waiting for I/O
- Bprocessor is so much slower than I/O will be common for all processes in memory to be waiting for processor
26Process Control Block is:
- Adata structure
- Bprocess type variable
- Ca block in memory
- Da secondary storage section
27These tables are used to keep track of both main and secondary memory:
- AMemory tables
- BI/O tables
- CPrimary process table
- DFile table
28A memory
- Ais a sequence of instructions
- Bis a device where information is stored
- Cis a device that performs a sequence of operations specified by instructions in memory.
- Dis typically characterized by interactive processing and time of the CPU's time to allow quick response to each user
29A processor
- Ais typically characterized by interactive processing and time of the CPU's time to allow quick response to each user
- Bis a device that performs a sequence of operations specified by instructions in memory
- Cis a device where information is stored.
- Dis a sequence of instructions
Informações
- Descrição
- Suicidal Operating Systems [Teachers: Teshebayeva Karagoz, Mishina Aigerim ; Final Exam + STATE EXAM] ▼ Quiz sobre OS | Quiz #2, criado por Good Guy Beket em 28-03-2019.
- Autor
- Good Guy Beket
- Idioma
- English
- Visualizações
- 1.024
- Etiquetas
- Avaliação
- Ainda sem avaliações Avalie este quiz