I/O Programming MCQ Questions

I/O Programming MCQs : This section focuses on "I/O Programming" in Embedded Systems. These Multiple Choice Questions (MCQ) should be practiced to improve the Embedded Systems skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.

1. In 8051, I/O operations are done using _______ ports and _____ pins.

A. 2,32
B. 4,32
C. 2,40
D. 4,40

View Answer


2. The four ports P0, P1, P2, and P3, each use ___________ pins.

A. 2
B. 4
C. 8
D. 16

View Answer


3. Which port has 8 pins (32 to 39)?

A. Port 0
B. Port 1
C. Port 2
D. Port 3

View Answer


4. Port 2 is an 8-bit port (pin 1 through 8)?

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


5. Pin 40 provides supply to the Chip and it is +5 V known as?

A. Vss
B. PSEN
C. Vpp
D. Vcc

View Answer


6. JB bit, target Instructions used for?

A. jump to target if bit = 0 (jump if no bit)
B. jump to target if bit = 1, clear bit (jump if bit, then clear)
C. jump to target if bit = 1 (jump if bit)
D. None of the above

View Answer


7. Which Instructions used for complement the bit (bit = NOT bit)?

A. CLR bit
B. CPL bit
C. SETB bit
D. COM bit

View Answer


8. ALE stands for?

A. Address Length Enable
B. Active Latch Enable
C. Address Latch Enable
D. Active Length Enable

View Answer


9. Gnd : Pin 20 provides ground for the Reference

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


10. Which of the following is also an active low pin and it gets activated after applying a low pulse.

A. RST
B. EA
C. ALE
D. PSEN

View Answer




Discussion


* You must be logged in to add comment.