wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

MPMC MCQ 8051 APPS

Total questions: 30

Worksheet time: 30mins

Name
Class
Date
1.

In the attached circuit, K1 and K8 are closed where K1 is LSB. Other keys are open. The input value read in Port 1 is

a)

FFH

b)

18H

c)

81H

d)

00H

2.

In the attached circuit, all keys are open. The input value read in Port 1 is

a)

FFH

b)

18H

c)

81H

d)

00H

3.

In the attached program, the microcontroller,

a)

Waits for a key to be pressed

b)

Waits for a key to be released

c)

Clears the accumulator

d)

Waits for a delay to be over

4.

Consider the following statements:

1) LCALL can call a subroutine anywhere within the 2K memory page.

2) ACALL can call a subroutine within 128 bytes memory space.

a)

Both statements are true.

b)

Both statements are false

c)

First statement is true, second statement is false

d)

First statement is false, second statement is true.

5.

Consider the following statements: The advantage in

organising keys of a keyboard in matrix form are,

1) It reduces the number of port pins required.

2) Only input pins will be required.

a)

Both statements are true.

b)

Both statements are false

c)

First statement is true, second statement is false

d)

First statement is false, second statement is true.

6.

DPTR=3000H; A = 05H; What is the content of the accumulator after execution of the instruction

MOVC , @A+DPTR

a)

30H

b)

05H

c)

00H

d)

May not be any of the above

7.

DPTR=3000H; A = 05H; PC=2000H; What is the content of the accumulator after execution of the instruction

MOVC , @A+PC

a)

30H

b)

05H

c)

20H

d)

May not be any of the above

8.

In the attached circuit for a matrix keyboard interfaced with 8051, P1=F0H; If Key1 is pressed, the content of P2 is

a)

FFH;

b)

0CH;

c)

FCH

d)

00H;

9.

In the attached circuit for a matrix keyboard interfaced with 8051, P1=00H; If Key 7 is pressed, the content of P2 is

a)

FFH;

b)

0CH;

c)

F7H

d)

00H;

10.

In the attached circuit for a matrix keyboard interfaced with 8051, the lookup table contains

a)

the decimal numbers 00 to 15

b)

the hexadecimal numbers 0 to F

c)

the ascii code of the numbers 0 to F

d)

None of the above

11.

In keyboard routine, debouncing is done since

a)

Key values take time to stabilise

b)

to match processor time with keypress time

c)

to reduce memory requirement

d)

None of the above

12.

In the attached LED driver, what is the BCD input?

a)

0000

b)

0001

c)

1111

d)

None of the above

13.

In the attached LED driver, to display 9 in the LED, what is the input?

a)

0001

b)

1001

c)

1111

d)

0000

14.

In the attached, stepper motor driver, what is the purpose of the resistance?

a)

Reduce time constant L/R

b)

Increase stepping rate

c)

Get more torque

d)

All of the other options

15.

In the 8051 based washing machine control, which of these is not an input?

a)

Level sensor

b)

Stepper motor supply

c)

Wash program select

d)

Load select

16.

In the 8051 based washing machine control, which of these is not an output?

a)

Machine ON indication

b)

Stepper motor supply

c)

Water inlet valve control

d)

Load select

17.

In the 8051 based washing machine control, which of these operations requires the operation of stepper motors?

a)

Soak

b)

Spin

c)

Agitate

d)

Fill

18.

Load cell operation is based on

a)

Thermo couple effect

b)

Piezo resistive effect

c)

Miller effect

d)

None of the above

19.

In washing machine control, during washing,

a)

Only agitator rotates

b)

Only wash basket rotates

c)

Agitator and Wash basket rotate in opposite directions

d)

Agitator and Wash basket rotate in same direction

20.

Which of the following cannot be used for position sensing in a servo motor?

a)

Potentiometer

b)

Thumbwheel switch

c)

Encoder

d)

Resolver

21.

Which of the following motors can be used for precise position control?

a)

Induction motor

b)

Synchronous motor

c)

DC motor

d)

Servo motor

22.

8255 has how many ports?

a)

1

b)

2

c)

3

d)

4

23.

In 8255, Port B cannot operate in which of the following modes?

a)

Mode 0

b)

Mode 1

c)

Mode 2

d)

All of the above

24.

Which of these is not a handshaking signal in 8255?

a)

IBF

b)

OBF

c)

ACK

d)

RD

25.

IN 8255, bits of which port can be manipulated through the control register?

a)

Port A

b)

Port B

c)

Port C

d)

None of the above

26.

In 8255, which register is selected when A0=1, A1=1 and chip is selected?

a)

Port A

b)

Port B

c)

Port C

d)

Control register

27.

In 8255, PC7 has to be made 1. The value to be written in to the control register is

a)

18

b)

10

c)

FF

d)

0F

28.

IN 8255, Group A comprises

a)

Port A and Port C lower

b)

Port A and Port C upper

c)

Port A and Port B

d)

Port B and Port C lower

29.

8255 has

a)

28 pins

b)

40 pins

c)

64 pins

d)

None of the above

30.

IN 8255, Group B comprises

a)

Port A and Port C lower

b)

Port A and Port C upper

c)

Port A and Port B

d)

Port B and Port C lower