Embedded System Peripheral MCQ Quiz – Objective Question with Answer for Embedded System Peripheral

46. Which of the following are the three hardware signals?

A. START, STOP, ACKNOWLEDGE
B. STOP, TERMINATE, END
C. START, SCL, SDA
D. STOP, SCL, SDA

Answer: A

The three hardware signals are START, STOP and ACKNOWLEDGE. These signals help in the transmission of data between the slave and the masters.

 

47. Which of the following performs the START signal?

A. master
B. slave
C. CPU
D. memory

Answer: A

The START signal is performed by the master by making the SCL and SDA pin high.

 

48. Which of the following are handshake signals?

A. START
B. STOP
C. ACKNOWLEDGE
D. START and STOP

Answer: C

The START signal and ACKNOWLEDGE signals are almost similar but there exhibit a small change. The START signal is initiated by the master only but the ACKNOWLEDGE signal is a handshake between both the master and slave.

 

49. A packet is also referred to as

A. postcard
B. telegram
C. letter
D. data

Answer: B

The data is transmitted in packets having one or more bytes. These packets of data are also known as a telegram.

 

50. Which of the following byte performs the slave selection?

A. first byte
B. second byte
C. terminal byte
D. eighth byte

Answer: A

The slave selection is performed by using the first byte as an address byte. When the address byte is sent out all the slave devices compare the address by its own value. If there is a match, the ACKNOWLEDGE signal will be sent by the slave.

 

51. Which of the following indicates the type of operation that the master requests?

A. address value
B. initial value
C. terminal count
D. first byte

Answer: A

The address value helps the master to select the device and indicates what operation should be taken. If the 8th bit is logic one, the read operation takes out and if it is logic zero, the write operation takes out.

 

52. How can both the single-byte and the double-byte address slave use the same bus?

A. extended memory
B. extended address
C. peripheral count
D. slave bus

Answer: B

For providing more addressing, an extended address is developed which possesses two bytes in which the first byte uses a special code to distinguish it from a single byte address so that the single-byte and double-byte address slaves can use a shared bus.

 

53. Which counter selects the next register in the I2C?

A. auto-incrementing counter
B. decrementing counter
C. auto-decrementing counter
D. terminal counter

Answer: A

The peripheral having a small number of locations can use an auto-incrementing counter for accessing the next register. But this will not be applicable to bigger memory devices.

 

54. Which is an efficient method for the EEPROM?

A. combined format
B. auto-incrementing counter
C. register set
D. single format

Answer: A

A combined format is an efficient method for the EEPROM because it is having a large number of registers.

 

55. Which of the following uses two data transfers?

A. auto-incrementing counter
B. auto-decrementing counter
C. combined format
D. single format

Answer: C

The EEPROM is having a large number of registers, so the auto-incrementing counter will not be applicable. So there is an alternative method that uses an index value that is written to the chip, before accessing the data. This is called combined format and this combined format uses two data transfers. One is to write the data and the other is to read.

 

56. Which of the following is efficient for the small number of registers?

A. auto-incrementing counter
B. auto-decrementing counter
C. combined format
D. single format

Answer: A

The peripherals which have a small number of locations can use an auto-increment counter within the peripheral in which each access selects the next register.

 

57. Which can determine the timeout value?

A. polling
B. timer
C. combined format
D. watchdog timer

Answer: A

The polling can be used along with the counter to determine the timeout value.

 

58. How is bus lockup avoided?

A. timer and polling
B. combined format
C. terminal counter
D. counter

Answer: A

The timeout value can be changed by the peripheral devices, so for a sophisticated system, a combination of polling and timer is used to check for the signal n times within a predefined interval. This can avoid the bus lock.

 

59. Which of the following can determine if two masters start to use the bus at the same time?

A. counter detect
B. collision detect
C. combined format
D. auto-incremental counter

Answer: B

The collision detection technique helps to determine whether two or more masters are using the same bus in a multi-master device.

 

60. Which ports are used in the multi-master system to avoid errors?

A. unidirectional port
B. bidirectional port
C. multi-directional port
D. tridirectional port

Answer: B

By using the bidirectional ports, each master can monitor the line and confirm its expected state and if it is not matched, a mismatch or collision had occurred which will discontinue the transmission by the master.

Scroll to Top