Embedded System Questions and Answers Part-26

1. Which of the following can reduce the chip size?
a) memory management unit
b) execution unit
c) memory protection unit
d) bus interface unit

Answer: c
Explanation: The memory protection unit have many advantages over the other units. It can reduce the chip size, cost and power consumption

2. How does the memory management unit provide the protection?
a) disables the address translation
b) enables the address translation
c) wait for the address translation
d) remains unchanged

Answer: a
Explanation: The memory management unit can be used as a protection unit by disabling the address translation that is, the physical address and the logical address are the same.

3. Which of the following is used to start a supervisor level?
a) error signal
b) default signal
c) wait for the signal
d) interrupt signal

Answer: a
Explanation: If memory access from the software does not access the correct data, an error signal is generated which will start a supervisor level software for the decision

4. What happens when a task attempts to access memory outside its own address space?
a) paging fault
b) segmentation fault
c) wait
d) remains unchanged

Answer: b
Explanation: Different tasks assign their own address space and whenever a task access memory outside its own address space, a segmentation fault result and which in turn results in the termination of the offending application.

5. Which of the following can transfer multiple bits of data simultaneously?
a) serial port
b) sequential port
c) concurrent unit
d) parallel port

Answer: d
Explanation: The parallel port can transfer multiple bits of data simultaneously. It provides the input or output binary data with a single bit allocated to each pin within the port.

6. Which of the following are interfaced as inputs to the parallel ports?
a) LEDs
b) switch
c) alphanumeric display
d) seven segmented display

Answer: b
Explanation: The LEDs, alphanumeric displays, seven segment displays are interfaced for the output whereas the switch is an input port.

7. Which of the following are interfaced as the outputs to the parallel ports?
a) keyboards
b) switches
c) LEDs
d) knobs

Answer: c
Explanation: The keyboards, switches, and knobs are used as output whereas the LEDs are used as the input port.

8. How many registers are there to control the parallel port in the basic form?
a) 1
b) 3
c) 2
d) 5

Answer: c
Explanation: The basic operation of the parallel port dealt with two types of registers which are called data direction register and the data register

9. Which of the following is also known as tri-state?
a) output port
b) input port
c) parallel port
d) output-input port

Answer: a
Explanation: The progression in the parallel ports provides a third register or an individual control bit which can make the pin in a high impedance state. An output port which can do this is also known as tri-state, that is, logic high, logic low and a high impedance state.

10. How buffers are enabled in the parallel ports?
a) by the data register
b) by data direction register
c) by individual control register
d) by data and individual control register

Answer: b
Explanation: The implementation of parallel port uses a couple of buffers which are enabled by the data direction register by setting the corresponding bit of the register