Serial Port MCQ Quiz – Objective Question with Answer for Serial Port

1. Which of the following is the pin efficient method of communicating between other devices?

A. serial port
B. parallel port
C. peripheral port
D. memory port

Answer: A

The serial ports are considered to be the pin efficient method of communication between other devices within an embedded system.

 

2. Which of the following depends on the number of bits that are transferred?

A. wait for the statement
B. ready statement
C. time
D. counter

Answer: C

The time taken for the data transmission within the system depends on the clock frequency and the number of bits that are transferred.

 

3. Which of the following is the most commonly used buffer in serial porting?

A. LIFO
B. FIFO
C. FILO
D. LILO

Answer: B

Most of the serial ports use a FIFO buffer so that the data is not lost. The FIFO buffer is read to receive the data, that is, first in first out.

 

4. What does SPI stand for?

A. serial-parallel interface
B. serial peripheral interface
C. sequential peripheral interface
D. sequential port interface

Answer: B

The serial-parallel interface bus is a commonly used interface that involves a master-slave mechanism. The shift registers are worked by the master and the slave devices are driven by a common clock.

 

5. Which allows the full-duplex synchronous communication between the master and the slave?

A. SPI
B. serial port
C. I2C
D. parallel port

Answer: A

The serial peripheral interface allows the full-duplex synchronous communication between the master and the slave devices. MC68HC05 developed by Motorola uses SPI for interfacing peripheral devices.

 

6. Which of the following processor uses SPI for interfacing?

A. 8086
B. 8253
C. 8254
D. MC68HC11

Answer: D

The MC68HC05 and MC68HC11 microcontrollers use the serial peripheral interface for the peripheral interfacing.

 

7. In which register does the data written in the master device?

A. index register
B. accumulator
C. SPDR
D. status register

Answer: C

The serial peripheral interface follows a master-slave mechanism in which the data is written to the SPDR register in the master device and clocked out into the slave device SPDR by using a common clock signal called SCK.

 

8. What happens when 8 bits are transferred in the SPI?

A. wait statement
B. ready statement
C. interrupt
D. remains unchanged

Answer: C

The interrupts are locally generated when 8-bits are transferred so that the data can be read before the next byte is clocked through.

 

9. Which signal is used to select the slave in the serial peripheral interfacing?

A. slave select
B. master select
C. interrupt
D. clock signal

Answer: A

The slave select signal selects which slave is to receive data from the master.

 

10. How much time period is necessary for the slave to receive the interrupt and transfer the data?

A. 4 clock time period
B. 8 clock time period
C. 16 clock time period
D. 24 clock time period

Answer: B

The SPI uses an eight-clock time period for the slave to receive the interrupt and transfer the data which determines the maximum data rate.

Scroll to Top