Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

MCQ6 for 8051

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

Which of the following comes under the indexed addressing mode?

a)

MOVX A, @DPTR

b)

MOVC A, @A+DPTR

c)

MOV A,R0

d)

MOV @R0,A

2.

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

a)

PSW

b)

SP

c)

DPTR

d)

PC

3.

8051 microcontroller has how many 16 bit registers?

a)

2

b)

3

c)

1

d)

0

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.

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

6.

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

7.

While programming the ADC0808/0809 IC what steps are followed?

a)

select the analog channel, start the conversion, monitor the conversion, display the digital results

b)

select the analog channel, activate the ALE signal (H to L pulse), start the conversion, monitor the conversion, read the digital results

c)

select the analog channel, activate the ALE signal (H to L pulse), start the conversion, read the digital results

d)

select the channel, start the conversion, end the conversion

8.

8 input DAC has ________

a)

8 discrete voltage levels

b)

64 discrete voltage levels

c)

128 discrete voltage levels

d)

256 discrete voltage levels

9.

The 8255 is a ______ chip.

a)

Input/Output

b)

Analog to Digital

c)

Digital to analog

d)

None of the mentioned

10.

How many pins of the 8255 can be used as the I/O ports?


a)

8

b)

16

c)

24

d)

32

11.

How many data lines are there in a 16*2 alphanumeric LCD IC?

a)

16

b)

8

c)

1

d)

0

12.

Which pin of the LCD is used for adjusting its contrast?


a)

1

b)

2

c)

3

d)

4

13.

For writing commands on an LCD, RS bit is

a)

set

b)

reset

c)

set & reset

d)

none of the mentioned

14.

Which command of an LCD is used to on the display and cursor character not blinking?

a)

0x0E

b)

0x18

c)

0x05

d)

0x07

15.

Which of the following step/s is/are correct for sending data to an LCD?

a)

reset the R/W bit

b)

High to low pulse to the E bit

c)

set the RS bit

d)

all of the mentioned

16.

The RS pin is _________ for an LCD.

a)

input

b)

output

c)

input & output

d)

none of the mentioned

17.

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

a)

10

b)

11

c)

12

d)

13

18.

Which devices are specifically being used for converting serial to parallel and from parallel to serial respectively?

a)

timers

b)

counters

c)

registers

d)

serial communication

19.

When we add two numbers the destination address must always be.

a)

some immediate data

b)

any register

c)

accumulator

d)

memory

20.

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

21.

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

22.

XRL, ORL, ANL instructions have _______

a)

accumulator as the destination address and any register, memory or any immediate data as the source address

b)

accumulator as the destination address and any immediate data as the source address

c)

any register as the destination address and accumulator, memory or any immediate data as the source address

d)

any register as the destination address and any immediate data as the source address

23.

To initialize any port as an output port what value is to be given to it?

a)

0XFF

b)

0X00

c)

0X01

d)

A port is by default an output port

24.

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

25.

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