2.0

Descrição

Quiz on 2.0, created by Little Johnny on 20/12/2017.
Little  Johnny
Quiz por Little Johnny, atualizado more than 1 year ago
Little  Johnny
Criado por Little Johnny mais de 6 anos atrás
12
0

Resumo de Recurso

Questão 1

Questão
158. Choose the characteristics of Harvard architecture
Responda
  • 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

Questão 2

Questão
159. Which of the following architectures differs by memory accessing?
Responda
  • Von Neumann
  • Harvard
  • Complex Instruction Set Computers
  • Reduced Instruction Set Computers

Questão 3

Questão
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
Responda
  • Microcontroller
  • General purpose microprocessor

Questão 4

Questão
161. Choose the correct syntax of assembly statements
Responda
  • name operation operand(s) comments
  • operation name operand(s) comments
  • operation operand(s) name comments
  • comments name operation operand(s)

Questão 5

Questão
163. Name field of assembly statement is not case sensitive
Responda
  • True
  • False

Questão 6

Questão
164. Choose the legal name(s) in assembly
Responda
  • @variable_name
  • variable?
  • variable&name
  • variable name
  • 1variable

Questão 7

Questão
165. In two-operand instruction, the first operand is source and the second operand is destination
Responda
  • True
  • False

Questão 8

Questão
166. An instruction may have one or more operands
Responda
  • True
  • False

Questão 9

Questão
167. In assembly language you can express data only in binary and decimal
Responda
  • True
  • False

Questão 10

Questão
168. You should use a radix symbol in order to differentiate between binary, octal or hexadecimal
Responda
  • True
  • False

Questão 11

Questão
169. Which symbol you should use to leave the variable uninitialized
Responda
  • ?
  • !
  • @
  • $

Questão 12

Questão
170. In assembly language, you can skip the name of variable
Responda
  • True
  • False

Questão 13

Questão
171. Choose the correct syntax of variable declaration in assembly
Responda
  • variable_name type initial_value
  • type variable_name initial_vaule
  • type initial_value variable_name

Questão 14

Questão
173. Choose the definition of code segment in assembly
Responda
  • Contains a program’s instructions
  • A block of memory to store a stack
  • All variable definitions

Questão 15

Questão
174. Choose the definition of data segment in assembly
Responda
  • All variable definitions
  • A block of memory to store a stack
  • Contains a program’s instructions

Questão 16

Questão
175. Choose the definition of stack segment in assembly
Responda
  • A block of memory to store a stack
  • All variable definitions
  • Contains a program’s instructions

Questão 17

Questão
176. There is no memory allocated for constants in assembly language
Responda
  • True
  • False

Questão 18

Questão
177. Which keyword you should use in order to define a constant in assembly language
Responda
  • EQU
  • DD
  • CONST
  • EQ
  • DW

Questão 19

Questão
178. In assembly statement name and comment are mandatory
Responda
  • True
  • False

Questão 20

Questão
179. How many deadlock recovery algorithms are there?
Responda
  • 4
  • 3
  • 2
  • 5
  • 1

Questão 21

Questão
180. There are 3 approaches of deadlock avoidance
Responda
  • True
  • False

Questão 22

Questão
181. There are 2 policies of deadlock prevention
Responda
  • True
  • False

Questão 23

Questão
182. Choose the correct approach for the following definition "involves recognizing when deadlock has occurred, and trying to recover"
Responda
  • Deadlock detection and recovery
  • Deadlock avoidance
  • Deadlock prevention

Questão 24

Questão
183. Choose the correct approach for the following definition "involves making dynamic choices that guarantee prevention"
Responda
  • Deadlock avoidance
  • Deadlock prevention
  • Deadlock detection and recovery

Questão 25

Questão
184. Choose the correct approach for the following definition "adopting a static policy that disallows one of the four conditions above"
Responda
  • Deadlock prevention
  • Deadlock detection and recovery
  • Deadlock avoidance

Questão 26

Questão
185. There are 4 approaches of dealing with deadlock
Responda
  • True
  • False

Questão 27

Questão
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"
Responda
  • Circular wait
  • Mutual exclusion
  • No preemption
  • Hold and wait

Questão 28

Questão
187. Choose the correct answer for the following definition: "No process can be forced to release a resource"
Responda
  • No preemption
  • Mutual exclusion
  • Hold and wait
  • Circular wait

Questão 29

Questão
188. Choose the correct answer for the following definition "A process may hold some resources while waiting for others"
Responda
  • Hold and wait
  • Mutual exclusion
  • Circular wait
  • No pre-emption

Questão 30

Questão
Choose the correct answer for the following definition "Only one process may use a resource at one time"
Responda
  • Mutual exclusion
  • Circular wait
  • No preemption
  • Hold and wait

Questão 31

Questão
190. How many policy conditions for deadlock to be possible are there?
Responda
  • 3
  • 4
  • 2
  • 1

Questão 32

Questão
191. What is the deadlock?
Responda
  • 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

Questão 33

Questão
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
Responda
  • True
  • False

Questão 34

Questão
193. In which of the following approaches there is no shared data?
Responda
  • Message passing
  • Mutual exclusion
  • Monitors
  • Semaphores

Questão 35

Questão
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"
Responda
  • Message passing
  • Mutual exclusion
  • Monitors
  • Semaphores

Questão 36

Questão
195. Monitors are similar to classes in java and has methods and fields
Responda
  • True
  • False

Questão 37

Questão
196. In atomic operations semSignal(x) and semWait(x), what is the 'x'?
Responda
  • The number of processes that can execute critical section
  • The number of processes
  • The number of monitors
  • No correct answer

Questão 38

Questão
197. When using semaphores, processes communicate using messages
Responda
  • True
  • False

Questão 39

Questão
198. We can implement mutex through the OS or using programming languages
Responda
  • True
  • False

Questão 40

Questão
199. How many approaches of mutex implementation are there?
Responda
  • 3
  • 4
  • 2
  • 5
  • 1

Questão 41

Questão
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"
Responda
  • Mutual exclusion
  • Semaphores
  • Monitors
  • Message passing
  • Critical section

Questão 42

Questão
201. In concurrency optimal allocation of resources is difficult
Responda
  • True
  • False

Questão 43

Questão
202. In concurrency, locating programming errors can't be difficult, because the contexts in which errors occur cannot always be reproduced easily
Responda
  • True
  • False

Questão 44

Questão
203. In concurrency, sharing global resources safely is difficult
Responda
  • True
  • False

Questão 45

Questão
204. Concurrency offers genuine simultaneous execution
Responda
  • True
  • False

Questão 46

Questão
205. Parallelism is interleaving of processes in time to give the appearance of simultaneous execution
Responda
  • True
  • False

Questão 47

Questão
206. Choose the correct answer for the following definition "multiple processes on multiple systems"
Responda
  • Distributed processing
  • Multiprogramming
  • Multiprocessing

Questão 48

Questão
207. Choose the correct answer for the following definition "multiple processes on a system with multiple processors"
Responda
  • Multiprocessing
  • Multiprogramming
  • Distributed processing

Questão 49

Questão
208. Choose the correct answer for the following definition "multiple processes on a system with a single processor"
Responda
  • Multiprogramming
  • Multiprocessing
  • Distributed processing

Questão 50

Questão
209. How many categories of process management are there?
Responda
  • 3
  • 4
  • 1
  • 2

Semelhante

HISTORIA DE LAS WEB 1.0, 2.0, 3.0, 4.0.
Maria Alejandra Linares Cobos
science unit B
Joyce Bukmeier
Evolución hiatórica de la web
ELITA CASASOLA
Mapa mental web 2.0
oscar_bs
Matérias para Estudar para o Vestibular
Alice Sousa
Edital da ReceitaFederal Auditor Fiscal
Alessandra S.
METODOLOGIA E PRÁTICA DE ALFABETIZAÇÃO E LETRAMENTO
vanessasenez
Equações estatísticas
Luiz Fernando
1ª GUERRA MUNDIAL
Renata Reis
Uso da vírgula
Kekê Dantas
Estudo de Gramática - Classes de Palavras
Edivaldo Siqueira