wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Penilaian Formatif 2

Total questions: 10

Worksheet time: 14mins

Name
Class
Date
1.

What is Timer In PIC18?

a)

Used to count clock signal coming in to it.

b)

used to count object.

c)

a type of watch.

d)

used as pin direction

2.

Which is FOUR(4) types of timers?

a)

TIMER1 TIMER2 TIMER3 TIMER4

b)

TIMER0 TIMER1 TIMER2 TIMER3

c)

TIMER A0 TIMER A1 TIMER A2 TIMER A3

d)

TIMER A TIMER B TIMER C TIMER D

3.

Which timer that can be used to as both 8-bit mode and 16-bit mode?

a)

TIMER 3

b)

TIMER 2

c)

TIMER 1

d)

TIMER 0

4.

What is pre-scaler?

a)

A prescaler is an electronic counting circuit used to reduce a high pin electrical signal to a lower pin.

b)

A prescaler is an electronic counting circuit used to determine electrical signal direction.

c)

A prescaler is an electronic counting circuit used to reduce a high frequency electrical signal to a lower frequency by integer division.

d)

A prescaler is an electronic counting circuit used to generate a high pin electrical signal to a lower pin.

5.

Which table register to be used to configure Timer 0 register.

a)

ADCON0 register table.

b)

T0CON register table.

c)

CCPON register table

d)

CCPRIL register table.

6.

What is the instruction to start the timer in programming for Timer 0?

a)

GoDone Timer0=1

b)

Go timer =1

c)

Start Timer =1

d)

TMR0CON=1

7.

What is the instruction to stop timer in Timer 0?

a)

Stop Timer0=0

b)

TMR0ON=0

c)

DisableTimer0=0

d)

Undo Timer0=0

8.

What is the instruction to clear the timer flag for the next round for Timer0?

a)

TMR0IF=1

b)

TMR0IF=0

c)

ClearFlag0=0

d)

FlagStop0=0

9.

By referring the T0CON table, find the value for T0CON if we want to program TIMER0 in 16-bit mode, no prescaler. Use PIC18’s fosc/4 crystal for the clock source, increment on positive-edge.

a)

TOCON=0b10101010

b)

TOCON=0b11110111

c)

TOCON=0b00001000

d)

TOCON=0b01010101

10.

By referring the T0CON table, find the value for T0CON if we want to program TIMER0 in 8-bit mode, no prescaler. Use PIC18’s Fosc/4 crystal for the clock source, increment on negative-edge.

a)

T0CON=0b01011000

b)

T0CON=0b11001100

c)

T0CON=0b01011110

d)

T0CON=0b00011010