wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Penilaian Formatif 1

Total questions: 12

Worksheet time: 5mins

Name
Class
Date
1.

Which is the correct process of microcontroller?

a)

Receive input signal > Produce Output > Process The Signal

b)

Receive input signal> Process The Signal > Produce Output

c)

Process The Signal > Receive input signal >Produce Output

d)

Produce Output > Process The Signal > Receive input signal

2.

Which one is NOT a function register in PIC18?

a)

TRISx

b)

PORTx

c)

pinMode

d)

LATx

3.

Which is NOT the advantages of Microcontroller?

a)

Small in design

b)

Low Cost

c)

Easy to copy

d)

Low Power Consumption

4.

What types of compiler that used in this course?

a)

XC8 Compiler

b)

Hi-Tech Compiler

c)

MultiSim Compiler

d)

Arduino Compiler

5.

A=0b01010111

B=0b00110011

What is A&B?

(a)  

6.

If A=0b00110001

and B=A<<2,

Find the Value of B.

(a)  

7.

Convert the hex value of "0xDA" to binary value.

(a)  

8.

Set pin RE0 as input. Use bit confuguration

(a)  

9.

Types of connection for input. You may choose more than one answer.

a)

Active low

b)

Active Trisx

c)

Active High

d)

Active Portx

10.

Types Of LED output mode. You may choose more than ONE Answer.

a)

Sinking Mode

b)

pinMode

c)

DigitalWrite

d)

Source Mode

11.

Assigning Pin RB0 as an input in bit configuration.

a)

TRISBbits.TRISRB0=1;

b)

TRISBbits.TRISB0=1;

c)

TRISB.TRISB0=1;

d)

TRISB0=0b00000001

12.

WHAT IS THE FUNCTION OF TRISX

a)

data direction register

b)

output latch

c)

read voltage level

d)

to define on/off for output