Microcontrollers MCQ
Microcontrollers MCQ
1- To drive a common cathode 7 segment LED display , the cathode must be connected to …………
a) Microcontroller b) VCC c) resistor d) GND
3- Alphanumeric LCD needs at least …………………bits for data/ commands to be connected to the microcontroller.
a) 4 b) 6 c) 8 d) 10
6- It is a non-volatile memory
a) EEPROM b) RAM c) Flash ROM d) both a and c
10- A seven segment displays "0" when its inputs "a b c d e f g" ="1111110"; it is
a) common cathode b) common anode c) active high d) both a and c
12-Most microcontroller based systems are smaller in size than microprocessor systems
a) True b) False
13-To drive more 7-segment displays using small numbers of microcontroller pins, we can use …………
a) Common cathode b) common anode c) multiplexer d) all of the above
14- Serial.begin(9600); creates a serial communication channel with a speed of 9600 -----
a) bits/sec b) frame/sec c) bytes/sec d) character/sec
15- Which function can be used to test if there are data received and stored in the serial buffer
a) Serial.read() b) Serial.available() c) Serial.data() d) Serial.received()
17- To derive common anode 7-segement LED display, the anode must be connected to................
a) VCC b) low voltage c) high voltage d) both a & c
18- In alphanumeric LCD, the --- pin is used to interpret D0-D7 as data or command
a) EN b) SR c) RW d) RS
19- We need--------------- pins to read data from a 24-button keypad
a) 2 outputs and 12 inputs b) 6 inputs and 4 outputs c) 3 outputs and 8 inputs d) all are true
20- A printed circuit board designed to facilitate work with a particular microcontroller.........
a) Mother board b) Daughter board c) Development board d) Arduino sketch
22- The RX and TX pins of the Arduino board have special usage in communication
a) serial b) USB c) Parallel a) Wireless WI-FI
23- The microcontroller used in Arduino Uno has -------type/s of volatile memory
a) two d) one c) three b) no memory
24-The microcontroller used in aircondition/oven application stores the preset temperature value
in...........
a) Flash memory b)RAM c) EEPROM d) either a or c
28-position the cursor in the upper left of the LCD without deleting the previous data on LCD
a) cursor() b) home() c) clear() d) none of the above
29- to display the number 4 in a common anode 7-segment display the "abcdefg" =
a) &h4c b) &h3f c)&h33 d) &h44
33- In some microcontrollers applications, it is recommended to operate at the lowest clock speed to ….
a) Reduce power consumption b) Reduce errors c) Reduce batteries d) Both a and c
38- For the problem in 39, if the prescaler is set to 128 and we toggle an output every timer overflow. What is
the output frequency?
a) 488 Hz b)244Hz c) 4Mhz d) 31 kHz
39- For the problem in 40, if OCRA=200 and we toggle an output every OCFA. What is the output frequency?
a)311 Hz b)244 Hz c) 31 kHz d) 488 Hz
41- At reset, all timer/counters are disabled and must be enabled in software.
a) False b)true