0% found this document useful (0 votes)
442 views

MCQ - 8085 Microprocessor - November 2020 With Answers

The document contains a multiple choice quiz on the 8085 microprocessor. It includes 53 questions related to various aspects of the 8085 like its architecture, registers, flags, instructions, addressing modes, and interrupts. The questions cover topics like the purpose of different signals in 8085, its register pairs, ALU components, addressing modes, interrupt priorities, and common instructions.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
442 views

MCQ - 8085 Microprocessor - November 2020 With Answers

The document contains a multiple choice quiz on the 8085 microprocessor. It includes 53 questions related to various aspects of the 8085 like its architecture, registers, flags, instructions, addressing modes, and interrupts. The questions cover topics like the purpose of different signals in 8085, its register pairs, ALU components, addressing modes, interrupt priorities, and common instructions.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 48

VELAMMAL COLLEGE OF ENGINEERING AND TECHNOLOGY, MADURAI

– 625 009
Department of Electrical and Electronics Engineering
Multiple Choice Questions
B.E. Electrical and Electronics Year/Sem./Sec
Branch III/ V/ A&B
Engineering .
Course
EE6502 Date 02.10.2020
Code
Course Microprocessors & Course Dr.N.KARPAGA
Name Microcontrollers Incharge M

Unit 1 8085 Microprocessor

1. Consider the following registers:


1. Accumulator and flag register
2. B and C register
3. D and E register
4. H and L register
Which of these 8-bit registers of 8085 microprocessor can be paired together to make a 16-bit
register?

a. 1 ,3 and 4

b. 2 ,3 and 4

c. 1, 2 and 3

d. 1, 2 and 4

2. In 8085 microprocessor system with memory mapped I/O, which of the following is true?

a. Devices have 8-bit address line

b. Devices are accessed using IN and OUT instructions

c. There can be maximum of 256 input devices and 256 output devices
d. Arithmetic and logic operations can be directly performed with the I/O data

3. In an intel 8085A microprocessor, why is READY signal used?

a. To indicate to user that the microprocessor is working and is ready for use.

b. To provide proper WAIT states when the microprocessor is communicating with a slow
peripheral device.

c. To slow down a fast peripheral device so as to communicate at the microprocessor’s device.

d. None of the above.

4. consider the following


I) Sign flag II) Trap flag III) Parity flag IV) Auxiliary carry flag
Which one of the above flags is/are present in 8085 microprocessor?

a. (I) only

b. (I) & (II)

c. (II) & (III)

d. (I) ,(III) & (IV)

5. Consider the following statements:


In 8085 microprocessor, data-bus and address bus are multiplexed in order to
I)Increase the speed of microprocessor.
II)Reduce the number of pins.
III)Connect more peripheral chips.
Which of these statements is/are correct?

a. (I) only

b. (II) only

c. (II) & (III)

d. (I), (II) & (III)


6. ALU (Arithmetic and Logic Unit ) of 8085 microprocessor consists of

a. Accumulator, temporary register, arithmetic and logic circuits

b. Accumulator, arithmetic, logic circuits and five flags

c. Accumulator, arithmetic and logic circuits

d. Accumulator, temporary register, arithmetic, logic circuits and five flags

7. In intel 8085A microprocessor ALE signal is made high to

a. Enable the data bus to be used as low order address bus

b. To latch data D0-D7 from data bus

c. To disable data bus

d. To achieve all the functions listed above

8.
Which of the following statements for Intel 8085 is correct?

a. Program Counter (PC) specifies the address of the instruction last executed

b. PC specifies the address of the instruction being executed

c. PC specifies the address of the instruction to be executed

d. PC specifies the number of instructions executed so far

9. Processor status word of 8085 microprocessor has five flags. They are
a. S, Z, AC, P, CY

b. S, OV, AC, P, CY

c. S, Z, OV, P, CY

d. S, Z, AC, P, OV

10. The cycle required to fetch and execute an instruction in a 8085 microprocessor is which one of the
following?

a. Clock cycle

b. Memory cycle

c. Machine cycle

d. Instruction cycle

11. In an Intel 8085A, which is the first machine cycle of an instruction?

a. An op-code fetch cycle

b. A memory read cycle

c. A memory write cycle

d. An I/O read cycle

12. The number of output pins in 8085 microprocessors are

a. 40

b. 27

c. 21

d. 19

13. In 8085 name of the 16 bit registers is


a. stack pointer

b. program counter

c. both A and B

d. none of these

14. Which of the following instruction is not possible in 8085?

a. POP C

b. POP B

c. POP D

d. POP 30 H

15. How many T-states are required for execution of OUT 80H instruction?

a. 10

b. 13

c. 16

d. 7

16. Which instruction is required to rotate the content of accumulator one bit right along with carry?

a. RLC

b. RAL

c. RRC

d. RAR

17. The frequency of the driving network connected between pins 1 and 2 of 8085 microprocessor is

a. twice the desired frequency


b. equal to the desired frequency

c. four times the desired frequency

d. none of the above

18. READY signal in 8085 is useful when the CPU communicates with

a. a slow peripheral device

b. a fast peripheral device

c. a DMA chip

d. a PPI

19. Temporary registers in 8085 are

a. B and C

b. D and E

c. H and L

d. W and Z

20. Register pair used to indicate memory

a. B and C

b. D and E

c. H and L

d. W and Z

21. A sequence of two registers that multiplies the content of DE register pair by two and stores the result in H
assembly language) is

a. XCHG & DAD B


b. XTHL & DAD H

c. PCHL & DAD D

d. XCHG & DAD H

22. The Intel 8086 microprocessor is a _______ processor.

a. 8 bit

b. 16 bit

c. 32 bit

d. 4 bit

23. Which interrupt has the highest priority?

a. INTR

b. TRAP

c. RST6.5

d. RST6.6

24. What are software interrupts?

a. RST 0-7

b. RST 5.5 - 7.5

c. INTR, TRAP

d. RST 4.4 - 6.4

25. Which stack is used in 8085 ?

a. FIFO

b. LIFO
c. FILO

d. LILO

26. Why 8085 processor is called an 8 bit processor?

a. because 8085 processor has 8 bit ALU

b. because 8085 processor has 8 bit data bus

c. because 8085 processor has 16 bit data bus

d. because 8085 processor has 16 bit address bus

27. What is SIM in context of microprocessor ?

a. Select Interrupt Mask

b. Sorting Interrupt Mask

c. Set Interrupt Mask

d. Set Integer Mask

28. What is meant by maskable interrupts?

a. an interrupt which can never be turned off

b. an interrupt that can be turned off by the programmer

c. an interrupt which can never be turned on

d. an interrupt which can never be turned on or off

29. In 8085 microprocessor address line for RST3 is ?

a. 0020H

b. 0028H
c. 0018H

d. 0019H

30. 8085 microprocessor was introduced in __________.

a. 1971

b. 1976

c. 1972

d. 1978

Unit 2 8085 Microprocessor Programming

31. The address / data bus in 8085 is

a. multiplexed

b. demultiplexed

c. decoded

d. encoded

32. In 8085 name the 16 bit registers?

a. Stack pointer

b. Program counter

c. Both a and b

d. None of these

33. The number of interrupt lines in 8085 is


A. 2
B. 3
C. 4
D. 5
34. Which of the following is not treated as hexadecimal constant by assembler in 8085?
A. 45 H

B. AFH

C. 234

D. 64 H

35. The five flags in 8085 are designated as


A. Z, CY, S, P and AC
B. D, Z, S, P, AC
C. Z, C, S, P, AC
D. Z, CY, S, D, AC

36. In 8085 which addressing mode is also called inherent addressing?


A. Direct
B. Register
C. Implicit
D. Immediate

37.In one’s complement 8 bit representation 11111111 represents


A. +0
B. -0
C. +1
D. -1

38. The operating modes of 8255 A are called


A. mode 0 and mode 1
B. mode 0, mode 1 and mode 2
C. mode 0 and mode 2
D. mode 0, mode 2 and mode 3

39.In 8085, the pins for SID and SOD are


A. 4 and 5 respectively
B. 5 and 4 respectively
C. 3 and 4 respectively
D. 4 and 3 respectively

40.In 8085
A. P flag is set when the result has even parity
B. P flag is set when the result has odd parity
C. P flag is reset when the result has odd parity
D. P flag is reset when the result has even parity

41. Which of the following is the 16bit registers in 8085 processor

A. Stack Pointer
B. Program Counter
C. IR
D. a and b
42. In which of the following T-state does the CPU sends the address to memory or I/O & ALE
signal for demultiplexing

A. T1

B. T2

C. T3

D. T4

43. What is meant by Pseudo instructions

A. Instructions that are ignored by microprocessor

B. Assembler directives

C. Instructions that are treated like comment

D. False instructions

44. What is meant by maskable interrupts?


a. an interrupt which can never be turned off
b. an interrupt that can be turned off by the programmer
c. an interrupt which can never be turned on
d. an interrupt which can never be turned on or off

45. In 8085 microprocessor address line for RST3 is ?

a. 0020H
b. 0028H
c. 0018H
d. 0019H
46. Address line for TRAP is ?
a. 0023H
b 0024H
c. 0033H
d. 0099H

47. The address / data bus in 8085 is

a. multiplexed

b. demultiplexed

c. decoded

d. encoded

48. Which stack is used in 8085?


a. FIFO
b. LIFO
c. FILO
d. None of these
49. RIM is used to check whether
a. The interrupt is Masked or not
b. The write operation is done or not
c. a & b
d. None of these
50. Consider the following mnemonics
MOV
ADD
LXI
ADI
a. 1&2 ONLY
b. 2&3 ONLY
c. 1,2 AND 3 ONLY
d. 1,2,,3 AND 4

51. The addressing mode shown in the given figure is

a. Immediate addressing mode


b. Direct addressing mode
c. Register indirect addressing
d. Register indirect addressing

52. Which of the following 8085 instructions affect all flags except the CY flag?
a. ADC
b. INR
c. SUI
d. DCR
53. In 8085, the RST instruction will cause an interrupt
a. only if interrupts have been enabled by the EI (Enable interrupt) instruction
b. only if the interrupt mask bit is set to 0
c. only if an ISR is not actively executing
d. every time it's executed
54. Which of the following bus is not present in 8085?
a. Address Bus
b. DMA bus
c. Memory Bus
d. Control Bus

55. The content of the HL pair after the execution of the following instructions is
XRA A
MOV L, A
MOV H, L
INX H
DAD H
a. 0000H
b. 0001H
c. 0011H
d. 0002H
56. After the execution of CMP A instruction
a. ZF is set and CY is unchanged
b. ZF is reset and CY is set
c. ZF is set and CY is reset
d. ZF is reset and CY is unchanged
57. If you wish to save the value of the accumulator on the stack, which of the following
instruction will you use?
a.PUSH PSW
b.PUSH A
c.POP PSW
d.PUSH SP
58. POP B is a
a.1 byte instruction
b.2 byte instruction
c.3 byte instruction
d. 4 byte instruction
59. Upon the execution of the RET instruction:
a. PC gets incremented
b. Control goes directly to the next instruction after the calling instruction without any
operation
c. Control goes directly to the next instruction after the calling instruction without any
operation and also PC will get incremented
d. Top of the stack will get popped and get assigned to the PC
60. RST0 - RST7 are the __________ in 8085.
a. hardware interrupts
b. logical interrupts
c. software interrupts
d. conditional interrupts
Answers:
1 b 9 a 17 a 25 b 33 d 42 a 51 c
2 d 10 d 18 a 26 a 34 c 43 b 52 b
3 b 11 a 19 d 27 c 35 a 44 b 53 d
4 d 12 a 20 c 28 b 36 c 45 c 54 b
5 b 13 c 21 d 29 c 37 a 46 b 55 b
6 d 14 d 22 b 30 b 38 b 47 a 56 b
7 a 15 a 23 b 31 a 39 b 48 b 57 b
8 c 16 d 24 a 32 c 40 a 49 a 58 a
41 d 50 d 59 c
60 c

Unit 3 Microprocessor Interfacing


Unit 4 8051 Microcontroller

62. Which of the following commands will copy the contents of RAM whose address is in
register
0 to port 1
a. MOV P1, @R0
b. MOV P1, R0
c. MOV@P!,R0
d. MOV@R0, P1
63. The number of data registers is
a. 64
b. 8
c. 32
d. 16
64. Bit-addressable memory locations are
a. 20H – 2FH
b. 10H – 1FH
c. 30H – 3FH
d. 40H – 4FH

65. Which of the following instructions will move the contents of the accumulator to register 6
a. MOV A, 6H
b.MOV R6, A
c. MOV 6R, A
d. MOV A, R6

68. The contents of the accumulator after this operation MOV A,#0BH ANL A,#2CH will be
a. 0000 0100
b. 0010 0100
c. 11011010
d. 11010111
69. The contents of the accumulator after this operation MOV A,#2BH ORL A,00H will be
a. 2BH
b. 3BH
c. 4BH
d. 1BH
70. MOV A, @ R1 will
a. Copy the contents of memory whose address is in R1 to the accumalator
b. Copy the contents of accumalator to the memory
c. Copy R1 to the accumalator
d. Copy accumalator to R1
1 b 11 a 21 b 31 a 41 a 51 c 61 b 71 b 81 b 91 d
2 a 12 a 22 a 32 a 42 b 52 b 62 a 72 b 82 b 92 b
3 b 13 b 23 c 33 b 43 c 53 a 63 c 73 a 83 b 93 a
4 b 14 a 24 a 34 a 44 a 54 b 64 a 74 d 84 a 94 d
5 c 15 b 25 c 35 b 45 b 55 a 65 b 75 a 85 d 95 d
6 a 16 a 26 c 36 c 46 b 56 c 66 b 76 a 86 a 96 d
7 b 17 b 27 a 37 a 47 a 57 b 67 b 77 c 87 d 97 a
8 a 18 a 28 b 38 b 48 a 58 a 68 b 78 a 88 c 98 d
9 d 19 b 29 a 39 c 49 b 59 c 69 a 79 b 89 c 99 c
10 b 20 a 30 a 40 a 50 b 60 b 70 a 80 a 90 a 100 d

Unit 4 Interfacing with 8085 Microprocessor and 8051 microcontrollers


101. 8051 microcontrollers are manufactured by which of the following companies?
a) Atmel
b) Philips
c) Intel
d) All of the mentioned
102. 8051 series has how many 16 bit registers?
a) 2
b) 3
c) 1
d) 0
103. When the microcontroller executes some arithmetic operations, then the flag bits of which
register are affected?
a) PSW
b) SP
c) DPTR
d) PC
104. How are the status of the carry, auxiliary carry and parity flag affected if the write
instruction
MOV A,#9CH
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
105. 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
106. 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
107. How many bytes of bit addressable memory is present in 8051 based microcontrollers?
a) 8 bytes
b) 32 bytes
c) 16 bytes
d) 128 bytes
108. ADC instruction is used for?
a) addition of two 16 bit numbers
b) analog to digital conversion
c) automatic digital control
d) none of the mentioned
109. “DJNZ R0, label” is ________ byte instruction.
a) 2
b) 3
c) 1
d) Can’t be determined

110. JZ, JNZ, instructions checked content of _______ register.


a) DPTR
b) B
c) A
d) PSW
111. LCALL instruction takes
a) 2 bytes
b) 4 bytes
c) 3 bytes
d) 1 byte
112. Are PUSH and POP instructions are a type of CALL instructions?
a) yes
b) no
c) none of the mentioned
d) cant be determined
113. Find the number of times the following loop will be executed

MOV R6,#200
BACK:MOV R5,#100
HERE:DJNZ R5, HERE
DJNZ R6,BACK
END
a) 100
b) 200
c) 20000
d) 2000

114. What is the meaning of the instruction MOV A,05H?


a) data 05H is stored in the accumulator
b) fifth bit of accumulator is set to one
c) address 05H is stored in the accumulator
d) none of the mentioned

115. Do the two instructions mean the same?

1) BACK: DEC R0
JZ BACK
2) BACK: DJNZ RO, BACK
a) yes
b) no
c) cant be determined
d) yes and the second one is preferred

116. Which of the following registers are not bit addressable?


a) SCON
b) PCON
c) A
d) PSW

117. Which instruction is used to check the status of a single bit?


a) MOV A,P0
b) ADD A,#05H
c) JNB PO.0, label
d) CLR P0.05H

118. Which addressing mode is used in pushing or popping any element on or from the stack?
a) Immediate
b) direct
c) indirect
d) register

119. Which operator is the most important while assigning any instruction as register indirect
instruction?
a) $
b) #
c) @
d) &

120. What is the advantage of register indirect addressing mode?


a) it makes use of registers R0 and R1
b) it uses the data dynamically
c) it makes use of operator @
d) it is easy

121. Which of the following comes under the indexed addressing mode?
a) MOVX A, @DPTR
b) MOVC @A+DPTR,A
c) MOV A,R0
d) MOV @R0,A

122. Is this a valid statement?


SETB A
a) yes
b) no
c) cant be determined
d) none of the mentioned

123. When we add two numbers the destination address must always be.
a) some immediate data
b) any register
c) accumulator
d) memory

124. DAA command adds 6 to the nibble if:


a) CY and AC are necessarily 1
b) either CY or AC is 1
c) no relation with CY or AC
d) CY is 1

125. If SUBB A,R4 is executed, then actually what operation is being applied?
a) R4+A
b) R4-A
c) A-R4
d) R4+A

126. In 8 bit signed number operations, OV flag is set to 1 if:


a) a carry is generated from D7 bit
b) a carry is generated from D3 bit
c) a carry is generated from D7 or D3 bit
d) a carry is generated from D7 or D6 bit

127. In unsigned number addition, the status of which bit is important?


a) OV
b) CY
c) AC
d) PSW

128. ANL instruction is used _______


a) to AND the contents of the two registers
b) to mask the status of the bits
c) all of the mentioned
d) none of the mentioned

129. TF1, TR1, TF0, TR0 bits are of which register?


a) TMOD
b) SCON
c) TCON
d) SMOD

130. How many data lines are there in a 16*2 alphanumeric LCD?
a) 16
b) 8
c) 1
d) 0

Unit 5 Microcontroller Applications

131. Which of the following steps detects the key in a 4*4 keyboard matrix about the key that is
being pressed?
a) masking of bits
b) ensuring that initially, all keys are open
c) checking that whether the key is actually pressed or not
d) all of the mentioned
132. If we need to operate a key of a keyboard in an interrupt mode, then it will generate what
kind of interrupt?
a) ES
b) EX0/EX1
c) T0/T1
d) RESET

133. Key press detection and Key identification are:


a) the same processes
b) two different works are done in Keyboard Interfacing
c) none of the mentioned
d) any of the mentioned

134. In ADC0808/0809 IC which pin is used to select Step Size?


a) Vref
b) Vin
c) Vref/2 & Vin
d) None of the mentioned

135. 8 input DAC has ________


a) 8 discrete voltage levels
b) 64 discrete voltage levels
c) 124 discrete voltage levels
d) 256 discrete voltage levels

136. A thermistor is a __________


a) sensor
b) adc
c) transducer
d) micro controller

137. An electronic device which converts physical quantity or energy from one form to another
is called ______
a) Sensor
b) Transistor
c) Transducer
d) Thyristor

138. The 8255 is a ______ chip.


a) Input/Output
b) Analog to Digital
c) Digital to analog
d) None of the mentioned
139. Which pins of a microcontroller are directly connected with 8255?
a) RD
b) WR
c) D0-D7
d) All of the mentioned

140. What is correct about the BSR mode from below?


a) In BSR mode, only the individual bits of PORT A can be programmed
b) In BSR mode, only the individual bits of PORT B can be programmed
c) In BSR mode, only the individual bits of PORT C can be programmed
d) none of the mentioned

141. How many pins of the 8255 can be used as the I/O ports?
a) 8
b) 16
c) 24
d) 32

142. How can we control the speed of a stepper motor?


a) by controlling its switching rate
b) by controlling its torque
c) by controlling its wave drive 4 step sequence
d) cant be controlled

143. How can we change the speed of a DC motor using PWM?


a) By changing amplitude of PWM
b) By keeping fixed duty cycle
c) By changing duty cycle of PWM
d) By increasing power of PWM

144. How can the direction of the DC motor be changed?


a) by changing the torque
b) by changing the switching speed
c) by changing the polarity of voltages connected to the leads
d) by changing the RPM rating

145. Registers R0-R31 are used for what type of works?


a) they are used for arithmetic and logic instructions
b) they are used for data copy
c) they are used for calculations
d) none of the mentioned

146. The largest value that can be loaded in an 8 bit register is?
a) 11111111H
b) FH
c) FFH
d) 00H

147. Which of the following instructions affect the flags of the status register?
a) AND
b) INC
c) OR
d) All of the mentioned

148. Which out of the following is not a directive?


a) .EQU
b) .DEVICE
c) .ORG
d) .LDI

149. Is an assembly language a high level language?


a) Yes
b) No
c) Can’t be said
d) None of the mentioned

150. A 14-bit program counter can access __________ bytes of memory locations.
a) 4K
b) 8K
c) 16K
d) 64K

151. What are DPDT relays?


a) Single pole, single throw
b) Single pole, double throw
c) Double pole, double throw
d) None of the mentioned

152. Why are solid-state relays advantageous over electromechanical relays?


a) they need zero voltage circuit
b) they need less current to be energised
c) they need less voltage to be energised
d) none of the mentioned

153. What are opto isolators?


a) it is a driver
b) it is a thing isolated from the entire world
c) it is a device that can be used as an electromagnetic relay without a driver
d) none of the mentioned

154. What is the value of the control register when RESET button is set to zero?
a) 0x00H
b) 0xFFH
c) 0x11H
d) value remains the same

155. In the I/O mode, the 8255 ports work as


a) reset pins
b) set pins
c) programmable I/O ports
d) only output ports

156. 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

157. The feature of mode 0 is


a) any port can be used as input or output
b) output ports are latched
c) maximum of 4 ports are available
d) all of the mentioned

158. The feature of mode 2 of 8255 is


a) single 8-bit port is available
b) both inputs and outputs are latched
c) port C is used for generating handshake signals
d) all of the mentioned

159. The popular technique that is used in the integration of ADC chips is
a) successive approximation
b) dual slope integration
c) successive approximation and dual slope integration
d) none

160. Which is the ADC among the following?


a) AD 7523
b) 74373
c) 74245
d) ICL7109
161. The conversion delay in a successive approximation of an ADC 0808/0809 is
a) 100 milliseconds
b) 100 microseconds
c) 50 milliseconds
d) 50 milliseconds

162. The number of inputs that can be connected at a time to an ADC that is integrated with
successive approximation is
a) 4
b) 2
c) 8
d) 16

163. 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

164. The DAC 0800 has a settling time of


a) 100 milliseconds
b) 100 microseconds
c) 50 milliseconds
d) 50 microseconds

165. 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

166. The internal schematic of a typical stepper motor has


a) 1 winding
b) 2 windings
c) 3 windings
d) 4 windings

167. A simple scheme for rotating the shaft of a stepper motor is called
a) rotating scheme
b) shaft scheme
c) wave scheme
d) none
168. The firing angles of thyristors are controlled by
a) pulse generating circuits
b) relaxation oscillators
c) microprocessor
d) all of the mentioned

169. The Isolation transformers are generally used for


a) protecting low power circuit
b) isolation
c) protecting low power circuit and isolation
d) none

170. The number of hardware interrupts that the processor 8085 consists of is
a) 1
b) 3
c) 5
d) 7

171. The register that stores the bits required to mask the interrupt inputs is
a) In-service register
b) Priority resolver
c) Interrupt Mask register
d) None

172. In the application where all the interrupting devices are of equal priority, the mode used is
a) Automatic rotation
b) Automatic EOI mode
c) Specific rotation
d) EOI

173. The register that stores all the interrupt requests in it in order to serve them one by one on a
priority basis is
a) Interrupt Request Register
b) In-Service Register
c) Priority resolver
d) Interrupt Mask Register

174. 1. Which of the following is not an instruction of 8051 instructions?


a) arithmetic instructions
b) boolean instructions
c) logical instructions
d) none
175. The operations performed by data transfer instructions are on
a) bit data
b) byte data
c) 16-bit data
d) all of the mentioned

176. Which of the following is true while executing data transfer instructions?
a) program counter is not accessible
b) restricted bit-transfer operations are allowed
c) both operands can be direct/indirect register operands
d) all of the mentioned

177. The logical instruction that affects the carry flag during its execution is
a) XRL A;
b) ANL A;
c) ORL A;
d) RLC A;

178. The instruction that is used to complement or invert the bit of a bit addressable SFR is
a) CLR C
b) CPL C
c) CPL Bit
d) ANL Bit

179. In logical instructions, the immediate data can be an operand for


a) increment operation
b) decrement operation
c) single operand instruction
d) none

180. The mnemonic used to perform a subtraction of source with an 8-bit data and jumps to
specified relative address if subtraction is non-zero is
a) DJNZ
b) CJNE
c) JZ
d) JNC

181. In boolean instructions, the flag that is the only allowed destination operand for two
operand instructions is
a) overflow flag
b) underflow flag
c) auxiliary flag
d) carry flag
182. The current that is required for a LED for an appropriate glow is
a) 6-8 mA
b) 4-6 mA
c) 8-10 mA
d) 10-12 mA

183. The step that is involved in the procedure of memory interfacing with 8051 is
a) data bus is connected to data lines of memory chips
b) PSEN(active low) is connected to OE(active low) of EPROM chips
c) writing address map of memory chip in bit form
d) all of the mentioned

184. If EA(active low) signal =1, then the execution starts from
a) internal EPROM
b) flash RAM
c) internal EPROM or flash RAM
d) none

185. The pin that is grounded for interfacing external EPROM is


a) EA(active low)
b) PSEN(active low)
c) OE(active low)
d) All of the mentioned

186. For deriving chip selects of isolated memory or IO devices, the gates that are traditionally
used are
a) NOR and NAND
b) NAND and NOT
c) NOT and NOR
d) AND, OR and NOT

187. The maximum current that can be sinked totally by all the ports of 8051 is
a) 61 mA
b) 81 mA
c) 91 mA
d) 71 mA

188. The number of LEDs that can be connected to a port of 8051, if all are expected to glow
simultaneously is
a) 6
b) 8
c) 10
d) 12
189. After the display is selected by second port, then the digit (LED) glows for a duration of
a) 5 msec
b) 10 msec
c) 2 msec
d) 6 msec

190. To convert its current output into a voltage, the DAC 0808 is connected with
a) Transistor(BJT) externally
b) FET externally
c) OPAMP externally
d) OPAMP internally

191. The number of priority levels that each interrupt of 8051 have is
a) 1
b) 2
c) 3
d) 4

192. During power down to save battery, the supply voltage can be reduced to a value of
a) 4 volts
b) 2 volts
c) 8 volts
d) 1 volt

193. The signal that only pulls the microcontroller(8051) out of the power down mode is
a) CLEAR
b) LEAVE
c) RESET
d) EXIT

194. The mcs 51 architecture supports


a) serial transmission and reception
b) simultaneous transmission and reception
c) transmission and reception of data using serial communication interface
d) all of the mentioned

195. The number of bits transmitted or received per second is defined as


a) transmission rate
b) reception rate
c) transceiver rate
d) baud rate

196. What is the value of the control register when RESET button is set to zero?
a) 0x00H
b) 0xFFH
c) 0x11H
d) value remains the same

197. Why MOVX instruction is being used to access the ports of the 8255?
a) because 8255 is connecting a microcontroller in memory mapped I/O configuration
b) because 8255 is used to access the external communication
c) because 8255 is used to access the data transfer
d) because 8255 is used to access the interfacing of LCD, motor etc

198. 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

199. Which of the following commands will copy the contents of location 4H to the
accumulator?

A. MOV A, 04H

B. MOV A, L4

C. MOV L4, A

D. MOV 04H, A

200.The ADC0804 has ________ resolution.

A. 4-bit

B. 8-bit

C. 16-bit

D. 32-bit

101 d 111 c 121 b 131 d 141 c 151 c 161 b 171 c 181 c 191 b
102 a 112 b 122 b 132 b 142 a 152 b 162 c 172 a 182 c 192 b

103 a 113 b 123 c 133 b 143 c 153 c 163 d 173 a 183 d 193 c

104 b 114 c 124 b 134 a 144 c 154 d 164 a 174 d 184 c 194 d

105 d 115 b 125 c 135 d 145 a 155 c 165 c 175 d 185 a 195 d

106 d 116 b 126 d 136 c 146 c 156 c 166 d 176 c 186 b 196 d

107 c 117 c 127 b 137 c 147 d 157 a 167 c 177 d 187 d 197 a

108 a 118 b 128 a 138 d 148 d 158 d 168 d 178 c 188 b 198 c

109 a 119 c 129 c 139 c 149 b 159 a 169 c 179 b 189 a 199 a

110 d 120 b 130 b 140 c 150 c 160 d 170 c 180 d 190 c 200 b

You might also like