logo

CuriousTab

CuriousTab

The 8051 Microcontroller problems


  • 1. The I/O port that does not have a dual-purpose role is:

  • Options
  • A. port 0
  • B. port 1
  • C. port 2
  • D. port 3
  • Discuss
  • 2. An alternate function of port pin P3.1 in the 8051 is:

  • Options
  • A. serial port input
  • B. serial port output
  • C. memory write strobe
  • D. memory read strobe
  • Discuss
  • 3. The internal RAM memory of the 8051 is:

  • Options
  • A. 32 bytes
  • B. 64 bytes
  • C. 128 bytes
  • D. 256 bytes
  • Discuss
  • 4. Which of the following commands will copy the contents of RAM whose address is in register 0 to port 1?

  • Options
  • A. MOV @ P1, R0
  • B. MOV @ R0, P1
  • C. MOV P1, @ R0
  • D. MOV P1, R0
  • Discuss
  • 5. Which of the following instructions will load the value 35H into the high byte of timer 0?

  • Options
  • A. MOV TH0, #35H
  • B. MOV TH0, 35H
  • C. MOV T0, #35H
  • D. MOV T0, 35H
  • Discuss
  • 6. The ADC0804 has ________ resolution.

  • Options
  • A. 4-bit
  • B. 8-bit
  • C. 16-bit
  • D. 32-bit
  • Discuss
  • 7. The I/O ports that are used as address and data for external memory are:

  • Options
  • A. ports 1 and 2
  • B. ports 1 and 3
  • C. ports 0 and 2
  • D. ports 0 and 3
  • Discuss
  • 8. To interface external EPROM memory for applications, it is necessary to demultiplex the address/data lines of the 8051.

  • Options
  • A. True
  • B. False
  • Discuss
  • 9. The 8051 has ________ parallel I/O ports.

  • Options
  • A. 2
  • B. 3
  • C. 4
  • D. 5
  • Discuss
  • 10. Which of the following commands will move the number 27H into the accumulator?

  • Options
  • A. MOV A, P27
  • B. MOV A, #27H
  • C. MOV A, 27H
  • D. MOV A, @27
  • Discuss

First 2 3 4 5 6 7