SQU E-learning System (Academic)
Question 3: Not yet
Which of the following statements are correct?
Select one or more:
a. When supplied with logic, an LED interfaced to the AVR microcontroller will always be ON regardless of the configuration.
b. Motors cannot be directly interfaced to a typical microcontroller without using a driver.
c. Both the relay and opto-isolators are used to isolate parts of a circuit.
d. An opto-isolator has a photo-transistor in the input and an LED in the output.
Marked out of 1.50
Question 4: Not yet answered
Question 5: Not yet answered
A PIC microcontroller is executing a program that contains 200 instructions, while an AVR microcontroller is executing another program that consists of 180 instructions. Assuming that the PIC is operating at a frequency that is four times faster than the one driving the AVR, which microcontroller will finish executing its program first?
Select one:
a. Both will finish at the same time.
b. AVR.
c. It is not possible to compare the execution time between two different microcontrollers.
d. PIC.
Note: Answer to question 5 is not available.
To connect PORTB of an ATmega microcontroller to chip PBPS, the PORTB pin connected to an LED should be set to high when outputting to PB0. The instruction that checks whether PORTB pin 5 is high and toggles the green LED.