Pregunta 1
Pregunta
The figure below illustrates a partial program execution
What is the address of the instruction that is being executed?
Pregunta 2
Pregunta
What is NOT a main structural element of a computer system?
Respuesta
-
System bus
-
Main memory
-
Operating system
-
Processor
Pregunta 3
Pregunta
Which of the following element of a computer system controls the operation of the computer and performs its data processing functions?
Respuesta
-
Main Memory
-
I/O modules
-
Processor
-
System bus
Pregunta 4
Pregunta
This register specifies the location in memory for the next read or write
Respuesta
-
I/OAR
-
I/OBR
-
Memory Address Register
-
Memory Buffer Register
Pregunta 5
Pregunta
Complete the relationship concerning the memory systems: faster access time —
Respuesta
-
slower access speed
-
greater capacity
-
smaller cost per bit
-
greater cost per bit
Pregunta 6
Pregunta
When a processor attempts to read a byte or word of memory, it firstly checks the:
Respuesta
-
Cache
-
Disk
-
CD
-
Main memory
Pregunta 7
Pregunta
Complete the relationship concerning the memory systems: greater capacity —
Respuesta
-
faster access speed
-
greater cost per bit
-
smaller cost per bit
-
lower capacity
Pregunta 8
Pregunta
The processor contains a single data register, called:
Pregunta 9
Pregunta
As one goes down the memory hierarchy
the following occurs
Pregunta 10
Pregunta
The figure below shows:
Respuesta
-
Parent-child interrupt processing
-
Nested interrupt processing
-
Parallel interrupt processing
-
Sequential interrupt processing
Pregunta 11
Pregunta
The figure below shows:
Respuesta
-
Nested interrupt processing
-
Parallel interrupt processing
-
Parent-child interrupt processing
-
Sequential interrupt processing
Pregunta 12
Pregunta
At the beginning of each instruction cycle, the processor fetches an instruction from the memory. The address of the instruction is held in:
Pregunta 13
Pregunta
Which of the following registers are used by the processor to exchange data with input/output module?
Respuesta
-
MAR and MBR
-
PC and IR
-
I/OAR and I/OBR
-
Program status word
Pregunta 14
Pregunta
Which of the following element of a computer system moves data between the computer and its external environment?
Respuesta
-
I/O modules
-
Processor
-
Main memory
-
System bus
Pregunta 15
Pregunta
Which register contains the address of the next instruction to be fetched?
Respuesta
-
Instruction register
-
Program counter
-
Execution register
-
Process counter
Pregunta 16
Pregunta
Which register contains the instruction most recently fetched?
Respuesta
-
Program counter
-
Process counter
-
Execution register
-
Instruction register
Pregunta 17
Pregunta
Choose the micro-instructions that reflect instruction execution stage shown in the figure below:
Respuesta
-
IR → MAR 941
M → MBR 0002
MBR → AC 0002
-
PC → MAR 303
M → MBR 2941
MBR → IR 2941
-
PC → MAR 302
M → MBR 2941
MBR → IR 2941
-
IR → MAR 941
M → MBR 0005
MBR → AC 0005
Pregunta 18
Pregunta
Choose the micro-instructions that reflect instruction execution stage shown in the figure below:
Respuesta
-
IR → MAR 941
M → MBR 0002
MBR → AC 0005
-
IR → MAR 941
M → MBR 0002
MBR → AC 0002
-
PC → MAR 302
M → MBR 2941
MBR → IR 2941
-
PC → MAR 301
M → I/OBR 5941
I/OBR → IR 5941
Pregunta 19
Pregunta
Choose the micro-instructions that reflect instruction execution stage shown in the figure below:
Respuesta
-
PC → MAR 300
M → MBR 1940
MBR → IR 1940
-
M → MAR 300
M → MBR 1940
MBR → IR 1940
-
PC → MAR 300
M → MAR 1940
MBR → IR 1940
-
PC → MAR 301
M → MBR 1940
MBR → IR 1940
Pregunta 20
Pregunta
Choose the micro-instructions that reflect execution stage shown in the figure below:
Respuesta
-
IR → MAR 1940
M → MBR 0003
MBR → AC 0003
-
PC → MAR 300
M → MBR 1940
MBR → IR 1940
-
IR → MAR 940
M → MBR 940
MBR → AC 0003
-
IR → MAR 940
M → MBR 0003
MBR → AC 0003
Pregunta 21
Pregunta
The figure below illustrates a partial program execution
What is the memory location of the data that is addressed in the instruction?
Pregunta 22
Pregunta
The figure below illustrates a partial program execution.
What is the memory location of the data that is addressed in the instruction?
Pregunta 23
Pregunta
The figure below illustrates a partial program execution
Instruction in the IR will:
Respuesta
-
Add 2 to AC from the memory
-
Store 3 to AC from the memory
-
Load 3 to AC from the memory
-
Add 3 to AC from the memory
Pregunta 24
Pregunta
When an I/O device completes an I/O operation, the device issues an interrupt signal to the processor and then:
Respuesta
-
The processor finishes the execution of the current instruction before responding to the interrupt
-
The processor loads the program counter with the entry location of the interrupt-handling routine
-
The processor saves information needed to resume the current program at the point if interrupt
-
The processor stops execution of the current instruction without finishing it and responds to the interrupt
Pregunta 25
Pregunta
The figure a) demonstrates the program timing diagram for:
Respuesta
-
Interrupts; slow I/O wait
-
Interrupts; long I/O wait
-
Interrupts; short I/O wait
-
Interrupts; fast I/O wait
-
No interrupts
Pregunta 26
Pregunta
The smaller, more expensive, faster memory is:
Respuesta
-
Main memory
-
Register
-
Cache
-
Disk drive
Pregunta 27
Pregunta
If the contents of a block in the cache are altered, then it is needed to save it back to main memory before replacing it. This is called:
Respuesta
-
mapping function
-
replacement algorithm
-
write policy
-
locality of reference
Pregunta 28
Pregunta
Complete the relationship concerning the memory systems: greater capacity —
Respuesta
-
lower capacity
-
slower access speed
-
faster access speed
-
greater cost per bit
Pregunta 29
Pregunta
We have
Ts = average (system) access time
T1 = access time of M1 (e.g. cache)
T2 = access time of M2 (e.g. main memory)
T3 = access time of M3 (e.g. disk)
H1 = hit ratio, fraction of time reference is found in M1
H2 = hit ratio, fraction of time reference is found in M2
The average time to access an item in case the item in cache is:
Pregunta 30
Pregunta
Which register contains condition codes set by the processor hardware as the result of operations?
Respuesta
-
Accumulator
-
Program counter
-
Stack pointer
-
Program status word
Pregunta 31
Pregunta
If the accessed word is not found in the faster memory, that is defined as a:
Pregunta 32
Pregunta
Which of the following element of a computer system stores data and programs?
Respuesta
-
Main memory
-
Processor
-
System bus
-
I/O modules
Pregunta 33
Pregunta
The processor is executing 'Load AC from memory' instruction. Choose the correct micro-instructions:
Respuesta
-
PC → MAR M → MBR MBR → IR IR → MAR M → MBR MBR → AC
-
PC → MAR M → MBR MBR → IR IR → MBR M → MAR MAR → AC
-
PC → MAR M → MBR MBR → AC IR → MAR M → MBR MBR → AC
-
PC → MBR M → MAR MAR → IR IR → MAR M → MBR MBR → AC
Pregunta 34
Pregunta
The processor determined that there is a pending interrupt and sent an acknowledgement signal to the device that issued the interrupt. Then, the processor:
Respuesta
-
Pause and remain idle until the I/O operation finishes
-
Saves the current state of the program being executed
-
Fetches new instruction from the user program and executes it
-
Loads new PC value based on interrupt
Pregunta 35
Pregunta
As one goes down the memory hierarchy
the following occurs:
Pregunta 36
Pregunta
When the time required for the I/O operation is less than the time to complete the execution of instructions between write operations in the user program, it is:
Respuesta
-
Fast I/O wait
-
Short I/O wait
-
Slow I/O wait
-
Long I/O wait
Pregunta 37
Pregunta
We have
Ts = average (system) access time
T1 = access time of M1 (e.g. cache)
T2 = access time of M2 (e.g. main memory)
T3 = access time of M3 (e.g. disk)
H1 = hit ratio, fraction of time reference is found in M1
H2 = hit ratio, fraction of time reference is found in M2
The average time to access an item in case the item in cache is:
Respuesta
-
Ts = H1 × T1 + H2 × T2 + (1 — H2) × T3
-
Ts = H1 × H1 + (1 — H1) × (H2 × (T1 + T2) + (1 — H2) × (T1 + T2 + T3))
-
Ts = H1 × H1 + (1 — H1) × (H2 × (T2 + T3)
-
Ts = H1 × H1 + (1 — H1) × (H1 × T1 + H2 × (T1+T2) + (1 — H2) × (T2 + T3))
Pregunta 38
Pregunta
The type of memory is nonvolatile:
Respuesta
-
Secondary memory
-
Cache
-
Main memory
-
Register
Pregunta 39
Pregunta
Which of the following provides for communication among elements of a computer system?
Respuesta
-
I/O modules
-
Processor
-
Main memory
-
System bus