Little  Johnny
Test por , creado hace más de 1 año

Quiz on 2.0, created by Little Johnny on 20/12/2017.

12
0
0
Little  Johnny
Creado por Little Johnny hace más de 6 años
Cerrar

2.0

Pregunta 1 de 50

1

158. Choose the characteristics of Harvard architecture

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

  • separate program and data memories

  • separated buses allow one instruction to execute while the next instruction is fetched

  • data and instructions mustn’t have the same width

  • one memory for data and program

  • CPU provides address to get data or instruction

  • data and instructions must have the same width

Explicación

Pregunta 2 de 50

1

159. Which of the following architectures differs by memory accessing?

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

  • Von Neumann

  • Harvard

  • Complex Instruction Set Computers

  • Reduced Instruction Set Computers

Explicación

Pregunta 3 de 50

1

160. Choose the correct answer for the following characteristics: 1. Depend mainly on its peripherals 2. Used for a few dedicated functions 3. Usually used as a part of a larger system

Selecciona una de las siguientes respuestas posibles:

  • Microcontroller

  • General purpose microprocessor

Explicación

Pregunta 4 de 50

1

161. Choose the correct syntax of assembly statements

Selecciona una de las siguientes respuestas posibles:

  • name operation operand(s) comments

  • operation name operand(s) comments

  • operation operand(s) name comments

  • comments name operation operand(s)

Explicación

Pregunta 5 de 50

1

163. Name field of assembly statement is not case sensitive

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 6 de 50

1

164. Choose the legal name(s) in assembly

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

  • @variable_name

  • variable?

  • variable&name

  • variable name

  • 1variable

Explicación

Pregunta 7 de 50

1

165. In two-operand instruction, the first operand is source and the second operand is destination

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 8 de 50

1

166. An instruction may have one or more operands

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 9 de 50

1

167. In assembly language you can express data only in binary and decimal

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 10 de 50

1

168. You should use a radix symbol in order to differentiate between binary, octal or hexadecimal

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 11 de 50

1

169. Which symbol you should use to leave the variable uninitialized

Selecciona una de las siguientes respuestas posibles:

  • ?

  • !

  • @

  • $

Explicación

Pregunta 12 de 50

1

170. In assembly language, you can skip the name of variable

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 13 de 50

1

171. Choose the correct syntax of variable declaration in assembly

Selecciona una de las siguientes respuestas posibles:

  • variable_name type initial_value

  • type variable_name initial_vaule

  • type initial_value variable_name

Explicación

Pregunta 14 de 50

1

173. Choose the definition of code segment in assembly

Selecciona una de las siguientes respuestas posibles:

  • Contains a program’s instructions

  • A block of memory to store a stack

  • All variable definitions

Explicación

Pregunta 15 de 50

1

174. Choose the definition of data segment in assembly

Selecciona una de las siguientes respuestas posibles:

  • All variable definitions

  • A block of memory to store a stack

  • Contains a program’s instructions

Explicación

Pregunta 16 de 50

1

175. Choose the definition of stack segment in assembly

Selecciona una de las siguientes respuestas posibles:

  • A block of memory to store a stack

  • All variable definitions

  • Contains a program’s instructions

Explicación

Pregunta 17 de 50

1

176. There is no memory allocated for constants in assembly language

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 18 de 50

1

177. Which keyword you should use in order to define a constant in assembly language

Selecciona una de las siguientes respuestas posibles:

  • EQU

  • DD

  • CONST

  • EQ

  • DW

Explicación

Pregunta 19 de 50

1

178. In assembly statement name and comment are mandatory

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 20 de 50

1

179. How many deadlock recovery algorithms are there?

Selecciona una de las siguientes respuestas posibles:

  • 4

  • 3

  • 2

  • 5

  • 1

Explicación

Pregunta 21 de 50

1

180. There are 3 approaches of deadlock avoidance

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 22 de 50

1

181. There are 2 policies of deadlock prevention

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 23 de 50

1

182. Choose the correct approach for the following definition "involves recognizing when deadlock has occurred, and trying to recover"

Selecciona una de las siguientes respuestas posibles:

  • Deadlock detection and recovery

  • Deadlock avoidance

  • Deadlock prevention

Explicación

Pregunta 24 de 50

1

183. Choose the correct approach for the following definition "involves making dynamic choices that guarantee prevention"

Selecciona una de las siguientes respuestas posibles:

  • Deadlock avoidance

  • Deadlock prevention

  • Deadlock detection and recovery

Explicación

Pregunta 25 de 50

1

184. Choose the correct approach for the following definition "adopting a static policy that disallows one of the four conditions above"

Selecciona una de las siguientes respuestas posibles:

  • Deadlock prevention

  • Deadlock detection and recovery

  • Deadlock avoidance

Explicación

Pregunta 26 de 50

1

185. There are 4 approaches of dealing with deadlock

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 27 de 50

1

186. Choose the correct answer for the following definition "A closed chain of processes exists, such that each process is blocked waiting for a resource held by another process in the set"

Selecciona una de las siguientes respuestas posibles:

  • Circular wait

  • Mutual exclusion

  • No preemption

  • Hold and wait

Explicación

Pregunta 28 de 50

1

187. Choose the correct answer for the following definition: "No process can be forced to release a resource"

Selecciona una de las siguientes respuestas posibles:

  • No preemption

  • Mutual exclusion

  • Hold and wait

  • Circular wait

Explicación

Pregunta 29 de 50

1

188. Choose the correct answer for the following definition "A process may hold some resources while waiting for others"

Selecciona una de las siguientes respuestas posibles:

  • Hold and wait

  • Mutual exclusion

  • Circular wait

  • No pre-emption

Explicación

Pregunta 30 de 50

1

Choose the correct answer for the following definition "Only one process may use a resource at one time"

Selecciona una de las siguientes respuestas posibles:

  • Mutual exclusion

  • Circular wait

  • No preemption

  • Hold and wait

Explicación

Pregunta 31 de 50

1

190. How many policy conditions for deadlock to be possible are there?

Selecciona una de las siguientes respuestas posibles:

  • 3

  • 4

  • 2

  • 1

Explicación

Pregunta 32 de 50

1

191. What is the deadlock?

Selecciona una de las siguientes respuestas posibles:

  • Permanent blocking of a set of processes that either compete for global resources or communicate with each other

  • Interleaving of processes in time to give the appearance of simultaneous execution

  • When one process is inside a critical section of code, other processes must be prevented from entering that section

  • Processes “communicate” via global counters that are initialized to a positive integer and that can be accessed only through two atomic operations

Explicación

Pregunta 33 de 50

1

192. Deadlock occurs when each process in the set is blocked awaiting an event that can be triggered only by another blocked process in the set

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 34 de 50

1

193. In which of the following approaches there is no shared data?

Selecciona una de las siguientes respuestas posibles:

  • Message passing

  • Mutual exclusion

  • Monitors

  • Semaphores

Explicación

Pregunta 35 de 50

1

194. Choose the correct answer for the following definition "Synchronization between processes is defined by the blocking policy attached to the sending and receiving of messages"

Selecciona una de las siguientes respuestas posibles:

  • Message passing

  • Mutual exclusion

  • Monitors

  • Semaphores

Explicación

Pregunta 36 de 50

1

195. Monitors are similar to classes in java and has methods and fields

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 37 de 50

1

196. In atomic operations semSignal(x) and semWait(x), what is the 'x'?

Selecciona una de las siguientes respuestas posibles:

  • The number of processes that can execute critical section

  • The number of processes

  • The number of monitors

  • No correct answer

Explicación

Pregunta 38 de 50

1

197. When using semaphores, processes communicate using messages

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 39 de 50

1

198. We can implement mutex through the OS or using programming languages

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 40 de 50

1

199. How many approaches of mutex implementation are there?

Selecciona una de las siguientes respuestas posibles:

  • 3

  • 4

  • 2

  • 5

  • 1

Explicación

Pregunta 41 de 50

1

200. Choose the correct answer for the following definition "When one process is inside a critical section of code, other processes must be prevented from entering that section"

Selecciona una de las siguientes respuestas posibles:

  • Mutual exclusion

  • Semaphores

  • Monitors

  • Message passing

  • Critical section

Explicación

Pregunta 42 de 50

1

201. In concurrency optimal allocation of resources is difficult

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 43 de 50

1

202. In concurrency, locating programming errors can't be difficult, because the contexts in which errors occur cannot always be reproduced easily

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 44 de 50

1

203. In concurrency, sharing global resources safely is difficult

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 45 de 50

1

204. Concurrency offers genuine simultaneous execution

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 46 de 50

1

205. Parallelism is interleaving of processes in time to give the appearance of simultaneous execution

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 47 de 50

1

206. Choose the correct answer for the following definition "multiple processes on multiple systems"

Selecciona una de las siguientes respuestas posibles:

  • Distributed processing

  • Multiprogramming

  • Multiprocessing

Explicación

Pregunta 48 de 50

1

207. Choose the correct answer for the following definition "multiple processes on a system with multiple processors"

Selecciona una de las siguientes respuestas posibles:

  • Multiprocessing

  • Multiprogramming

  • Distributed processing

Explicación

Pregunta 49 de 50

1

208. Choose the correct answer for the following definition "multiple processes on a system with a single processor"

Selecciona una de las siguientes respuestas posibles:

  • Multiprogramming

  • Multiprocessing

  • Distributed processing

Explicación

Pregunta 50 de 50

1

209. How many categories of process management are there?

Selecciona una de las siguientes respuestas posibles:

  • 3

  • 4

  • 1

  • 2

Explicación