You are on page 1of 3

Exercise1: MCQ

1) A program for Arduino is called 7) The Arduino Uno R3 board has


a. Project a. 4 digital analog input pins
b. Sketch b. 5 digital analog input pins
c. MikroC c. 6 digital analog input pins
d. Function d. 8 digital analog input pins
2) The Arduino compiler is called 8) The oscillator circuit on the Arduino Uno
a. Arduino IDE R3 board is made with
b. ArduinoSoft a. a crystal
c. MikroArduino b. an RC circuit
d. Turbo C c. a Colpits circuit
3) The file uploaded in the microcontroller of d. an astable circuit
the Arduino board is of extension 9) The voltages available on the Arduino
a. .c Uno R3 board are:
b. .obj a. 3.3V and 5V
c. .exe b. 5V and 12V
d. .hex c. 1.5V and 3V
4) The Analog to Digital Converter d. 5V and 220V
embedded in the Arduino board has a 10) How many serial communication unit are
resolution of present on the Arduino Uno R3 board?
a. 8 bits a. 1
b. 10 bits b. 2
c. 16 bits c. 4
d. 20 bits d. 10
11) The function UARTx_Init takes as
5) The microcontroller found on the Arduino parameter
Uno R3 board is a. Frequency
a. PIC16F84A b. Baud rate
b. PIC18F4550 c. Void
c. ATEMEGA328 d. A char or ASCII numbe
d. ATEMEGA128 12) The DHT-22 sensor is a
6) The Arduino Uno R3 board has a. Humidity sensor only
a. 8 digital I/O pins b. Temperature sensor only
b. 14 digital I/O pins c. Ultrasonic sensor
c. 16 digital I/O pins d. Both humidity and temperature
d. 20 digital I/O pins sensor
13) For the serial port’s logic inputs, a logic 1
corresponds to
a. A voltage between 1-5V c. Displays the text in cotes on a 7-
b. A voltage between 3-5V segment display
c. A voltage between 5-25V d. Sends out the text in cotes though the
d. A voltage between 3-25V UART unit
14) Which of the following best describe an 20) The number of bits required by the
embedded system-memory Arduino Uno R3 board to sent out the text
a. An embedded system is a system that “BLESSING” through the UART unit is
has software embedded into hardware. a. 80
b. It may be an independent system or b. 8
part of a large system. Its software is c. 16
usually embedded into a ROM or flash. d. 64
c. It is any device that includes a 21) The process of inserting that program in
programmable computer but is not itself a chip or kit called
intended to be a general purpose a. Uploading
computer. b. Programming
d. An embedded system is a system c. Flashing
which use computation to perform a d. Embedding
specific function.
e. (a) and (c) 22) A sensor designed to give digital
f. (b) and (c) output of heartbeat when a finger
g. all of (a), (b), (c) and (d) is placed on it is called?
15) RTOS stands for a. Humidity Sensor
a. Real Temperature Of Structure
b. Real Time Operating signal b. Ultrasonic Sensor
c. Real Time Operating System c. Heartbeat Sensor
d. Real Time Original System d. Rain Sensor
23) How many pins does the ultrasonic
16) The operating system in a sensor have?
microcontroller is also called
a. Software a. 2
b. Hardware b. 4
c. Firmware c. 5
d. Source code d. 10
17) The global variables in a sketch are 24) The Arduino program consist of two
declared main functions which are:
a. Before the setup() function
b. In the setup() function a. Setup () function and Loop ()
c. After the setup() function Function
d. In the loop() function b. Main () function and Prototype ()
18) The function Delay() takes as argument function
an integer representing c. Variable () function and Loop ()
a. the number of seconds function
b. the number of miliseconds d. Setup () function and Variable ()
c. the number of microseconds function
d. the pin number 25) Systems which use computation to
19) The function Serial.print()
a. Displays the text in cotes on the perform a specific function and has
computer monitor software embedded into computer-
b. Displays the text in cotes on the LCD hardware is called
a. Physical systems d. Servomotor
b. Embedded systems 28) Which of the following are header files?
c. Respiratory systems a) #include
d. Management systems b) file
c) struct()
26) A method of detecting errors in d) proc()
transmission is known as: 1-
a. Parity a- 2.5V b- c- d-
b. Error detection 30) The temperature 25°C corresponds to the
c. Stop bit following voltage out of the LM35
d. Data bit temperature sensor
27) Embedded systems are not found in the a) 2.5V
following except
a. MP3 players b) 25V
c) 25mV
b. Mobile phones
d) 250mV
c. Digital cameras

Exercise2

1) Draw and comment the bloc diagram of


an embedded system
2) Write a program that blinks a LED
connected to pin3 of the Arduino Uno
R3 board with a frequency of 2Hz

You might also like