September 24, 2011
Micro-Controller Lab Test Paper-A
Q1. Choose correct option in following questions.
(i)A general purpose microprocessor normally needs which of the following devices to attach on it?
(a) RAM (b) ROM (c) I/O Devices (d) All of the above
(ii)How many I/O pins are in 8051 micro-controller?
(a) 32 (b) 16 (c) 8 (d) 4
(iii) Which instruction causes error in micro-controller?
(a) MOV A,05 H (b) MOV A,#05H (c) MOV A,#F5 H (d) None
(iv) Which is correct regarding DPTR?
(a)Data Pointer, 16 bit (b) Data Pointer, 8 bit (c) Data Register, 16 bit (d) Data Register, 8 bit
(v) What is the result of following code and where is it kept?
MOV A, #10 H, MOV R2, #05 H, ADD A, R2
(a) A, 0F H (b) R2, 0FH (c) A, 15 H (d) R2, 15 H
(vi) This program code will be executed continuously?
You: MOV A, #02 H
JNZ You
(a) True (b) False (c) Can not Say (d) Wrong Code
(vii) The 8-bit address bus allows access to an address range of:
(a) 0000 to FFFFH (b) 000 to FFFH (c) 00 to FFH (d) 0 to FH
(viii) Which of the following instructions will move the contents of register 3 to the accumulator?
(a) MOV 3R, A (b) MOV R3, A (c) MOV A, R3 (d) MOV A, 3R (ix) The Program Counter of 8051 is …………..bits wide. (a) 8 (b) 16 (c) 32 (d) 4 (x) The Micro-controller 8051 has (a) 128 bytes of RAM (b) ) 64 bytes of RAM (c) 4 K bytes of RAM (d) None |
Download....Test Paper- A
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment