Test
2.0
Preguntas del test (50)
1158. Choose the characteristics of Harvard architecture
- Aseparate program and data memories
- Bseparated buses allow one instruction to execute while the next instruction is fetched
- Cdata and instructions mustn’t have the same width
- Done memory for data and program
- ECPU provides address to get data or instruction
- Fdata and instructions must have the same width
2159. Which of the following architectures differs by memory accessing?
- AVon Neumann
- BHarvard
- CComplex Instruction Set Computers
- DReduced Instruction Set Computers
3160. 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
- AMicrocontroller
- BGeneral purpose microprocessor
4161. Choose the correct syntax of assembly statements
- Aname operation operand(s) comments
- Boperation name operand(s) comments
- Coperation operand(s) name comments
- Dcomments name operation operand(s)
5163. Name field of assembly statement is not case sensitive
- AVerdadero
- BFalso
6164. Choose the legal name(s) in assembly
- A@variable_name
- Bvariable?
- Cvariable&name
- Dvariable name
- E1variable
7165. In two-operand instruction, the first operand is source and the second operand is destination
- AVerdadero
- BFalso
8166. An instruction may have one or more operands
- AVerdadero
- BFalso
9167. In assembly language you can express data only in binary and decimal
- AVerdadero
- BFalso
10168. You should use a radix symbol in order to differentiate between binary, octal or hexadecimal
- AVerdadero
- BFalso
11169. Which symbol you should use to leave the variable uninitialized
- A?
- B!
- C@
- D$
12170. In assembly language, you can skip the name of variable
- AVerdadero
- BFalso
13171. Choose the correct syntax of variable declaration in assembly
- Avariable_name type initial_value
- Btype variable_name initial_vaule
- Ctype initial_value variable_name
14173. Choose the definition of code segment in assembly
- AContains a program’s instructions
- BA block of memory to store a stack
- CAll variable definitions
15174. Choose the definition of data segment in assembly
- AAll variable definitions
- BA block of memory to store a stack
- CContains a program’s instructions
16175. Choose the definition of stack segment in assembly
- AA block of memory to store a stack
- BAll variable definitions
- CContains a program’s instructions
17176. There is no memory allocated for constants in assembly language
- AVerdadero
- BFalso
18177. Which keyword you should use in order to define a constant in assembly language
- AEQU
- BDD
- CCONST
- DEQ
- EDW
19178. In assembly statement name and comment are mandatory
- AVerdadero
- BFalso
20179. How many deadlock recovery algorithms are there?
- A4
- B3
- C2
- D5
- E1
21180. There are 3 approaches of deadlock avoidance
- AVerdadero
- BFalso
22181. There are 2 policies of deadlock prevention
- AVerdadero
- BFalso
23182. Choose the correct approach for the following definition "involves recognizing when deadlock has occurred, and trying to recover"
- ADeadlock detection and recovery
- BDeadlock avoidance
- CDeadlock prevention
24183. Choose the correct approach for the following definition "involves making dynamic choices that guarantee prevention"
- ADeadlock avoidance
- BDeadlock prevention
- CDeadlock detection and recovery
25184. Choose the correct approach for the following definition "adopting a static policy that disallows one of the four conditions above"
- ADeadlock prevention
- BDeadlock detection and recovery
- CDeadlock avoidance
26185. There are 4 approaches of dealing with deadlock
- AVerdadero
- BFalso
27186. 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"
- ACircular wait
- BMutual exclusion
- CNo preemption
- DHold and wait
28187. Choose the correct answer for the following definition: "No process can be forced to release a resource"
- ANo preemption
- BMutual exclusion
- CHold and wait
- DCircular wait
29188. Choose the correct answer for the following definition "A process may hold some resources while waiting for others"
- AHold and wait
- BMutual exclusion
- CCircular wait
- DNo pre-emption
30Choose the correct answer for the following definition "Only one process may use a resource at one time"
- AMutual exclusion
- BCircular wait
- CNo preemption
- DHold and wait
31190. How many policy conditions for deadlock to be possible are there?
- A3
- B4
- C2
- D1
32191. What is the deadlock?
- APermanent blocking of a set of processes that either compete for global resources or communicate with each other
- BInterleaving of processes in time to give the appearance of simultaneous execution
- CWhen one process is inside a critical section of code, other processes must be prevented from entering that section
- DProcesses “communicate” via global counters that are initialized to a positive integer and that can be accessed only through two atomic operations
33192. 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
- AVerdadero
- BFalso
34193. In which of the following approaches there is no shared data?
- AMessage passing
- BMutual exclusion
- CMonitors
- DSemaphores
35194. 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"
- AMessage passing
- BMutual exclusion
- CMonitors
- DSemaphores
36195. Monitors are similar to classes in java and has methods and fields
- AVerdadero
- BFalso
37196. In atomic operations semSignal(x) and semWait(x), what is the 'x'?
- AThe number of processes that can execute critical section
- BThe number of processes
- CThe number of monitors
- DNo correct answer
38197. When using semaphores, processes communicate using messages
- AVerdadero
- BFalso
39198. We can implement mutex through the OS or using programming languages
- AVerdadero
- BFalso
40199. How many approaches of mutex implementation are there?
- A3
- B4
- C2
- D5
- E1
41200. 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"
- AMutual exclusion
- BSemaphores
- CMonitors
- DMessage passing
- ECritical section
42201. In concurrency optimal allocation of resources is difficult
- AVerdadero
- BFalso
43202. In concurrency, locating programming errors can't be difficult, because the contexts in which errors occur cannot always be reproduced easily
- AVerdadero
- BFalso
44203. In concurrency, sharing global resources safely is difficult
- AVerdadero
- BFalso
45204. Concurrency offers genuine simultaneous execution
- AVerdadero
- BFalso
46205. Parallelism is interleaving of processes in time to give the appearance of simultaneous execution
- AVerdadero
- BFalso
47206. Choose the correct answer for the following definition "multiple processes on multiple systems"
- ADistributed processing
- BMultiprogramming
- CMultiprocessing
48207. Choose the correct answer for the following definition "multiple processes on a system with multiple processors"
- AMultiprocessing
- BMultiprogramming
- CDistributed processing
49208. Choose the correct answer for the following definition "multiple processes on a system with a single processor"
- AMultiprogramming
- BMultiprocessing
- CDistributed processing
50209. How many categories of process management are there?
- A3
- B4
- C1
- D2
Información
- Descripción
- Quiz on 2.0, created by Little Johnny on 20/12/2017.
- Autor
- Little Johnny
- Idioma
- English
- Visitas
- 25
- Etiquetas
- Valoración
- Aún sin valoraciones Valora este test