hoffa HOFFMAN
Test por , creado hace más de 1 año

designed by hoffa

240
0
0
hoffa HOFFMAN
Creado por hoffa HOFFMAN hace casi 5 años
Cerrar

www.OS.com III

Pregunta 1 de 52

1

99. Process is

Selecciona una o más de las siguientes respuestas posibles:

  • ● 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

Explicación

Pregunta 2 de 52

1

100. A task in a blocked state

Selecciona una de las siguientes respuestas posibles:

  • ● is waiting for same temporarily unavailable resources

  • ● must still be placed in the run queues

  • ● is executable

  • ● is running

Explicación

Pregunta 3 de 52

1

101. The systems which allows only one process execution at a time, are
called

Selecciona una de las siguientes respuestas posibles:

  • ● unicasting systems

  • ● uniprogramming systems

  • ● uniprocessing systems

  • ● unitasking systems

Explicación

Pregunta 4 de 52

1

102. The state of a process is defined by:

Selecciona una de las siguientes respuestas posibles:

  • ● 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

Explicación

Pregunta 5 de 52

1

103. Which of the following is not the state of a process?

Selecciona una de las siguientes respuestas posibles:

  • ● ready

  • ● Old

  • ● terminated

  • ● running

  • ● new

Explicación

Pregunta 6 de 52

1

104. Suppose that a process is in “Blocked” state waiting for some I/O
service. When the service is completed, it goes to the:

Selecciona una de las siguientes respuestas posibles:

  • ● Suspended state

  • ● Terminated state

  • ● Running state

  • ● Ready state

Explicación

Pregunta 7 de 52

1

105. Which of the following state transitions is not possible?

Selecciona una de las siguientes respuestas posibles:

  • ● ready to running

  • ● blocked to ready

  • ● running to blocked

  • ● blocked to running

Explicación

Pregunta 8 de 52

1

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

Selecciona una de las siguientes respuestas posibles:

  • ● synchronous exclusion

  • ● mutual exclusion

  • ● asynchronous exclusion

  • ● critical exclusion

Explicación

Pregunta 9 de 52

1

107. Interprocess communication:

Selecciona una de las siguientes respuestas posibles:

  • ● 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

Explicación

Pregunta 10 de 52

1

08. A sequence of instructions, in a computer language, to get the desired
result, is known as?

Selecciona una de las siguientes respuestas posibles:

  • ● program

  • ● process

  • ● instruction

  • ● algorithm

Explicación

Pregunta 11 de 52

1

109. In operating system, each process has its own:

Selecciona una de las siguientes respuestas posibles:

  • ● program code

  • ● set of data

  • ● address space and global variables

  • ● all of the mentioned

Explicación

Pregunta 12 de 52

1

110. For each process OS creates and manages:

Selecciona una de las siguientes respuestas posibles:

  • ● Thread control block

  • ● Program

  • ● Program code

  • ● Process control block

Explicación

Pregunta 13 de 52

1

111. Listing the sequence of instructions that are executed is called?

Selecciona una de las siguientes respuestas posibles:

  • ● control block

  • ● instruction

  • ● program counter

  • ● trace

Explicación

Pregunta 14 de 52

1

112. A process can be terminated due to:

Selecciona una de las siguientes respuestas posibles:

  • ● killed by another process

  • ● all of the mentioned

  • ● normal exit

  • ● fatal error

Explicación

Pregunta 15 de 52

1

113. What is the ready state of a process?

Selecciona una de las siguientes respuestas posibles:

  • ● 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

Explicación

Pregunta 16 de 52

1

114. What is interprocess communication?

Selecciona una de las siguientes respuestas posibles:

  • ● communication within the process

  • ● none of the above

  • ● communication between two threads of same process

  • ● communication between two process

Explicación

Pregunta 17 de 52

1

115. A set of processes is deadlock if:

Selecciona una de las siguientes respuestas posibles:

  • ● 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

Explicación

Pregunta 18 de 52

1

116. The address of the next instruction to be executed by the current
process is provided by the:

Selecciona una de las siguientes respuestas posibles:

  • ● process stack

  • ● CPU registers

  • ● program counter

  • ● pipe

Explicación

Pregunta 19 de 52

1

117. A Process Control Block (четыре вопроса в одном)PCB) doesn’t contain which of the following:

Selecciona una de las siguientes respuestas posibles:

  • ● code

  • ● bootstrap program

  • ● process state

  • ● data

  • ● stack

Explicación

Pregunta 20 de 52

1

118. The Process Control Block is:

Selecciona una de las siguientes respuestas posibles:

  • ● secondary storage section

  • ● block in memory

  • ● data structure

  • ● process type variable

Explicación

Pregunta 21 de 52

1

119. The degree of multi-programming is:

Selecciona una de las siguientes respuestas posibles:

  • ● 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

Explicación

Pregunta 22 de 52

1

120. A single thread of control allows the process to perform:

Selecciona una de las siguientes respuestas posibles:

  • ● multiple tasks at a time

  • ● only one task at a time

  • ● both

Explicación

Pregunta 23 de 52

1

121. The objective of multi-programming is to:

Selecciona una de las siguientes respuestas posibles:

  • ● to minimize CPU utilization

  • ● to maximize CPU utilization

  • ● have multiple programs waiting in a queue ready to run

Explicación

Pregunta 24 de 52

1

122. What is a long-term scheduler?

Selecciona una de las siguientes respuestas posibles:

  • ● 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

Explicación

Pregunta 25 de 52

1

123. What is a medium-term scheduler?

Selecciona una de las siguientes respuestas posibles:

  • ● 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

Explicación

Pregunta 26 de 52

1

124. What is a short-term scheduler?

Selecciona una de las siguientes respuestas posibles:

  • ● 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

Explicación

Pregunta 27 de 52

1

125. The primary distinction between the short-term scheduler and the longterm scheduler is:

Selecciona una de las siguientes respuestas posibles:

  • ● the frequency of their execution

  • ● the type of processes the schedule

  • ● none of the above

  • ● the length of their queues

Explicación

Pregunta 28 de 52

1

126. In a multi-programming environment:

Selecciona una de las siguientes respuestas posibles:

  • ● 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

Explicación

Pregunta 29 de 52

1

127. The context of a process in the PCB of a process DOESN’T contain:

Selecciona una de las siguientes respuestas posibles:

  • ● the value of the CPU registers

  • ● memory-management information

  • ● the process state

  • ● context switch time

Explicación

Pregunta 30 de 52

1

128. Which of the following state transitions is not possible?

Selecciona una de las siguientes respuestas posibles:

  • ● ready to running

  • ● blocked to ready

  • ● running to blocked

  • ● blocked to running

Explicación

Pregunta 31 de 52

1

129. Which process can be affected by other processes executing in the
system?

Selecciona una de las siguientes respuestas posibles:

  • ● parent process

  • ● child process

  • ● cooperating process

  • ● init process

Explicación

Pregunta 32 de 52

1

130. Which one of the following is a synchronization tool?

Selecciona una de las siguientes respuestas posibles:

  • ● Semaphore

  • ● pipe

  • ● thread

  • ● socket

Explicación

Pregunta 33 de 52

1

131. Mutual exclusion can be provided by the:

Selecciona una de las siguientes respuestas posibles:

  • ● binary semaphores

  • ● both

  • ● mutex locks

  • ● none of the abovemaint

Explicación

Pregunta 34 de 52

1

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:

Selecciona una de las siguientes respuestas posibles:

  • ● priority modification

  • ● priority removal

  • ● priority inversion

  • ● priority exchange

Explicación

Pregunta 35 de 52

1

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.

Selecciona una de las siguientes respuestas posibles:

  • ● Multiprogramming, Multiprocessing

  • Multiprogramming, Uniprocessing

  • ● Uniprogramming, Multiprocessing

  • ● Multiprocessing, multiprogramming

Explicación

Pregunta 36 de 52

1

134. Interprocess communication allows:

Selecciona una de las siguientes respuestas posibles:

  • ● is required for all processes

  • ● is usually done via disk drives

  • ● is never necessary

  • ● allows process to synchronize activity

Explicación

Pregunta 37 de 52

1

135. Message passing system allows processes to:

Selecciona una de las siguientes respuestas posibles:

  • ● 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

Explicación

Pregunta 38 de 52

1

136. The link between two processes P and Q to send and receive messages
is called:

Selecciona una de las siguientes respuestas posibles:

  • ● synchronization link

  • ● communication link

  • ● all of the above

  • ● message-passing link

Explicación

Pregunta 39 de 52

1

137. In indirect communication between processes P and Q:

Selecciona una de las siguientes respuestas posibles:

  • ● 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

Explicación

Pregunta 40 de 52

1

138. In the non-blocking send:

Selecciona una de las siguientes respuestas posibles:

  • ● 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

Explicación

Pregunta 41 de 52

1

139. In the blocking send, blocking receive:

Selecciona una de las siguientes respuestas posibles:

  • ● 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

Explicación

Pregunta 42 de 52

1

140. In the non-blocking send, blocking receive:

Selecciona una de las siguientes respuestas posibles:

  • ● 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

Explicación

Pregunta 43 de 52

1

141. In the non-blocking send, non-blocking receive:

Selecciona una de las siguientes respuestas posibles:

  • ● 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

Explicación

Pregunta 44 de 52

1

142. Remote Procedure Calls (четыре вопроса в одном)RPC) are used:

Selecciona una de las siguientes respuestas posibles:

  • ● 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

Explicación

Pregunta 45 de 52

1

143. What is a trap/exception?

Selecciona una de las siguientes respuestas posibles:

  • ● 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

Explicación

Pregunta 46 de 52

1

144. To avoid the race condition, the number of processes that may be
simultaneously inside their critical section is:

Selecciona una de las siguientes respuestas posibles:

  • ● 2

  • ● 1

  • ● 0

  • ● 10

Explicación

Pregunta 47 de 52

1

145. The initial value of the semaphore that allows only one of the many
processes to enter their critical sections, is?

Selecciona una de las siguientes respuestas posibles:

  • ● 10

  • ● 2

  • ● 0

  • ● 1

Explicación

Pregunta 48 de 52

1

146. Semaphores:

Selecciona una de las siguientes respuestas posibles:

  • ● synchronize critical resources to prevent contention

  • ● are used to do I/O

  • ● synchronize critical resources to prevent deadlock

  • ● are used for memory management

Explicación

Pregunta 49 de 52

1

147. Four necessary conditions for deadlock to exist are: mutual exclusion,
no-preemption, circular wait and

Selecciona una de las siguientes respuestas posibles:

  • ● starvation

  • ● hold and wait

  • ● deadlock avoidance

  • ● race condition

Explicación

Pregunta 50 de 52

1

148. Part of a program where the shared memory is accessed and which
should be executed invisibly, is called:

Selecciona una de las siguientes respuestas posibles:

  • ● directory

  • ● critical section

  • ● mutual exclusion

  • ● semaphores

Explicación

Pregunta 51 de 52

1

149. Banker's algorithm for resource allocation deals with:

Selecciona una de las siguientes respuestas posibles:

  • ● deadlock avoidance

  • ● deadlock recovery

  • ● mutual exclusion

  • ● deadlock prevention

Explicación

Pregunta 52 de 52

1

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:

Selecciona una de las siguientes respuestas posibles:

  • ● Process synchronization

  • ● Shared memory segments

  • ● Race section

  • ● Entry section

Explicación