wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

UNIT-III TIMER /COUNTER & SERIAL COMMUNICATION

Total questions: 40

Worksheet time: 20mins

Name
Class
Date
1.

TMOD is a ___ bit register.

a)

a) 8 bit

b)

b) 16 bit

c)

c) 32 bit

d)

d) 4 bit

2.

Which port of the 8051 is used ONLY as a bidirectional I/O port?

a)

a) Port 0

b)

b)Port 1

c)

c)Port 2

d)

d)Port 3

3.

Which register holds the serial data during transmission?

a)

a)TH0

b)

b)TMOD

c)

c)SBUF

d)

d)IE

4.

In counter mode, what does the timer count?

a)

a)External events on pins T0/T1

b)

b)Internal clock pulses

c)

c)Instruction cycles

d)

d)Program counter values

5.

The IE and IP registers are

a)

a) Only bit addressable register

b)

b) Only byte addressable register

c)

c) Bit and byte addressable registers

d)

d) None of the above

6.

The highest priority interrupt in 8051 is

a)

a)Timer 0

b)

b)External INT1

c)

c)Serial port

d)

d)External INT0

7.

How many interrupt sources are there in 8051?

a)

4

b)

5

c)

6

d)

8

8.

The TMOD register in 8051 is used to:

a)

a) Control the serial port

b)

b) Select timer mode of operation

c)

c) Enable external interrupts

d)

d) Configure I/O ports

9.

In TCON, bits TF0 and TF1 are:

a)

a) Reset bits

b)

b) Timer overflow flags for Timer 0 and Timer 1

c)

c) Serial communication flags

d)

d) External interrupt flags

10.

In SCON, bit RI (Receive Interrupt flag) is set when:

a)

a) Parity bit is set

b)

b) Data is received into SBUF

c)

c) Timer 1 overflows

d)

d) Data is transmitted from SBUF

11.

Which register stores overflow flag of Timer 0?

a)

a)TH0

b)

b)TL0

c)

c)TCON

d)

d)SCON

12.

RS232C is a

a)

a) Parallel interface standard

b)

b) Programmable peripheral interface

c)

c) Serial interface standard

d)

d) None of the above

13.

The frequency of 8051 timer is

a)

a) fosc

b)

b) fosc/24

c)

c) fosc/12

d)

d) fosc/2

14.

The byte addresses of port 0 and port 1 are

a)

a) 80H and 90H

b)

b) 80H and AOH

c)

c) 90H and AOH

d)

d) AOH and BOH

15.

TMOD is a

a)

a) Only bit addressable register

b)

b) Bit and byte addressable register

c)

c) Only byte addressable register

d)

d) None of the above

16.

The TCON register in 8051 is mainly used for:

a)

a) Selecting mode of timers

b)

b) Enabling RAM

c)

c)Configuring serial communication

d)

d) Controlling timer start/stop and interrupts

17.

Which SFR is used to set interrupt priority?

a)

a)TMOD

b)

b)IP

c)

c)IE

d)

d)SCON

18.

The maximum frequency of 8051 counter is

a)

a) fosc/24

b)

b) fosc/2

c)

c) fosc/12

d)

d) fosc

19.

The full form of UART is

a)

a)Universal Asynchronous Receiver Transmitter

b)

b)Unified Automatic Receiver Transmitter

c)

c)Universal Addressable Register Transfer

d)

d)Universal Active Register Transmitter

20.

Which SFR is used for serial communication?

a)

a)SCON

b)

b)TCON

c)

c)TMOD

d)

d)IE

21.

If TMOD = 01H, which mode is selected?

a)

a)Timer 0, mode 1

b)

b)Timer 1, mode 0

c)

c)Timer 0, mode 2

d)

d)Timer 1, mode 1

22.

The EA bit of IE register is used to

a)

a) Enable/disable all interrupts

b)

b) Disable all interrupts

c)

c) Set all interrupts

d)

d) Reset all interrupts

23.

RS232 standard is used for

a)

a)Parallel data communication

b)

b)Serial data communication

c)

c)Wireless communication

d)

d)I²C communication

24.

If M1=1 and M0=0 the operating mode is called as

a)

a) 13 bit Timer

b)

b) 16 bit Timer

c)

c) 8 bit auto reload timer

d)

d) Split Timer

25.

Microcontroller 8051 contains

a)

a) Only one timer/counter

b)

b) 3 timer/counters

c)

c) 2 timer/counters

d)

d) 4 timer/counters

26.

What is the bit address range for I/O ports in 8051?

a)

a)00H–7FH

b)

b)80H–FFH

c)

c)20H–2FH

d)

d)00H–FFH

27.

How many ports are available in 8051?

a)

2

b)

3

c)

4

d)

5

28.

0013H is the vector address of lll

a)

a) Exterior interrupt 0

b)

b) Timer interrupt 0

c)

c) Timer interrupt 1

d)

d) External interrupt 1

29.

What is the size of each timer register in 8051?

a)

a)8-bit

b)

b)32-bit

c)

c)12-bit

d)

d)16-bit

30.

A student needs to toggle P1.0 every 1000 machine cycles. Which peripheral will he use?

a)

a)Serial port

b)

b)Interrupt

c)

c)Timer

d)

d)Port0

31.

SCON is a ___ bit register.

a)

a)4-bit

b)

b) 6-bit

c)

c) 8-bit

d)

d) 16-bit

32.

Which register is used to enable/disable interrupts?

a)

a)TCON

b)

b)IE

c)

c)IP

d)

d)TMOD

33.

RS-232C is a standard interface for connecting

a)

a) Hard disk and CPU

b)

b) Printer and Memory

c)

c) Data Terminal Equipment (DTE) and Data Communication Equipment (DCE)

d)

d) RAM and ROM

34.

In PCON, bit SMOD is used to:

a)

a) Select timer mode

b)

b) Enable interrupts

c)

c) Enter power-down mode

d)

d) Double the baud rate of serial communication

35.

The serial communication of 8051 contains

a)

a) 2 modes

b)

b) 3 modes

c)

c) 5 modes

d)

d) 4 modes

36.

RS-232C is used in which type of communication?

a)

a) Parallel communication

b)

b) Serial communication

c)

c) Wireless communication

d)

d) Optical communication

37.

Which of the following ports of 8051 is used as a dual-purpose port?

a)

a)P0 and P2

b)

b)P1 only

c)

c)P3 only

d)

d)P0,P2 and P3

38.

Timer 0 in mode 2 operates as

a)

a)13-bit timer

b)

b)Event counter

c)

c)16-bit timer

d)

d)8-bit auto-reload timer

39.

Which pin of 8051 is used for serial transmission?

a)

a)P3.0

b)

b)P3.1

c)

c)P1.0

d)

d)P2.0

40.

Which SFR is used to control timer modes in 8051?

a)

a)TCON

b)

b)TMOD

c)

c)TH0

d)

d)TL1