2.0

Beschreibung

Quiz on 2.0, created by Little Johnny on 20/12/2017.
Little  Johnny
Quiz von Little Johnny, aktualisiert more than 1 year ago
Little  Johnny
Erstellt von Little Johnny vor mehr als 6 Jahre
12
0

Zusammenfassung der Ressource

Frage 1

Frage
158. Choose the characteristics of Harvard architecture
Antworten
  • 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

Frage 2

Frage
159. Which of the following architectures differs by memory accessing?
Antworten
  • Von Neumann
  • Harvard
  • Complex Instruction Set Computers
  • Reduced Instruction Set Computers

Frage 3

Frage
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
Antworten
  • Microcontroller
  • General purpose microprocessor

Frage 4

Frage
161. Choose the correct syntax of assembly statements
Antworten
  • name operation operand(s) comments
  • operation name operand(s) comments
  • operation operand(s) name comments
  • comments name operation operand(s)

Frage 5

Frage
163. Name field of assembly statement is not case sensitive
Antworten
  • True
  • False

Frage 6

Frage
164. Choose the legal name(s) in assembly
Antworten
  • @variable_name
  • variable?
  • variable&name
  • variable name
  • 1variable

Frage 7

Frage
165. In two-operand instruction, the first operand is source and the second operand is destination
Antworten
  • True
  • False

Frage 8

Frage
166. An instruction may have one or more operands
Antworten
  • True
  • False

Frage 9

Frage
167. In assembly language you can express data only in binary and decimal
Antworten
  • True
  • False

Frage 10

Frage
168. You should use a radix symbol in order to differentiate between binary, octal or hexadecimal
Antworten
  • True
  • False

Frage 11

Frage
169. Which symbol you should use to leave the variable uninitialized
Antworten
  • ?
  • !
  • @
  • $

Frage 12

Frage
170. In assembly language, you can skip the name of variable
Antworten
  • True
  • False

Frage 13

Frage
171. Choose the correct syntax of variable declaration in assembly
Antworten
  • variable_name type initial_value
  • type variable_name initial_vaule
  • type initial_value variable_name

Frage 14

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

Frage 15

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

Frage 16

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

Frage 17

Frage
176. There is no memory allocated for constants in assembly language
Antworten
  • True
  • False

Frage 18

Frage
177. Which keyword you should use in order to define a constant in assembly language
Antworten
  • EQU
  • DD
  • CONST
  • EQ
  • DW

Frage 19

Frage
178. In assembly statement name and comment are mandatory
Antworten
  • True
  • False

Frage 20

Frage
179. How many deadlock recovery algorithms are there?
Antworten
  • 4
  • 3
  • 2
  • 5
  • 1

Frage 21

Frage
180. There are 3 approaches of deadlock avoidance
Antworten
  • True
  • False

Frage 22

Frage
181. There are 2 policies of deadlock prevention
Antworten
  • True
  • False

Frage 23

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

Frage 24

Frage
183. Choose the correct approach for the following definition "involves making dynamic choices that guarantee prevention"
Antworten
  • Deadlock avoidance
  • Deadlock prevention
  • Deadlock detection and recovery

Frage 25

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

Frage 26

Frage
185. There are 4 approaches of dealing with deadlock
Antworten
  • True
  • False

Frage 27

Frage
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"
Antworten
  • Circular wait
  • Mutual exclusion
  • No preemption
  • Hold and wait

Frage 28

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

Frage 29

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

Frage 30

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

Frage 31

Frage
190. How many policy conditions for deadlock to be possible are there?
Antworten
  • 3
  • 4
  • 2
  • 1

Frage 32

Frage
191. What is the deadlock?
Antworten
  • 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

Frage 33

Frage
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
Antworten
  • True
  • False

Frage 34

Frage
193. In which of the following approaches there is no shared data?
Antworten
  • Message passing
  • Mutual exclusion
  • Monitors
  • Semaphores

Frage 35

Frage
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"
Antworten
  • Message passing
  • Mutual exclusion
  • Monitors
  • Semaphores

Frage 36

Frage
195. Monitors are similar to classes in java and has methods and fields
Antworten
  • True
  • False

Frage 37

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

Frage 38

Frage
197. When using semaphores, processes communicate using messages
Antworten
  • True
  • False

Frage 39

Frage
198. We can implement mutex through the OS or using programming languages
Antworten
  • True
  • False

Frage 40

Frage
199. How many approaches of mutex implementation are there?
Antworten
  • 3
  • 4
  • 2
  • 5
  • 1

Frage 41

Frage
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"
Antworten
  • Mutual exclusion
  • Semaphores
  • Monitors
  • Message passing
  • Critical section

Frage 42

Frage
201. In concurrency optimal allocation of resources is difficult
Antworten
  • True
  • False

Frage 43

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

Frage 44

Frage
203. In concurrency, sharing global resources safely is difficult
Antworten
  • True
  • False

Frage 45

Frage
204. Concurrency offers genuine simultaneous execution
Antworten
  • True
  • False

Frage 46

Frage
205. Parallelism is interleaving of processes in time to give the appearance of simultaneous execution
Antworten
  • True
  • False

Frage 47

Frage
206. Choose the correct answer for the following definition "multiple processes on multiple systems"
Antworten
  • Distributed processing
  • Multiprogramming
  • Multiprocessing

Frage 48

Frage
207. Choose the correct answer for the following definition "multiple processes on a system with multiple processors"
Antworten
  • Multiprocessing
  • Multiprogramming
  • Distributed processing

Frage 49

Frage
208. Choose the correct answer for the following definition "multiple processes on a system with a single processor"
Antworten
  • Multiprogramming
  • Multiprocessing
  • Distributed processing

Frage 50

Frage
209. How many categories of process management are there?
Antworten
  • 3
  • 4
  • 1
  • 2
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

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
Kognitive Lerntheorien
Inés Fernandez
SMART Lernziele
barbara91
Quiz zum Basiswissen Europa und Europäische Union
lea_seelbach
Vetie - Biochemie - Formelsammlung
Fioras Hu
Tierhaltung/-hygiene Klausur (Jahr unbekannt)
Kim Langner
Jour Gesko WS 18/19
Adrienne Tschaudi
Chirurgie Schwein Vetie
Anne Käfer