Micro Processors and Micro Controllers

Download Micro Processors and Micro Controllers

Post on 15-Apr-2016

10 views

Category:

Documents

3 download

Embed Size (px)

DESCRIPTION

mpmc

TRANSCRIPT

  • JNTUW

    ORLD

    Code No: 56012 Set No. 1 JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

    III B.Tech. II Sem., II Mid-Term Examinations, April 2012 MICRO PROCESSORS AND MICRO CONTROLLERS

    Objective Exam Name: ______________________________ Hall Ticket No.

    Answer All Questions. All Questions Carry Equal Marks.Time: 20 Min. Marks: 10. A

    I Choose the correct alternative: 1. Signal voltage ranges for a logic high and for a logic low in RS-232C standard are [ ] (A) Low = 0 volt to 1.8 volt, high = 2.0 volt to 5 volt

    (B) Low =-15 volt to 3 vol, high = +3 volt to +15 volt (C) Low = +3 volt to +15 volt, high = -3 volt to -15 volt (D) Low = 2 volt to 5.0 volt, high = 0 volt to 1.8 volt 2. The 8051 has ________ 16-bit counter/timers. [ ] (A) 1 (B) 2 (C) 3 (D) 4 3. The I/O ports that are used as address and data for external memory are: [ ] (A) ports 1 and 2 (B) ports 1 and 3 (C) ports 0 and 2 (D) ports 0 and 3 4. When the 8051 is reset and the line is HIGH, the program counter points to the first program

    instruction in the: [ ] (A) internal code memory (B) external code memory (C) internal data memory (D) external data memory 5. A HIGH on which pin resets the 8051 microcontroller? [ ] (A) RESET (B) RST (C) PSEN (D) RSET 6. An alternate function of port pin P3.1 in the 8051 is: [ ] (A) serial port input (B) serial port output (C) memory write strobe (D) memory read strobe 7. In 8051 an external interrupt 1 vector address is of _____ and causes of interrupt if_____ [ ] (A) 000BH, a high to low transition on pin INT1 (B) 001BH, a low to high transition on pin INT1 (C) 0013H, a high to low transition on pin INT1 (D) 0023H, a low to high transition on pin INT1 8. In 8051 which interrupt has highest priority? [ ] (A) IE1 (B) TF0 (C) IE0 (D) TF1 9. In 8051,After reset the SP register is initialized to address [ ] (A) 8H (B) 9H (C) 7H (D) 6H 10. MOV A, @ R1 will: [ ] (A) copy R1 to the accumulator

    (B) copy the accumulator to R1 (C) copy the contents of memory whose address is in R1 to the accumulator (D) copy the accumulator to the contents of memory whose address is in R1 Cont2

    www.jntuworld.com

    www.jntuworld.com

    www.jwjobs.net

  • JNTUW

    ORLD

    Code No: 56012 :2: Set No. 1 II Fill in the blanks 11. A high on the RESET input forces the 8251A into an __________ mode. 12. The most commonly used RS-232 connector is __________. 13. The USART consists of ______________ buffer. 14. The 8051 microcontroller has ___________ on-chip I/O ports. 15. ___________ sign indicates it is a immediate addressing mode. 16. The function of instruction DEC Rn is _______________. 17. For selecting counter operation the bit C/ is ____________. 18. The transmit and receive bits in SCON ( serial port control register) are _________. 19. The 8051 can handle __________ interrupt sources. 20. The external interrupt priority control bits in IP(interrupt priority control register) are __________.

    -oOo-

    www.jntuworld.com

    www.jntuworld.com

    www.jwjobs.net

  • JNTUW

    ORLD

    Code No: 56012 Set No. 2 JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

    III B.Tech. II Sem., II Mid-Term Examinations, April 2012 MICRO PROCESSORS AND MICRO CONTROLLERS

    Objective Exam Name: ______________________________ Hall Ticket No.

    Answer All Questions. All Questions Carry Equal Marks.Time: 20 Min. Marks: 10. A

    I Choose the correct alternative: 1. When the 8051 is reset and the line is HIGH, the program counter points to the first program

    instruction in the: [ ] (A) internal code memory (B) external code memory (C) internal data memory (D) external data memory 2. A HIGH on which pin resets the 8051 microcontroller? [ ] (A) RESET (B) RST (C) PSEN (D) RSET 3. An alternate function of port pin P3.1 in the 8051 is: [ ] (A) serial port input (B) serial port output (C) memory write strobe (D) memory read strobe 4. In 8051 an external interrupt 1 vector address is of _____ and causes of interrupt if_____ [ ] (A) 000BH, a high to low transition on pin INT1 (B) 001BH, a low to high transition on pin INT1 (C) 0013H, a high to low transition on pin INT1 (D) 0023H, a low to high transition on pin INT1 5. In 8051 which interrupt has highest priority? [ ] (A) IE1 (B) TF0 (C) IE0 (D) TF1 6. In 8051,After reset the SP register is initialized to address [ ] (A) 8H (B) 9H (C) 7H (D) 6H 7. MOV A, @ R1 will: [ ] (A) copy R1 to the accumulator

    (B) copy the accumulator to R1 (C) copy the contents of memory whose address is in R1 to the accumulator (D) copy the accumulator to the contents of memory whose address is in R1 8. Signal voltage ranges for a logic high and for a logic low in RS-232C standard are [ ] (A) Low = 0 volt to 1.8 volt, high = 2.0 volt to 5 volt

    (B) Low =-15 volt to 3 vol, high = +3 volt to +15 volt (C) Low = +3 volt to +15 volt, high = -3 volt to -15 volt (D) Low = 2 volt to 5.0 volt, high = 0 volt to 1.8 volt 9. The 8051 has ________ 16-bit counter/timers. [ ] (A) 1 (B) 2 (C) 3 (D) 4 10. The I/O ports that are used as address and data for external memory are: [ ] (A) ports 1 and 2 (B) ports 1 and 3 (C) ports 0 and 2 (D) ports 0 and 3 Cont2

    www.jntuworld.com

    www.jntuworld.com

    www.jwjobs.net

  • JNTUW

    ORLD

    Code No: 56012 :2: Set No. 2 II Fill in the blanks 11. The 8051 microcontroller has ___________ on-chip I/O ports. 12. ___________ sign indicates it is a immediate addressing mode. 13. The function of instruction DEC Rn is _______________. 14. For selecting counter operation the bit C/ is ____________. 15. The transmit and receive bits in SCON ( serial port control register) are _________. 16. The 8051 can handle __________ interrupt sources. 17. The external interrupt priority control bits in IP(interrupt priority control register) are __________. 18. A high on the RESET input forces the 8251A into an __________ mode. 19. The most commonly used RS-232 connector is __________. 20. The USART consists of ______________ buffer.

    -oOo-

    www.jntuworld.com

    www.jntuworld.com

    www.jwjobs.net

  • JNTUW

    ORLD

    Code No: 56012 Set No. 3 JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

    III B.Tech. II Sem., II Mid-Term Examinations, April 2012 MICRO PROCESSORS AND MICRO CONTROLLERS

    Objective Exam Name: ______________________________ Hall Ticket No.

    Answer All Questions. All Questions Carry Equal Marks.Time: 20 Min. Marks: 10. A

    I Choose the correct alternative: 1. An alternate function of port pin P3.1 in the 8051 is: [ ] (A) serial port input (B) serial port output (C) memory write strobe (D) memory read strobe 2. In 8051 an external interrupt 1 vector address is of _____ and causes of interrupt if_____ [ ] (A) 000BH, a high to low transition on pin INT1 (B) 001BH, a low to high transition on pin INT1 (C) 0013H, a high to low transition on pin INT1 (D) 0023H, a low to high transition on pin INT1 3. In 8051 which interrupt has highest priority? [ ] (A) IE1 (B) TF0 (C) IE0 (D) TF1 4. In 8051,After reset the SP register is initialized to address [ ] (A) 8H (B) 9H (C) 7H (D) 6H 5. MOV A, @ R1 will: [ ] (A) copy R1 to the accumulator

    (B) copy the accumulator to R1 (C) copy the contents of memory whose address is in R1 to the accumulator (D) copy the accumulator to the contents of memory whose address is in R1 6. Signal voltage ranges for a logic high and for a logic low in RS-232C standard are [ ] (A) Low = 0 volt to 1.8 volt, high = 2.0 volt to 5 volt

    (B) Low =-15 volt to 3 vol, high = +3 volt to +15 volt (C) Low = +3 volt to +15 volt, high = -3 volt to -15 volt (D) Low = 2 volt to 5.0 volt, high = 0 volt to 1.8 volt 7. The 8051 has ________ 16-bit counter/timers. [ ] (A) 1 (B) 2 (C) 3 (D) 4 8. The I/O ports that are used as address and data for external memory are: [ ] (A) ports 1 and 2 (B) ports 1 and 3 (C) ports 0 and 2 (D) ports 0 and 3 9. When the 8051 is reset and the line is HIGH, the program counter points to the first program

    instruction in the: [ ] (A) internal code memory (B) external code memory (C) internal data memory (D) external data memory 10. A HIGH on which pin resets the 8051 microcontroller? [ ] (A) RESET (B) RST (C) PSEN (D) RSET Cont2

    www.jntuworld.com

    www.jntuworld.com

    www.jwjobs.net

  • JNTUW

    ORLD

    Code No: 56012 :2: Set No. 3 II Fill in the blanks 11. The function of instruction DEC Rn is _______________. 12. For selecting counter operation the bit C/ is ____________. 13. The transmit and receive bits in SCON ( serial port control register) are _________. 14. The 8051 can handle __________ interrupt sources. 15. The external interrupt priority control bits in IP(interrupt priority control register) are __________. 16. A high on the RESET input forces the 8251A into an __________ mode. 17. The most commonly used RS-232 connector is __________. 18. The USART consists of ______________ buffer. 19. The 8051 microcontroller has ___________ on-chip I/O ports. 20. ___________ sign indicates it is a immediate addressing mode.

    -oOo-

    www.jntuworld.com

    www.jntuworld.com

    www.jwjobs.net

  • JNTUW

    ORLD

    Code No: 56012 Set No. 4 JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

    III B.Tech. II Sem., II Mid-Term Examinations, April 2012 MICRO PROCESSORS AND MICRO CONTROLLERS

    Objective Exam Name: ______________________________ Hall Ticket No.

    Answer All Questions. All Questions Carry Equal Marks.Time: 20 Min. Marks: 10. A

    I Choose the correct alternative: 1. In 8051 which interrupt has highest priority? [ ] (A) IE1 (B) TF0 (C) IE0 (D) TF1 2. In 8051,After reset the SP register is initialized to address [ ] (A) 8H (B) 9H (C) 7H (D) 6H 3. MOV A, @ R1 will: [ ] (A) copy R1 to the accumulator

    (B) copy the accumulator to R1 (C) copy the contents of memory whose address is in R1 to the accumulator (D) copy the accumulator to the contents of memory whose address is in R1 4. Signal voltage ranges for a logic high and for a logic low in RS-232C standard are [ ] (A) Low = 0 volt to 1.8 volt, high = 2.0 volt to 5 volt

    (B) Low =-15 volt to 3 vol, high = +3 volt to +15 volt (C) Low = +3 volt to +15 volt, high = -3 volt to -15 volt (D) Low = 2 volt to 5.0 volt, high = 0 volt to 1.8 volt 5. The 8051 has ________ 16-bit counter/timers. [ ] (A) 1 (B) 2 (C) 3 (D) 4 6. The I/O ports that are used as address and data for external memory are: [ ] (A) ports 1 and 2 (B) ports 1 and 3 (C) ports 0 and 2 (D) ports 0 and 3 7. When the 8051 is reset and the line is HIGH, the program counter points to the first program

    instruction in the: [ ] (A) internal code memory (B) external code memory (C) internal data memory (D) external data memory 8. A HIGH on which pin resets the 8051 microcontroller? [ ] (A) RESET (B) RST (C) PSEN (D) RSET 9. An alternate function of port pin P3.1 in the 8051 is: [ ] (A) serial port input (B) serial port output (C) memory write strobe (D) memory read strobe 10. In 8051 an external interrupt 1 vector address is of _____ and causes of interrupt if_____ [ ] (A) 000BH, a high to low transition on pin INT1 (B) 001BH, a low to high transition on pin INT1 (C) 0013H, a high to low transition on pin INT1 (D) 0023H, a low to high transition on pin INT1 Cont2

    www.jntuworld.com

    www.jntuworld.com

    www.jwjobs.net

  • JNTUW

    ORLD

    Code No: 56012 :2: Set No. 4 II Fill in the blanks 11. The transmit and receive bits in SCON ( serial port control register) are _________. 12. The 8051 can handle __________ interrupt sources. 13. The external interrupt priority control bits in IP(interrupt priority control register) are __________. 14. A high on the RESET input forces the 8251A into an __________ mode. 15. The most commonly used RS-232 connector is __________. 16. The USART consists of ______________ buffer. 17. The 8051 microcontroller has ___________ on-chip I/O ports. 18. ___________ sign indicates it is a immediate addressing mode. 19. The function of instruction DEC Rn is _______________. 20. For selecting counter operation the bit C/ is ____________.

    -oOo-

    www.jntuworld.com

    www.jntuworld.com

    www.jwjobs.net