Logo

Microcontrollers Questions Set 1:

Quiz Mode

A timer is in mode 0, what value can it not hold?

1
2
3
4

Solution:

Which of the following is not a conditional jump instruction?

1
2
3
4

Solution:

Which of the following is a valid rotate instruction?

1
2
3
4

Solution:

Which timer mode is called split timer mode in the 8051 microcontroller ?

1
2
3
4

Solution:

Which of the following statements can directly manipulate the Carry (CY) flag?

1
2
3
4

Solution:

A certain memory location has the address 1100 1011 inside the 8051 microcontroller. Which area of temporary memory does it belongs to ?

1
2
3
4

Solution:

What is Baud Rate ?

1
2
3
4

Solution:

How do we check whether a number is positive or negative using 8051 microcontroller?

1
2
3
4

Solution:

Which pin is used to select a particular memory chip, if multiple memory chips are attached to the 8051 microcontroller?

1
2
3
4

Solution:

In an 8051 microcontroller, the following code was written:


#include<reg51.h>

sbit pin = P1^0;

void main()

{

pin = 0;

TMOD = 0x01;

while(1)

{

TH0 = 0xFE;

TL0 = 0x0C;

pin = ~pin;

TR0 = 1;

while(TF0==0);

TF0 = 0;

TR0 = 0;

}

}

What is the shape and period of the waveform at the pin? Assume the input clock is 12 MHz.

1
2
3
4

Solution: