0% found this document useful (0 votes)
4 views3 pages

Microcontrollers MCQ

The document consists of multiple-choice questions (MCQs) related to microcontrollers, covering topics such as LED displays, memory types, serial communication, and timer functionality. It addresses fundamental concepts and technical details essential for understanding microcontroller operations and applications. The questions are designed to test knowledge and comprehension of microcontroller systems and their components.

Uploaded by

Ahmed Abolabn
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views3 pages

Microcontrollers MCQ

The document consists of multiple-choice questions (MCQs) related to microcontrollers, covering topics such as LED displays, memory types, serial communication, and timer functionality. It addresses fundamental concepts and technical details essential for understanding microcontroller operations and applications. The questions are designed to test knowledge and comprehension of microcontroller systems and their components.

Uploaded by

Ahmed Abolabn
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

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

2- A programmer is a……………………… used to download program to a microcontroller.


a) hardware b) software c) person d)none of the above

3- Alphanumeric LCD needs at least …………………bits for data/ commands to be connected to the microcontroller.
a) 4 b) 6 c) 8 d) 10

4- Microcontrollers can replace microprocessors


a) True b) False

5-LCD technology is based on producing light.


a) True b) False

6- It is a non-volatile memory
a) EEPROM b) RAM c) Flash ROM d) both a and c

7-Serial communications in microcontrollers can be used for


a) reading keypads b) c and d are true c) multiplexing d) debugging

8- In alphanumeric LCD, the ---------- pin is used to store/accept data


a) RS b) VEE c) RW d) EN

9- For full-duplex serial communication between two microcontrollers


, we need ........ wires
a) 1 b) 4 c) 3 d) 2

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

11-The largest memory in microcontrollers is ………………………


a) Registers b) RAM c) EEPROM d) Flash memory

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()

16- It is oriented to process large size data.


a) microcontroller b) Flash memory c) microprocessor d) Arduino uno

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

21- The microcontroller's program is usually stored in........


a) RAM b) EEPROM c) Flash ROM d) Flash RAM

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

25- The USB chip in Arduino Uno board is used to…………


a) blink a LED
b) provide power for the microcontroller
c) download firmware to the microcontroller
d) all are true

26- Microcontroller is faster than Microprocessor


a) False b) True

27- The code downloaded to the microcontroller is called binary file.


a) False b) True

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

30- Microprocessor needs many external parts to build a system


b) True a) False

31- open switch (off state) can be represented as


a) Open circuit b) short circuit c) closed circuit d)none of the above.

32-Keypads is a group of buttons connected in.........


a) columns b)rows c) columns and rows d) none of the above

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

34- The code of ….. should be as small as possible


a) Set up() b) timer c) ISR d) loop()

35-Timer …… of ATmega328 is a 16 bit.


a) 1 b) 0 c)2 d) both a and c
36- Timer 0 acts as …….. when counting up/down according to system clock.
a) Counter b)timer c) interrupt d) counter/timer

37-For timer 2 in normal mode it will count from 0 to …… and repeats


a) 256 b) 255 c) top d) 65535

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

40- A microprocessor contains a "clock generator".


a) False b)true

41- At reset, all timer/counters are disabled and must be enabled in software.
a) False b)true

42- Timer/Counter register TCNT0, can be updated by ……


a) CPU b) control logic unit c) both a and b d) none of the above

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy