IOT Questions and Answers – UART Protocol

This set of IOT Multiple Choice Questions & Answers (MCQs) focuses on “UART Protocol”.

1. GPS module like SIM900/800 uses which protocol?
a) UART protocol
b) USART protocol
c) SPI protocol
d) I2C protocol
View Answer

Answer: a
Explanation: GSM/GPS modules like SIM900/800 uses UART communication for accepting AT commands that are used to control them and gather the replies.

2. Finger print sensor uses which interface?
a) USART protocol
b) UART protocol
c) SPI protocol
d) I2C protocol
View Answer

Answer: b
Explanation: Projects that use RFID modules can be built with modules that have a UART interface. This even applies to some finger print sensors.

3. RS232 is used for long range wired communication.
a) True
b) False
View Answer

Answer: a
Explanation: For long range communications we can convert UART protocol using an external IC to RS232 or RS485, the latter of which can be used for wired communication @100 kbits/sec up to 1.2km.
advertisement
advertisement

4. UART is similar to _________
a) SPI protocol
b) I2C protocol
c) HTTP protocol
d) MQTT protocol
View Answer

Answer: b
Explanation: UART(Universal Asynchronous Receiver/Transmitter) is a small, efficient communication device, similar to I2C.

5. What does UART contain?
a) Parallel register
b) Shift register
c) Clock
d) Parallel shift register
View Answer

Answer: b
Explanation: UART contains a shift register, which is the fundamental method of conversion between serial and parallel forms.
Note: Join free Sanfoundry classes at Telegram or Youtube

6. Communication in UART is ___________
a) Only simple
b) Only duplex
c) Only full duplex
d) Simplex, half duplex, full duplex
View Answer

Answer: d
Explanation: Communication may be simplex(in one direction only no provision for the receiving device to send data back to the transmission device), full duplex(both devices send and receive data at the same time), half duplex(devices takes turns transmitting and receiving).

7. Start bit of UART is logic high.
a) True
b) False
View Answer

Answer: b
Explanation: The start bit of UART is logical low. The start bit signals the receiver that a new character is coming.
advertisement

8. Which error occurs when the receiver can’t process the character?
a) Overrun error
b) Underrun error
c) Framing error
d) Break condition
View Answer

Answer: a
Explanation: An over run error occur when the receiver cannot process the character that just came in before the next one arrives. If the CPU or DMA controller does not service the UART quickly enough and the buffer become full, an over run will occur, and incoming will be lost.

9. What is WD1402A?
a) SPI
b) USART
c) SPIUART
d) I2C
View Answer

Answer: c
Explanation: WD1402A is the first single chip UART on the general side. Introduced in 1971. Compatible chips included the Fairchild TR1402A and the general instruments AY-5-1013.
advertisement

10. What is the speed of the 8250 UART?
a) 4800bits/sec
b) 1200bits/sec
c) 12000bit/sec
d) 9600bits/sec
View Answer

Answer: d
Explanation: 8250, 8251, 6551 etc. are some of the UART whose maximum standard serial port speed is 9600 bits per second if the operating system has a 1 millisecond interrupt latency.

11. Which error occurs when UART transmitter has completed sending a character and the transmit buffer is empty?
a) Overrun error
b) Underrun error
c) Framing error
d) Break condition
View Answer

Answer: b
Explanation: An Under run error occurs when UART transmitter has completed sending a character and the transmit buffer is empty. In asynchronous mode this is treated as an indication that no data remains to be transmitted.

12. Which error occurs when the designated start and stop bits are not found?
a) Overrun error
b) Underrun error
c) Framing error
d) Break condition
View Answer

Answer: c
Explanation: A framing error occurs when the designated start and stop bits are not found. If the data line is not in the expected state when the stop bit is expected, a framing error will occur.

13. Which error occurs when the parity of the number of 1 bit disagrees with that specified by the parity bit?
a) Overrun error
b) Underrun error
c) Framing error
d) Parity error
View Answer

Answer: d
Explanation: A parity error occurs when the parity of the number of 1 bit disagrees with that specified by the parity bit. Using parity is optional, so this error will only occur if parity checking has been enabled.

14. A __________ occurs when the receiver input is at the space level.
a) Overrun error
b) Underrun error
c) Framing error
d) Break condition
View Answer

Answer: d
Explanation: A break condition occurs when the receiver input is at the space level for longer than some duration of time, typically, for more than a character time.

15. The term break derives from ___________ signaling.
a) Current loop
b) Voltage loop
c) Power loop
d) Current and Power loop
View Answer

Answer: a
Explanation: The term break derives from current loop signaling, which was the traditional signaling used for teletypewriters.

Sanfoundry Global Education & Learning Series – IOT.

To practice all areas of IOT, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.