Computer Architecture Questions and Answers Part-14

1. What is the operation in Breakpoint mode?
a) The program is interrupted after each detection
b) The program will not be stopped and the errors are sorted out after the complete program is scanned
c) There is no effect on the program, i.e the program is executed without rectification of errors
d) The program is halted only at specific points

Answer: d
Explanation: The Breakpoint mode of operation allows the program to be halted at only specific locations.

2. What are the different modes of operation of a computer?
a) User and System mode
b) User and Supervisor mode
c) Supervisor and Trace mode
d) Supervisor, User and Trace mode

Answer: b
Explanation: The user programs are in the user mode and the system crucial programs are in the supervisor mode.

3. The instructions which can be run only supervisor mode are?
a) Non-privileged instructions
b) System instructions
c) Privileged instructions
d) Exception instructions

Answer: c
Explanation: These instructions are those which can are crucial for the system’s performance and hence cannot be adultered by user programs, so is run only in supervisor mode.

4. A privilege exception is raised __________
a) When a process tries to change the mode of the system
b) When a process tries to change the priority level of the other processes
c) When a process tries to access the memory allocated to other users
d) All of the mentioned

Answer: d
Explanation: All of the mentioned

5. How is a privilege exception dealt with?
a) The program is halted and the system switches into supervisor mode and restarts the program execution
b) The Program is stopped and removed from the queue
c) The system switches the mode and starts the execution of a new process
d) The system switches mode and runs the debugger

Answer: a
Explanation: The program is halted and the system switches into supervisor mode and restarts the program execution

6. The DMA differs from the interrupt mode by __________
a) The involvement of the processor for the operation
b) The method of accessing the I/O devices
c) The amount of data transfer possible
d) None of the mentioned

Answer: d
Explanation: DMA is an approach of performing data transfers in bulk between memory and the external device without the intervention of the processor.

7. The DMA transfers are performed by a control circuit called as __________
a) Device interface
b) DMA controller
c) Data controller
d) Overlooker

Answer: b
Explanation: The Controller performs the functions that would normally be carried out by the processor.

8. In DMA transfers, the required signals and addresses are given by the __________
a) Processor
b) Device drivers
c) DMA controllers
d) The program itself

Answer: c
Explanation: The DMA controller acts as a processor for DMA transfers and overlooks the entire process.

9. After the completion of the DMA transfer, the processor is notified by __________
a) Acknowledge signal
b) Interrupt signal
c) WMFC signal
d) None of the mentioned

Answer: b
Explanation: The controller raises an interrupt signal to notify the processor that the transfer was complete.

10. The DMA controller has _______ registers.
a) 4
b) 2
c) 3
d) 1

Answer: c
Explanation: The Controller uses the registers to store the starting address, word count and the status of the operation.