Font size
WorksheetsPenilaian Formatif 1
Total questions: 12
Worksheet time: 5mins
Which is the correct process of microcontroller?
Receive input signal > Produce Output > Process The Signal
Receive input signal> Process The Signal > Produce Output
Process The Signal > Receive input signal >Produce Output
Produce Output > Process The Signal > Receive input signal
Which one is NOT a function register in PIC18?
TRISx
PORTx
pinMode
LATx
Which is NOT the advantages of Microcontroller?
Small in design
Low Cost
Easy to copy
Low Power Consumption
What types of compiler that used in this course?
XC8 Compiler
Hi-Tech Compiler
MultiSim Compiler
Arduino Compiler
A=0b01010111
B=0b00110011
What is A&B?
(a)
If A=0b00110001
and B=A<<2,
Find the Value of B.
(a)
Convert the hex value of "0xDA" to binary value.
(a)
Set pin RE0 as input. Use bit confuguration
(a)
Types of connection for input. You may choose more than one answer.
Active low
Active Trisx
Active High
Active Portx
Types Of LED output mode. You may choose more than ONE Answer.
Sinking Mode
pinMode
DigitalWrite
Source Mode
Assigning Pin RB0 as an input in bit configuration.
TRISBbits.TRISRB0=1;
TRISBbits.TRISB0=1;
TRISB.TRISB0=1;
TRISB0=0b00000001
WHAT IS THE FUNCTION OF TRISX
data direction register
output latch
read voltage level
to define on/off for output
