wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Quiz on 8051 Microcontroller

Total questions: 25

Worksheet time: 2mins

Name
Class
Date
1.

 8051 microcontrollers are manufactured by which of the following companies?

a)

Atmel

b)

Philips

c)

Intel

d)

All of the above

2.

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

a)

immediate

b)

Direct

c)

Indirect

d)

Register

3.

8051 has on chip ROM size of 

a)

4K bytes

b)

8K bytes

c)

16K bytes

d)

32K bytes

4.

8051 has ........... no. of timers

a)

1

b)

2

c)

3

d)

4

5.

8051 has ................no. of pins

a)

32

b)

40

c)

64

d)

128

6.

pin no .......................is gnd pin in 8051

a)

5

b)

10

c)

15

d)

20

7.

Full form of PSW register is 

a)

Program Status Work

b)

Program Status Word

c)

Program Sending Word

d)

None of the above

8.

The RS0 and RS1 is ________ bit of PSW register

a)

1-2

b)

2-3

c)

3-4

d)

4-5

9.

The function of RS0 and RS1 bit of 8051 is for _______

a)

Register bank Select

b)

Memory Select

c)

I/O select

d)

None of the above

10.

The higher and lower bytes of a 16-bit register DPTR are represented respectively as

a)

LDPTR and HDPTR

b)

DPTRL and DPTRH

c)

DPH and DPL

d)

HDP and LDP

11.

What is the purpose of the Timer 0 in the 8051 microcontroller?

a)

To interface with external devices

b)

To control the serial communication

c)

To generate a delay

d)

To manage the power supply

12.

Which of the following is a valid instruction for the 8051 microcontroller?

a)

SUB A, @R0

b)

INC DPTR

c)

ADD A, #data

d)

All of the above

13.

The 8051 microcontroller operates on which type of architecture?

a)

None of the above

b)

Both Harvard and Von Neumann

c)

Von Neumann Architecture

d)

Harvard Architecture

14.

What is the maximum clock frequency of the 8051 microcontroller?

a)

12 MHz

b)

40 MHz

c)

24 MHz

d)

50 MHz

15.

What is the size of the data memory in the 8051 microcontroller?

a)

128 bytes

b)

1024 bytes

c)

512 bytes

d)

256 bytes

16.

What is the function of the accumulator in the 8051 microcontroller?

a)

To control input/output operations

b)

To perform arithmetic operations

c)

To store data temporarily

d)

All of the above

17.

Which of the following is the size of the program memory in the 8051 microcontroller?

a)

2K bytes

b)

8K bytes

c)

16K bytes

d)

4K bytes

18.

What is the function of the Timer 1 in the 8051 microcontroller?

a)

To manage the power supply

b)

To control the serial communication

c)

To generate a delay

d)

To interface with external devices

19.

Which of the following is a feature of the 8051 microcontroller?

a)

Built-in ADC

b)

On-chip ROM

c)

Multiple cores

d)

High-speed processing

20.

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

a)

DPTR

b)

PSW

c)

PC

d)

SP

21.

What does the symbol '#' represent in the instruction MOV A, #55H ?

a)

Direct datatype

b)

Indirect datatype

c)

Immediate datatype

d)

Indexed datatype

22.

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

23.

What do you mean by micro in microcontroller?

a)

Distance between 2 IC’s

b)

Distance between 2 transistors

 

c)

Size of a controller

d)

Distance between 2 pins

 

24.

Auxiliary carry is set during which condition?

a)

When carry is generated from D3 to D4

b)

When carry is generated from D7

c)

When carry is generated from both D3 to D4 and D7

d)

When carry is generated at either D3 to D4 or D7

25.

Which register is used to hold the address of the next instruction to be executed in the 8051 microcontroller?

a)

Program Counter (PC)

b)

Data Pointer (DPTR)

c)

Stack Pointer (SP)

d)

Accumulator (A)