wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Microcontroller Quiz 1

Total questions: 50

Worksheet time: 29mins

Name
Class
Date
1.

full form of DJNZ ?

a)

Decrease Just Number Zero

b)

Decrement Jump Not equal to Zero

c)

Data Jump New address if Zero

d)

Delete and Jump to Number Zero

2.

After execution of following instructions what will be content of Accumulator ? And also tell which flag will set?

MOV A,#08H

MOV B,#09H

ADD A,B

a)

12H, CY

b)

11H, CY

c)

11H , AC

d)

12H, AC

3.

How many register bank in 8051?

a)

1

b)

2

c)

3

d)

4

4.

Each register bank consist of how many registers?

a)

10

b)

8

c)

4

d)

16

5.

How to select register register bank 2 ?

a)

SETB RS1 , SETB RS0

b)

CLR RS1 , SETB RS0

c)

SETB RS1 , CLR RS0

d)

CLR RS1 , CLR RS0

6.

Number of binary 1's in accumulator is odd then parity bit of PSW will be __________

a)

SET

b)

RESET

c)

-

d)

NONE OF THIS

7.

Which register bank will select after

CLR PSW.4

SETB PSW.3

a)

3

b)

2

c)

1

d)

0

8.

PSW is a bit addressable register.

a)

TRUE

b)

FALSE

c)

CANNOT SAY

d)

DONT KNOW

9.

Special function Register (SFR) address of B register is ______________________

a)

A0 H

b)

B0 H

c)

E0 H

d)

F0 H

10.

Find content of Accumulator ?

MOV A , #4EH

CPL A

A = ?

a)

22H

b)

B1H

c)

21H

d)

24H

11.

Find CY = ?

MOV A , # 09H

RRC A

a)

0

b)

1

c)

NONE OF THIS

12.

how many I/O port lines are there?

a)

4

b)

8

c)

16

d)

32

13.

which port(s) is/are used as address lines when accessing external memory

a)

Port 0

b)

Port 2

c)

Port 0 & port 2

d)

Port 1 & Port 3

14.

MOV A , # 59H

INC A


A = ?

a)

5AH

b)

60H

c)

6FH

d)

0FH

15.

Microcontroller is

a)

without memory

b)

with memory

16.

How many timers in 8051?

a)

1

b)

2

c)

3

d)

4

17.

The timers of the 8051 are

a)

4 bit

b)

8 bit

c)

16 bit

d)

32 bit

18.

The registers of Timer 1 are accessed as

a)

TL0 & TL1

b)

TH0 & TH1

c)

TL0 & TH0

d)

TL1 & TH1

19.

The TMOD register is a(n)

a)

4 Bit register

b)

8 bit register

c)

16 bit register

20.

Which of the following are 8 bit registers?

a)

PSW

b)

DPTR

c)

ACCUMULATOR (A reg)

d)

Program Counter

21.

How many interrupt sources available in 8051?

a)

4

b)

5

c)

10

d)

15

22.

Program Counter (PC) is a

a)

16 bit register

b)

holds the address of memory

c)

has internal address

d)

memory pointer

23.

pin number of RESET pin

a)

40

b)

9

c)

20

d)

21

24.

Bit addressable location available in RAM

a)

8 bytes

b)

16 bytes

c)

32 bytes

d)

128 bytes

25.

Registers used in SERIAL COMMUNICATION operation

a)

TMOD

b)

SCON

c)

SBUF

d)

PCON

26.

Initial Address of stack memory

a)

05H

b)

06H

c)

07H

d)

08H

27.

How many SFRs are available ?

a)

10

b)

11

c)

12

d)

21

28.

Assembly language instruction consists of ______ fields

a)

4

b)

3

c)

2

d)

1

29.

MOV A,#32H is an example of __________ addressing mode

a)

Indirect

b)

Direct

c)

Register

d)

Immediate

30.

after MUL AB , lower byte and higher byte result stored in following respectively

a)

B reg, Acc

b)

Acc, B reg

c)

B reg

d)

Acc

31.

8051 is a _____ pin IC

a)

20

b)

40

c)

10

d)

7

32.

size of on chip ROM

a)

128 bytes

b)

256 bytes

c)

4K bytes

d)

64K bytes

33.

timer pins T0 & T1 are connected to which pin respectively?

a)

10 (P3.0) & 11 (P3.1)

b)

12 (P3.2) & 13 (P3.3)

c)

14 (P3.4) & 15 (P3.5)

d)

16 (P3.6) & 17 (P3.7)

34.

 EA\overline{EA}  Pin is held _______ during external ROM access

a)

LOW

b)

HIGH

35.

Which pins are used to read/ write data from/to MC?

a)

RXD , TXD

b)

T0 , T1

c)

WR \overline{WR\ } , RD\overline{RD}

36.

MOVX instruction is used to access ______

a)

Internal RAM

b)

External RAM

c)

Program Counter

d)

Speccial Function Register

37.

NOP means

a)

No operation

b)

No operands

c)

No object

d)

New operation

38.

DPTR stands for

a)

Discrete Pointer

b)

Display Pointer

c)

Data Pointer

d)

Default Pointer

39.

Pin number of Vcc?

a)

20

b)

40

c)

1`

d)

10

40.

which port is used for only input/output operation?

a)

port 3

b)

port 2

c)

port 1

d)

port 0

41.

Choose the devices that are using a microcontroller

a)

fridge

b)

microwave

c)

washing machine

d)

sand clock

42.

The microcontroller :

a)

takes output to create the input

b)

takes inputs to create the output

c)

has only outputs

d)

create input and output

43.

which of the following are assembler directives?

a)

ORG

b)

CALL

c)

RET

d)

END

44.

Which file type is finally burnt in the ROM

a)

.abs

b)

.asm

c)

.hex

d)

.lst

45.

which language is used for programming 8051?

a)

Assembly Language

b)

Machine Language

c)

C Language

d)

English Language

46.

In structure of ASM which field is Mnemonic

a)

label

b)

operand

c)

comment

d)

opcode

47.

select the characteristics of Assembler directives

a)

Pseudo instruction

b)

executable instruction

c)

gives directions to assembler

d)

has internal address

48.

Addressing is ___________

a)

method of specifying the address in instruction

b)

method of specifying the data in instruction

c)

method of specifying the memory

d)

method of specifying the operation in instruction

49.

CJNE stands for

a)

Comment & Jump if Number Enable

b)

Compare & Jump if Not Equal

c)

Carry bit Just if Number Equal

50.

how many types of addressing mode are there in 8051?

a)

5

b)

4

c)

3

d)

2