wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

8051-MCQ

Total questions: 15

Worksheet time: 11mins

Name
Class
Date
1.

8051 microcontrollers are manufactured by which of the following companies?

a)

Atmel

b)

Philips

c)

Intel

d)

All of the mentioned

2.

8051 series has how many 16 bit registers?

a)

2

b)

1

c)

0

d)

3

3.

When the microcontroller executes some arithmetic operations, then the flag bits of which register are affected?

a)

PSW

b)

SP

c)

DPTR

d)

PC

4.

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

5.

If we push data onto the stack then the stack pointer

a)

increases with every push

b)

decreases with every push

c)

increases & decreases with every push

d)

none of the mentioned

6.

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

7.

Which of the ports act as the 16 bit address lines for transferring data through it?

a)

PORT 0 and PORT 1

b)

PORT 1 and PORT 2

c)

PORT 0 and PORT 2

d)

PORT 1 and PORT 3

8.

Which addressing mode is used in pushing or popping any element on or from the stack?

a)

Immediate

b)

direct

c)

indirect

d)

register

9.

Which operator is the most important while assigning any instruction as register indirect instruction?

a)

#

b)

@

c)

*

d)

&

10.

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

11.

A valid division instruction always makes:

a)

CY=0,AC=1

b)

CY=1,AC=1

c)

CY=0,AC=0

d)

no relation with AC and CY

12.

When an interrupt is enabled, then where does the pointer moves immediately after this interrupt has occurred?

a)

to the next instruction which is to be executed

b)

to the first instruction of ISR

c)

to a fixed location in memory called interrupt vector table

d)

to the end of the program

13.

Which pin of the external hardware is said to exhibit INT0 interrupt?

a)

pin no 10

b)

pin no 11

c)

pin no 12

d)

pin no 13

14.

Which bit of the IE register is used to enable TxD/RxD interrupt?

a)

IE.D5

b)

IE.D2

c)

IE.D3

d)

IE.D4

15.

Which of the following combination is the best to enable the external hardware interrupt 0 of the IE register (assuming initially all bits of the IE register are zero)?

a)

EX0=1

b)

EA=1

c)

any of the mentioned

d)

EX0=1 & EA=1