Explore topic-wise MCQs in Internet of things (IoT).

This section includes 30 Mcqs, each offering curated multiple-choice questions to sharpen your Internet of things (IoT) knowledge and support exam preparation. Choose a topic below to get started.

1.

__________ is a predecessor of SPI.

A. Queued SPI
B. Microwire
C. Microwire/plus
D. Quad SPI
Answer» C. Microwire/plus
2.

Which of the following is the disadvantage in SPI?

A. Full duplex communication
B. Push pull drivers
C. Unidirectional signals
D. More pins
Answer» E.
3.

Which of the following is an advantage of SPI?

A. No start and stop bits
B. Use 4 wires
C. Allows for single master
D. Error checking is not present
Answer» B. Use 4 wires
4.

MISO means _________

A. Line for master to send data to the slave
B. Line for the slave to send data to the master
C. Line for the clock signal
D. Line for the master to select which slave to send data to
Answer» C. Line for the clock signal
5.

To select the value of the clock to be fosc/16, what are the appropriate values?

A. SPI2X= 0, SPR1= 0, SPR0=1
B. SPI2X= 0, SPR1= 1, SPR0=0
C. SPI2X= 1, SPR1= 1, SPR0=0
D. SPI2X= 0, SPR1= 1, SPR0=1
Answer» B. SPI2X= 0, SPR1= 1, SPR0=0
6.

Which frequency is not recommended for SPI clock?

A. fosc/4
B. fosc/64
C. fosc/16
D. fosc/2
Answer» E.
7.

Why do we make the connection of the SCLK for communicating serially between two devices?

A. to get a clock output from the device
B. to synchronize the two devices
C. to obtain an analog output
D. all of the mentioned
Answer» C. to obtain an analog output
8.

WHICH_OF_THE_FOLLOWING_IS_THE_DISADVANTAGE_IN_SPI??$

A. Full duplex communication
B. Push pull drivers
C. Unidirectional signals
D. More pins
Answer» E.
9.

WHICH_FREQUENCY_IS_NOT_RECOMMENDED_FOR_SPI_CLOCK??$

A. fosc/4
B. fosc/64
C. fosc/16
D. fosc/2
Answer» E.
10.

WHICH_OF_THE_FOLLOWING_IS_AN_ADVANTAGE_OF_SPI??$

A. No start and stop bits
B. Use 4 wires
C. Allows for single master
D. Error checking is not present
Answer» B. Use 4 wires
11.

Which of the following is the type of SPI controller?$

A. Queued SPI
B. Microwire
C. Microwire/plus
D. Quad SPI
Answer» B. Microwire
12.

To_select_the_value_of_the_clock_to_be_fosc/16,_what_are_the_appropriate_values?$

A. SPI2X= 0, SPR1= 0, SPR0=1
B. SPI2X= 0, SPR1= 1, SPR0=0
C. SPI2X= 1, SPR1= 1, SPR0=0
D. SPI2X= 0, SPR1= 1, SPR0=1
Answer» B. SPI2X= 0, SPR1= 1, SPR0=0
13.

SMBUS stands for ___________

A. Serial Memory Bus
B. Serial Management Bus
C. System Management Bus
D. System Memory Bus
Answer» D. System Memory Bus
14.

Do SPI have internal flash?

A. True
B. False
Answer» B. False
15.

Which has a half duplex communication?

A. Queued SPI
B. Microwire
C. Microwire/plus
D. Quad SPI
Answer» C. Microwire/plus
16.

___________is_a_predecessor_of_SPI.

A. Queued SPI
B. Microwire
C. Microwire/plus
D. Quad SPI
Answer» C. Microwire/plus
17.

SPI can act as a half duplex transmission?

A. true
B. false
C. depends on the conditions
D. can’t be said
Answer» C. depends on the conditions
18.

MISO means ________?

A. Line for master to send data to the slave
B. Line for the slave to send data to the master
C. Line for the clock signal
D. Line for the master to select which slave to send data to
Answer» C. Line for the clock signal
19.

How do we set the SPI, to operate in the master mode 1?

A. We set the MSTR bit, and make the CPOL= 1 and CPHA=0
B. We set the MSTR bit, and make the CPOL= 0 and CPHA=1
C. We reset the MSTR bit, and make the CPOL= 1 and CPHA=0
D. We reset the MSTR bit, and make the CPOL= 0 and CPHA=1
Answer» C. We reset the MSTR bit, and make the CPOL= 1 and CPHA=0
20.

MOSI means __________

A. Line for master to send data to the slave
B. Line for the slave to send data to the master
C. Line for the clock signal
D. Line for the master to select which slave to send data to
Answer» B. Line for the slave to send data to the master
21.

In AVR, which of the following registers are used for SPI?

A. SPSR
B. SPCR
C. SPDR
D. All of the mentioned
Answer» E.
22.

SPI uses how many lines?

A. 4 lines
B. 1 line
C. 3 lines
D. 2 lines
Answer» E.
23.

In SPI write, LSB goes first?

A. true
B. false
C. can’t be said
D. depends on the cases
Answer» C. can‚Äö√Ñ√∂‚àö√ë‚àö¬•t be said
24.

How many logic signals are there in SPI?

A. 5 signals
B. 6 signals
C. 4 signals
D. 7 signals
Answer» B. 6 signals
25.

If CPHA= 0 and CPOL=1, then which of the following is true?

A. read on rising edge, changed on a falling edge
B. read on falling edge, changed on a rising edge
C. write on rising edge, changed on a falling edge
D. write on rising edge, changed on a falling edge
Answer» C. write on rising edge, changed on a falling edge
26.

SPI is described as Asynchronous serial interface.

A. True
B. False
Answer» C.
27.

Do SPI have/has a single master?

A. True
B. False
Answer» B. False
28.

What is the function of the CE pin in SPI?

A. it is used for synchronization
B. it is used as a transmitting pin
C. it is used as a receiving pin
D. it is used to initiate and terminate the data transfer
Answer» E.
29.

SPI device communicates in _________

A. Simplex
B. Half duplex
C. Full duplex
D. Both half and full duplex
Answer» D. Both half and full duplex
30.

Secure digital card application uses which protocol?

A. UART
B. SPI
C. I2C
D. USART
Answer» C. I2C