Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

4/26/2014 FSB23203 - Microcontroller Quiz 2

http://elearn.mfi.unikl.edu.my/mod/quiz/attempt.php?attempt=12385&page=1 1/2
Home My courses FSB23203 - mohdsobri 21 April - 27 April FSB23203 - Microcontroller Quiz 2
FSB23203 - MICROCONTROLLER
You are logged in as MOHAMAD AZLAN BIN ZAINAL (Logout)
8
Marks:
2.00
Choose one
answer.
a. MOV TH1, #125
b. MOV TH1, #-125
c. MOV T1, #125
d. MOV T1, #-125
Select the correct register and value to be loaded into timer 1 mode 2 to be an event counter
and being initialized to 125.
9
Marks:
2.00
Choose one
answer.
a. TH1 = 0x48 and TL1=0x01
b. TH1=0x67 and TL1=0xFF
c. TH1=0xDC and TL1=0x00
d. TH1=0x24 and TL1=0x00
Find the values of TH1 and TL1 to be loaded into timer to generate square wave of 50Hz with
50% of duty cycle.
10
Marks:
2.00
Choose one
answer.
a. 76.8kHz
b. 3.687kHz
c. 153.6kHz
d. 1.843kHz
Find the frequency of the square wave generated by the following program:
11
Marks:
2.00
Select the output of the program below:
1 2 3 4 5 6
7 8 9 10 11
Quiz navigation
Finish attempt...
Time left 0:49:18
4/26/2014 FSB23203 - Microcontroller Quiz 2
http://elearn.mfi.unikl.edu.my/mod/quiz/attempt.php?attempt=12385&page=1 2/2
FSB23203 - mohdsobri
You are logged in as MOHAMAD AZLAN BIN ZAINAL (Logout)
Choose one
answer.
a. HAI
b. no output
c. HAI HAI HAI HAI ...
d. HAIHAIHAIHAIHAI....
Next

You might also like