www.OS.com III

Descrição

designed by hoffa
hoffa HOFFMAN
Quiz por hoffa HOFFMAN, atualizado more than 1 year ago
hoffa HOFFMAN
Criado por hoffa HOFFMAN quase 5 anos atrás
240
0

Resumo de Recurso

Questão 1

Questão
99. Process is
Responda
  • ● A program in execution
  • ● A job in secondary memory
  • ● Contents of main memory
  • ● Program in High level language kept on disk
  • ● a unit of activity characterized by execution of a sequence of instructions, a current state, and an associated set

Questão 2

Questão
100. A task in a blocked state
Responda
  • ● is waiting for same temporarily unavailable resources
  • ● must still be placed in the run queues
  • ● is executable
  • ● is running

Questão 3

Questão
101. The systems which allows only one process execution at a time, are called
Responda
  • ● unicasting systems
  • ● uniprogramming systems
  • ● uniprocessing systems
  • ● unitasking systems

Questão 4

Questão
102. The state of a process is defined by:
Responda
  • ● the current activity of the process
  • ● the activity to next be executed by the process
  • ● the final activity of the process
  • ● the activity is just executed by the process

Questão 5

Questão
103. Which of the following is not the state of a process?
Responda
  • ● ready
  • ● Old
  • ● terminated
  • ● running
  • ● new

Questão 6

Questão
104. Suppose that a process is in “Blocked” state waiting for some I/O service. When the service is completed, it goes to the:
Responda
  • ● Suspended state
  • ● Terminated state
  • ● Running state
  • ● Ready state

Questão 7

Questão
105. Which of the following state transitions is not possible?
Responda
  • ● ready to running
  • ● blocked to ready
  • ● running to blocked
  • ● blocked to running

Questão 8

Questão
106. If a process is executing in its critical section, then no other processes can be executing in their critical section. This condition is called
Responda
  • ● synchronous exclusion
  • ● mutual exclusion
  • ● asynchronous exclusion
  • ● critical exclusion

Questão 9

Questão
107. Interprocess communication:
Responda
  • ● allows processes to communicate and synchronize their actions without using the same address space
  • ● allows processes to communicate and synchronize their actions when using the same address space
  • ● allows the processes to only synchronize their actions without communication
  • ● none of the above

Questão 10

Questão
08. A sequence of instructions, in a computer language, to get the desired result, is known as?
Responda
  • ● program
  • ● process
  • ● instruction
  • ● algorithm

Questão 11

Questão
109. In operating system, each process has its own:
Responda
  • ● program code
  • ● set of data
  • ● address space and global variables
  • ● all of the mentioned

Questão 12

Questão
110. For each process OS creates and manages:
Responda
  • ● Thread control block
  • ● Program
  • ● Program code
  • ● Process control block

Questão 13

Questão
111. Listing the sequence of instructions that are executed is called?
Responda
  • ● control block
  • ● instruction
  • ● program counter
  • ● trace

Questão 14

Questão
112. A process can be terminated due to:
Responda
  • ● killed by another process
  • ● all of the mentioned
  • ● normal exit
  • ● fatal error

Questão 15

Questão
113. What is the ready state of a process?
Responda
  • ● when process is unable to run until some task has been completed
  • ● when process is using CPU
  • ● none of the above
  • ● when process is scheduled to run after some execution

Questão 16

Questão
114. What is interprocess communication?
Responda
  • ● communication within the process
  • ● none of the above
  • ● communication between two threads of same process
  • ● communication between two process

Questão 17

Questão
115. A set of processes is deadlock if:
Responda
  • ● each process is terminated
  • ● all processes are trying to kill each other
  • ● none of the above
  • ● each process is blocked and will remain so forever

Questão 18

Questão
116. The address of the next instruction to be executed by the current process is provided by the:
Responda
  • ● process stack
  • ● CPU registers
  • ● program counter
  • ● pipe

Questão 19

Questão
117. A Process Control Block (четыре вопроса в одном)PCB) doesn’t contain which of the following:
Responda
  • ● code
  • ● bootstrap program
  • ● process state
  • ● data
  • ● stack

Questão 20

Questão
118. The Process Control Block is:
Responda
  • ● secondary storage section
  • ● block in memory
  • ● data structure
  • ● process type variable

Questão 21

Questão
119. The degree of multi-programming is:
Responda
  • ● the number of processes in memory
  • ● the number of processes in the ready queue
  • ● the number of processes in the I/O queue
  • ● the number of processes executed per unit time

Questão 22

Questão
120. A single thread of control allows the process to perform:
Responda
  • ● multiple tasks at a time
  • ● only one task at a time
  • ● both

Questão 23

Questão
121. The objective of multi-programming is to:
Responda
  • ● to minimize CPU utilization
  • ● to maximize CPU utilization
  • ● have multiple programs waiting in a queue ready to run

Questão 24

Questão
122. What is a long-term scheduler?
Responda
  • ● it selects which process has to remove from memory by swapping
  • ● it selects which process has to be brought into the ready queue
  • ● none of the above
  • ● it selects which process has to be executed next and allocates CPU

Questão 25

Questão
123. What is a medium-term scheduler?
Responda
  • ● it selects which process has to remove from memory by swapping
  • ● it selects which process has to be brought into the ready queue
  • ● none of the above
  • ● it selects which process has to be executed next and allocates CPU

Questão 26

Questão
124. What is a short-term scheduler?
Responda
  • ● it selects which process has to remove from memory by swapping
  • ● it selects which process has to be brought into the ready queue
  • ● none of the above
  • ● it selects which process has to be executed next and allocates CPU

Questão 27

Questão
125. The primary distinction between the short-term scheduler and the longterm scheduler is:
Responda
  • ● the frequency of their execution
  • ● the type of processes the schedule
  • ● none of the above
  • ● the length of their queues

Questão 28

Questão
126. In a multi-programming environment:
Responda
  • ● a single user can execute many programs at the same time
  • ● more than one process resides in the memory
  • ● the programs are developed by more than one person
  • ● the processor executes more than one process at a time

Questão 29

Questão
127. The context of a process in the PCB of a process DOESN’T contain:
Responda
  • ● the value of the CPU registers
  • ● memory-management information
  • ● the process state
  • ● context switch time

Questão 30

Questão
128. Which of the following state transitions is not possible?
Responda
  • ● ready to running
  • ● blocked to ready
  • ● running to blocked
  • ● blocked to running

Questão 31

Questão
129. Which process can be affected by other processes executing in the system?
Responda
  • ● parent process
  • ● child process
  • ● cooperating process
  • ● init process

Questão 32

Questão
130. Which one of the following is a synchronization tool?
Responda
  • ● Semaphore
  • ● pipe
  • ● thread
  • ● socket

Questão 33

Questão
131. Mutual exclusion can be provided by the:
Responda
  • ● binary semaphores
  • ● both
  • ● mutex locks
  • ● none of the abovemaint

Questão 34

Questão
132. When high priority task is indirectly preempted by medium priority task effectively inverting the relative priority of the two tasks, the scenario is called:
Responda
  • ● priority modification
  • ● priority removal
  • ● priority inversion
  • ● priority exchange

Questão 35

Questão
133. With ……………. 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.
Responda
  • ● Multiprogramming, Multiprocessing
  • Multiprogramming, Uniprocessing
  • ● Uniprogramming, Multiprocessing
  • ● Multiprocessing, multiprogramming

Questão 36

Questão
134. Interprocess communication allows:
Responda
  • ● is required for all processes
  • ● is usually done via disk drives
  • ● is never necessary
  • ● allows process to synchronize activity

Questão 37

Questão
135. Message passing system allows processes to:
Responda
  • ● communicate with one another by resorting shared data
  • ● name the recipient or sender of the message
  • communicate with one another without resorting to shared data
  • ● share data

Questão 38

Questão
136. The link between two processes P and Q to send and receive messages is called:
Responda
  • ● synchronization link
  • ● communication link
  • ● all of the above
  • ● message-passing link

Questão 39

Questão
137. In indirect communication between processes P and Q:
Responda
  • ● there is another process R to handle and pass on the messages between P and Q
  • ● there is another machine between the two processes to help communication
  • ● none of the above
  • ● there is a mailbox to help communication between P and Q

Questão 40

Questão
138. In the non-blocking send:
Responda
  • ● none of the above
  • ● the sending process keeps sending until it receives a message
  • ● the sending process keeps sending until the message is received
  • ● the sending process sends the message and resumes operation

Questão 41

Questão
139. In the blocking send, blocking receive:
Responda
  • ● the sending process sends the message while receiver is blocked
  • ● the sending process sends the message and resumes operation
  • ● none of the above
  • ● both sender and receiver are blocked until message is delivered

Questão 42

Questão
140. In the non-blocking send, blocking receive:
Responda
  • ● none of the above
  • ● the sending process keeps sending until it receives a message
  • ● sender continues on, receiver is blocked until the requested message arrives
  • ● the sending process sends the message and resumes operation

Questão 43

Questão
141. In the non-blocking send, non-blocking receive:
Responda
  • ● the sending process sends the message and resumes operation
  • ● the sending process keeps sending until the message is received
  • ● neither of processes are required to wait
  • ● the sending process keeps sending until it receives a message

Questão 44

Questão
142. Remote Procedure Calls (четыре вопроса в одном)RPC) are used:
Responda
  • ● for communication between two processes remotely different from each other on the same system
  • ● for communication between two processes on the same systems
  • ● for communication between two processes on separate systems
  • ● none of the above

Questão 45

Questão
143. What is a trap/exception?
Responda
  • ● software generated interrupt caused by an error
  • ● hardware generated interrupt caused by an error
  • ● failure of the system
  • ● user generated interrupt caused by an error

Questão 46

Questão
144. To avoid the race condition, the number of processes that may be simultaneously inside their critical section is:
Responda
  • ● 2
  • ● 1
  • ● 0
  • ● 10

Questão 47

Questão
145. The initial value of the semaphore that allows only one of the many processes to enter their critical sections, is?
Responda
  • ● 10
  • ● 2
  • ● 0
  • ● 1

Questão 48

Questão
146. Semaphores:
Responda
  • ● synchronize critical resources to prevent contention
  • ● are used to do I/O
  • ● synchronize critical resources to prevent deadlock
  • ● are used for memory management

Questão 49

Questão
147. Four necessary conditions for deadlock to exist are: mutual exclusion, no-preemption, circular wait and
Responda
  • ● starvation
  • ● hold and wait
  • ● deadlock avoidance
  • ● race condition

Questão 50

Questão
148. Part of a program where the shared memory is accessed and which should be executed invisibly, is called:
Responda
  • ● directory
  • ● critical section
  • ● mutual exclusion
  • ● semaphores

Questão 51

Questão
149. Banker's algorithm for resource allocation deals with:
Responda
  • ● deadlock avoidance
  • ● deadlock recovery
  • ● mutual exclusion
  • ● deadlock prevention

Questão 52

Questão
150. A situation where several processes access and manipulate the same data concurrently and the outcome of the execution depends on the particular order in which access takes place is called:
Responda
  • ● Process synchronization
  • ● Shared memory segments
  • ● Race section
  • ● Entry section

Semelhante

www.OS.com II
hoffa HOFFMAN
www.OS.com V
hoffa HOFFMAN
Mat II
hoffa HOFFMAN
Forever young
hoffa HOFFMAN
Temas de Redação ENEM 2014
Alessandra S.
Direito Constitucional - Concurso Receita Federal - Auditor Fiscal
Alessandra S.
ESTILOS DE LIDERANÇA
willian reis
Oscilações, ondas, óptica e radiação
Sem Parar
Texto Publicitário
Fernando Danich
Intertextualidade
Grazi_1
Novas regras de acentuação gráfica
لست لا شيء