Quiz
ostest
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 (30)
1In the blocking send, blocking receive
- Aboth sender and receiver are blocked until message is delivered
- Bnone of the above
- Cthe sending process sends the message and resumes operation
- Dthe sending process sends the message while receiver is blocked
2The table _____ contains the base address of each page in physical memory
- Aprocess
- Bmemory
- Cpage
- Dframe
3A state is safe, if:
- Athe system can allocate resources to each process in some order and still avoid
deadlock - B● the system does not crash due to deadlock occurrence
- C● the state keeps the system protected and safe
- D● all of the above
- Athe system can allocate resources to each process in some order and still avoid
4In fixed sized partition, the degree of multiprogramming is bounded by ____
- Athe memory size
- B● all of the above
- C● the number of partitions
- D● the CPU utilization
5. _____ is generally faster than_____
- A● worst fit, best fit
- B● best fit, first fit
- Cfirst fit, best fit
- Dnone of the above
6The two atomic operations permissible on semaphores are: (several answer)
- Await
- Bsignal
- Chold
- Dstop
7.This 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
8Which 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
9The ________ is used as an index into the page table
- Apage number
- Bpage offset
- Cframe bit
- Dframe offset
10Suppose 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
11A problem encountered in multitasking when a process is perpetually denied
necessary resources is called:- Astarvation
- Bdeadlock
- Caging
- Dinversion
12The memory allocation scheme subject to “internal fragmentation” is:
- Asegmentation
- Bvirtual memory segmentation
- Cfixed partitioning
- Dpure demand paging
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 partitionings
- Dpure demand paging
15When 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
16With paging there is no _____ fragmentation
- Aeither type of
- Bnone of the above
- Cexternal
- Dinternal
17Mutual exclusion means that:
- Aif a process is executing in its critical section, then other processes must be
executing in their critical section - Bif a process is executing in its critical section, then all the resources of the system
must be blocked until it finishes exclusion - Cif a process is executing in its critical section, then no other process must be
executing in their critical sections - Dnone of the above
- Aif a process is executing in its critical section, then other processes must be
18The segment of code in which the process may change common variables, update
tables, write into files known as:- Acritical section
- Bprogram
- Cnon-critical section
- Dmutual exclusion
19Semaphores:
- Aare used for memory management
- Bsynchronize critical resources to prevent deadlock
- Care used to do I/O
- Dsynchronize critical resources to prevent contention
20Interprocess communication:
- Aallows process to synchronize activity
- Bis never necessary
- Cis usually done via disk drives
- Dis required for all processes
21A task in a blocked state
- Ais running
- Bis executable
- Cmust still be placed in the run queues
- Dis waiting for same temporarily unavailable resources
22The systems which allows only one process execution at a time, are called:
- Aunitasking systems
- Buniprocessing systems
- Cuniprogramming systems
- Dnone of the above
23Which one of the following is the address generated by CPU?
- Alogical address
- Bphysical address
- Cabsolute address
- Dnone of the above
24To avoid the race condition, the number of processes that may be
simultaneously inside their critical section is:- A10
- B0
- C1
- D2
25The figure below illustrates a partial program execution

- ALoad 3 to AC from the memory
- BAdd 3 to AC from the memory
- CStore 3 to AC from the memory
- DAdd 2 to AC from the memory
26Choose the micro-instructions that reflect instruction execution stage shown
in the figure below
- AIR -> MAR 941
M -> MBR 0002
MBR ->AC 0005 - BPC -> MAR 301
M -> I/OBR 5941
I/OBR 5941 - CIR -> MAR 941
M -> MBR 0002
MBR -> AC 0002 - DPC -> MAR 302
M -> MBR 2941
MBR -> IR 2941
- AIR -> MAR 941
27The following figure demonstrates:

- AInterrupts; fast I/O wait
- BInterrupts; slow I/O wait
- CNo interrupts
- DInterrupts; long I/O wait
- EInterrupts; short I/O wait
28As one goes down the memory hierarchy

- Aincreasing frequency of access to the memory by the processor
- Bincreasing cost per bit
- Cdecreasing access time
- Dincreasing capacity
29The figure a) demonstrates the program timing diagram for:

- AInterrupts; fast I/O wait
- B.Interrupts; slow I/O wait
- CNo interrupts
- DInterrupts; long I/O wait
- EInterrupts; short I/O wait
30‘Lost signals, duplicate signals received’. This is
- AImproper synchronization
- BNondeterminate program operation
- CDeadlocks
- DFailed mutual exclusion
Informações
- Descrição
- Quiz sobre ostest, criado por Bekinston Talgio em 02-07-2019.
- Autor
- Bekinston Talgio
- Idioma
- English
- Visualizações
- 1
- Etiquetas
- Avaliação
- Ainda sem avaliações Avalie este quiz
Mais sobre Processes, Threads and Communication