Quiz
os 3
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 (20)
1The ____ of a process contains temporary data such as function parameters, return addresses, and local variables.
- Atext section
- Bdata section
- Cprogram counter
- Dstack
2A process control block ____.
- Aincludes information on the process's state
- Bstores the address of the next instruction to be processed by a different process
- Cdetermines which process is to be executed next
- Dis an example of a process queue
3The list of processes waiting for a particular I/O device is called a(n) ____.
- Astandby queue
- Bdevice queue
- Cready queue
- Dinterrupt queue
4The _____________ refers to the number of processes in memory.
- Aprocess count
- Blong-term scheduler
- Cdegree of multiprogramming
- DCPU scheduler
5When a child process is created, which of the following is a possibility in terms of the execution or address space of the child process?
- AThe child process runs concurrently with the parent.
- BThe child process has a new program loaded into it.
- CThe child is a duplicate of the parent.
- DAll of the above
6A _________________ saves the state of the currently running process and restores the state of the next process to run.
- Asave-and-restore
- Bstate switch
- Ccontext switch
- Dnone of the above
7A process may transition to the Ready state by which of the following actions?
- ACompletion of an I/O event
- BAwaiting its turn on the CPU
- CNewly-admitted process
- DAll of the above
8In a(n) ____ temporary queue, the sender must always block until the recipient receives the message.
- Azero capacity
- Bvariable capacity
- Cbounded capacity
- Dunbounded capacity
9A blocking send() and blocking receive() is known as a(n) _________________
- Asynchronized message
- Brendezvous
- Cblocked message
- Dasynchronous message
10Which of the following is true in a Mach operating system?
- AAll messages have the same priority.
- BMultiple messages from the same sender are guaranteed an absolute ordering.
- CThe sending thread must return immediately if a mailbox is full.
- DIt is not designed for distributed systems.
11When communicating with sockets, a client process initiates a request for a connection and is assigned a port by the host computer. Which of the following would be a valid port assignment for the host computer?
- A21
- B23
- C80
- D1625
12A(n) ______________ allows several unrelated processes to use the pipe for communication.
- Anamed pipe
- Banonymous pipe
- CLIFO
- Dordinary pipe
13Which of the following statements is true?
- AShared memory is typically faster than message passing.
- BMessage passing is typically faster than shared memory.
- CMessage passing is most useful for exchanging large amounts of data.
- DShared memory is far more common in operating systems than message passing.
14Imagine that a host with IP address 150.55.66.77 wishes to download a file from the web server at IP address 202.28.15.123. Select a valid socket pair for a connection between this pair of hosts.
- A150.55.66.77:80 and 202.28.15.123:80
- B150.55.66.77:150 and 202.28.15.123:80
- C150.55.66.77:2000 and 202.28.15.123:80
- D150.55.66.77:80 and 202.28.15.123:3500
15Child processes inherit UNIX ordinary pipes from their parent process because:
- AThe pipe is part of the code and children inherit code from their parents.
- BA pipe is treated as a file descriptor and child processes inherit open file descriptors from their parents.
- CThe STARTUPINFO structure establishes this sharing.
- DAll IPC facilities are shared between the parent and child processes.
16Which of the following statements is true?
- ANamed pipes do not allow bi-directional communication.
- BOnly the parent and child processes can use named pipes for communication.
- CReading and writing to ordinary pipes on both UNIX and Windows systems can be performed like ordinary file I/O.
- DNamed pipes can only be used by communicating processes on the same machine.
17Which of the following is not a process type in the Chrome browser?
- APlug-in
- BRenderer
- CSandbox
- DBrowser
18The ________ application is the application appearing on the display screen of a mobile device.
- Amain
- Bbackground
- Cdisplay
- Dforeground
19A process that has terminated, but whose parent has not yet called wait(), is known as a ________ process.
- Azombie
- Borphan
- Cterminated
- Dinit
20The _______ process is assigned as the parent to orphan processes.
- Azombie
- Binit
- Cmain
- Drenderer
Informações
- Descrição
- Quiz sobre os 3, criado por Adam Whiteside em 24-04-2019.
- Autor
- Adam Whiteside
- Idioma
- English
- Visualizações
- 58
- Avaliação
- Ainda sem avaliações Avalie este quiz