You are on page 1of 9

Dr.N.G.P.

Institute of Technology Department of EEE

Dr. N.G.P. INSTITUTE OF TECHNOLOGY


Coimbatore-641 048

DEPARTMENT OF EEE

MULTIPLE CHOICE QUESTIONS

EE6502 MICROPROCESSORS AND MICROCONTROLLERS

REGULATION: 2013

Prepared by Reviewed by
Dr.V.Ranganayaki AP/EEE Dr.M.Gopinath, Prof/EEE
Academic Co-ordinator

Approved by

HoD/EEE Principal

MULTIPLE CHOICE QUESTIONS EE6502 MPMC


Dr.N.G.P. Institute of Technology Department of EEE

1) In a 8-bit microcomputer having 8K bytes of RAM memory, the length of SP will be


a. 5
b. 8
c. 11
d. 13
2) The number of minimum clock cycles in a machine cycles in a machine cycle for 8085 are
a. 1
b. 2
c. 3
d. 5
3) Which is the microprocessor comprises:
a. Register section
b. One or more ALU
c. Control unit
d. All of these
4) Which is used to store critical pieces of data during subroutines and interrupts:
a. Stack
b. Queue
c. Accumulator
d. Data register
5) The data in the stack is called:
a. Pushing data
b. Pushed
c. Pulling
d. None of these
6) Microprocessor can be
a. non-programmable
b. macro-programmable
c. micro-programmable
d.all of these

7) A nibble can be represented in the form of:


a. Octal digit
b. Decimal
c. Hexadecimal
d. None of these

MULTIPLE CHOICE QUESTIONS EE6502 MPMC


Dr.N.G.P. Institute of Technology Department of EEE

8) The left side of any binary number is called:


a. Least significant digit
b. Most significant digit
c. dium significant digit
d. low significant digit
9) ________ is usually the first level of memory access by the microprocessor:
a. Cache memory
b. Data memory
c. Main memory
d. All of these
10) Which interrupt has the highest priority?
a. INTR
b. TRAP
c. RST6.5
d. none of these
11)LXIH, 2500H is an instruction of
a. Direct addressing
b. Register Addressing
c. Indirect addressing
d. Immediate addressing
12) Which microprocessor pins are used to request and acknowledge a DMA transfer?
a. reset and ready
b. ready and wait
c. HOLD and HLDA
d. None o these
13) Which of following instructions require more number of T-states?
a.MOV A,B
b. LHLD 4500
c.LDAX B
d. DAD D
14) On the TRAP interrupt the service routine jumps to the location
a. 0000 h
b. 0024 h
c. 0018 h
d. 000 h
15) Which of the following instruction will never affect the flag?
a. DCR
b. DCX
c. XRA
d. NOP

MULTIPLE CHOICE QUESTIONS EE6502 MPMC


Dr.N.G.P. Institute of Technology Department of EEE

16) Maximum number of I/O devices that can be addressed by Intel 8085 Microprocessor
a.65,536
b. 255
c.512
d. 256
17) The language that the computer can understand and execute is called
a. Machine language
b. Application software
c. System program
d. All of the above

18) A memory system has a total of 8 memory chips, each with 12 address lines and 8 data lines.
Total size of the memory system is
a. 6 kbytes
b. 32 kbytes
c. 48k bytes
d. 64 kbytes

19) when a program is being executes in an 8085 microprocessor, its Program Counter Contains
a. number of instructions in the current program that have already been executed
b. total number of instructions in the program being executed.
c. memory address of the instruction that is being currently executed
d. memory address of the instruction that is to be executed next.

20) What are level Triggering interrupts?


a. INTR&TRAP
b. RST6.5&RST5.5
c. RST7.5&RST5 6.5
d. none of these

21) 8051 series of micro controllers are made by which of the following companies?
a. Atmel
b. Philips
c. none of the mentioned
d. both of the mentioned

22. AT89C2051 has RAM of:


a. 128 bytes
b. 256 bytes
c. 64 bytes
d.512 bytes
23. 8051 series has how many 16 bit registers?
a. 2
b.3
c. 1
d. 0

MULTIPLE CHOICE QUESTIONS EE6502 MPMC


Dr.N.G.P. Institute of Technology Department of EEE

24. When 8051 wakes up then 0x00 is loaded to which register?


a. DPTR
b. SP
c. PC
d. PSW
25. When the micro controller executes some arithmetic operations, then the flag bits of which
register are affected?
a. PSW
b. SP
c. DPTR
d. PC
26. How is the status of the carry, auxiliary carry and parity flag affected if write instruction
MOV A,#9C
ADD A,#64H
a. CY=0,AC=0,P=0
b. CY=1,AC=1,P=0
c. CY=0,AC=1,P=0
d. CY=1,AC=1,P=1

27. How are the bits of the register PSW affected if we select Bank2 of 8051?
a. PSW.5=0 and PSW.4=1
b. PSW.2=0 and PSW.3=1
c. PSW.3=1 and PSW.4=1
d. PSW.3=0 and PSW.4=1

28. If we push data onto the stack then the stack pointer
a. increases with every push
b. decreases with every push
c. none of the mentioned
d. both of the mentioned

29.On power up, the 8051 uses which RAM locations for register R0- R7
a. 00-2F
b. 00-07
c. 00-7F
d. 00-0F

30) How many bytes of bit addressable memory is present in 8051 based micro controllers?
a. 8 bytes
b. 32 bytes
c. 16 bytes
d. 128 bytes
31) The operating modes of 8255 A are called

a. mode 0 and mode 1


b. mode 0, mode 1 and mode 2

MULTIPLE CHOICE QUESTIONS EE6502 MPMC


Dr.N.G.P. Institute of Technology Department of EEE

c. mode 0 and mode 2


d. mode 0, mode 2 and mode
32) In BSR mode, only port C can be used to
a. set individual ports
b. reset individual ports
c. set and reset individual ports
d. programmable I/O ports
33) The number of counters that are present in the programmable timer device 8254 is
a. 1
b. 2
c. 3
d. 4
34) The operation that can be performed on control word register is
a. read operation
b. write operation
c. read and write operations
d. none
35) The mode that is used to interrupt the processor by setting a suitable terminal count is
a. mode 0
b. mode 1
c. mode 2
d. mode 3
36) In cascaded mode, the number of vectored interrupts provided by 8259A is
a. 4
b. 8
c. 16
d. 6

37) The registers that store the keyboard and display modes and operations programmed by CPU
are
a. I/O control and data buffers
b. control and timing registers
c. return buffers
d. display address registers

38)Which stack is used in 8085?


a. FIFO
b. LIFO
c. FILO
d. none of these

MULTIPLE CHOICE QUESTIONS EE6502 MPMC


Dr.N.G.P. Institute of Technology Department of EEE

39) Which of the following is not a mode of data transmission?


a. simplex
b. duplex
c. semi duplex
d. half duplex
40) In 8251A, the pin that controls the rate at which the character is to be transmitted is
a. TXC(active low)
b. TXC(active high)
c. TXD(active low)
d. RXC(active low)

41. What is the maximum delay generated by the 12 MHz clock frequency in accordance to
an auto-reload mode (Mode 2) operation of the timer?
a. 125 s
b. 250 s
c. 256 s
d. 1200 s
42. DAC (Digital to Analog Converter) finds application in
a. digitally controlled gains
b. motor speed controls
c. programmable gain amplifiers
d. all of the mentioned

43. The device that is used to obtain an accurate position control of rotating shafts in terms of
steps is
a. DC motor
b. AC motor
c. Stepper motor
d. Servo motor

44) Which commands are used for addressing the off-chip data and associated codes respectively
by data pointer?

a. MOVX & MOVC


b. MOVY & MOVB
c. MOVZ & MOVA
d. MOVC & MOVY

45) Which instruction find its utility in loading the data pointer with 16 bits immediate data?
a. MOV
b. INC
c. DEC
d. ADDC

MULTIPLE CHOICE QUESTIONS EE6502 MPMC


Dr.N.G.P. Institute of Technology Department of EEE

46) What kind of instructions usually affect the program counter?


a. Call & Jump
b. Call & Return
c. Push & Pop
d. Return & Jump
47) Which among the below mentioned sequence of program instructions represent the correct
chronological order for the generation of 2 kHz square wave frequency?
1. MOV TMOD, 0000 0010 B
2. MOV TL0, # 06H
3. MOV TH0, # 06H
4. SETB TR0
5. CPL p1.0
6. ORG 0000H

a. 6, 5, 2, 4, 1, 3
b. 6, 1, 3, 2, 4, 5
c. 6, 5, 4, 3, 2, 1
d. 6, 2, 4, 5, 1, 3

48) The number of pulses required for one complete rotation of the shaft of the stepper motor
is equal to the
a. number of internal teeth on a rotor
b. number of internal teeth on a stator
c. number of internal teeth on a rotor and stator
d. number of external teeth on a stator
49) A simple scheme for rotating the shaft of a stepper motor is called
a. rotating scheme
b. shaft scheme
c. wave scheme
d. none
50) The Isolation transformers are generally used for
a. protecting low power circuit
b. Isolation
c. protecting low power circuit and isolation
d. none

MULTIPLE CHOICE QUESTIONS EE6502 MPMC


Dr.N.G.P. Institute of Technology Department of EEE

Answers

1) d 11) d 21) d 31) b 41) c

2) c 12) c 22) b 32) c 42) d

3) d 13) b 23) 2 33) c 43) c

4) a 14) b 24) c 34) b 44) a

5) d 15) d 25) a 35) a 45) d

6) b 16) d 26) b 36) d 46) a

7) c 17) a 27) d 37) b 47) b

8) b 18) b 28) a 38) b 48) a

9) a 19) d 29) b 39) c 49) c

10) b 20) b 30) c 40) a 50) c

MULTIPLE CHOICE QUESTIONS EE6502 MPMC

You might also like