Ohm
Farad
Henry
Coulomb
Voltage
Frequency
Time Duration
Distence
WAN
LAN
Fox
Short-range Wireless Network
Top to bottom
Bottom to top
Any order
None of these
It is a name that Arduino uses for a program
Its the unit of code that is uploaded to run on an Arduino board
Both (A) and (B)
Integrated Development Environment
Interfaced Developed Module
Interleaving Deficit Expander
Interleaving The Developed Environment
Icd.getcursor(0,0);
Icd.setcursor(0,0);
Icd.getcursor(0,1);
Icd.setcursor(0,1);
What is the output of the following program?
for(;;)
{
Statements
}
Error
Statements will run forever
This an infinite loop
Both (B) and (C)
It initializes the LCD with the number of columns and rows.
It prints a message to the LCD.
It clears the LCD display.
It changes the LCD backlight.
int sensorPin=9
int sensorValue=9
pinMode(9, OUTPUT);
digitalWrite(9, HIGH);
Analog sensor
Digital sensor
Light sensor
Dust sensor
G++
AVR- GCC
PYTHON
Both A and B
7 Microseconds
4 Microseconds
6 Microseconds
2 Microseconds
50
25
27
54
dataType const PROGMEM variableName [] = {};
data type PROFMEM const variableName [] = {};
const data Type variableName [] PROGMEM = {};
const data Type PROGMEM variableName []= {};
12
13
14
16
Predict the output of the following code if the object is moving away from the sensor
int op = 7; int isBarrier = HIGH; void setup() { pinMode(op, INPUT); Serial.begin(9600); } void loop() { isBarrier = digitalRead(op); if (isBarrier == LOW) { Serial.println("1+"); } else { Serial.print("clear+"); } delay(100); }
clear+clear+1+1
1+1+clear+clear
clear+clear+clear+clear
1+1+clear+1
digitalRead()
for()
pinMode()
delay()
Pin No. 3
Pin No. 2
Pin No. 5
Pin No. 4
Partition larger task into smaller tasks
Code reusability
Manage complexity
All of these
AT91SAM3x8E
AT90S2313
ATmega328p
AT90S/LS8535
setup()
loop()
while()
None of the above
Infinite
1
0
2
digitalWrite()
analogWrite()
setPin()
3
4
start()
What will be the output of the following Arduino code?
#define X 10;void setup(){ X=0; Serial.begin(9600); Serial.print(X);}void loop(){ //Do nothing…}
0xAB
0xa
To change the digital signal reference value
To change the analog signal reference value
To print the analog signal reference voltage.
To print the digital signal reference voltage.
Code
Source code
Sketch
Paint
To start the Serial Monitor
To set up serial communication and baud rate
To write data to the Serial Monitor
To end the serial communication
A0 to A5
D0 to D13
GND
3.3V
Light crystal display
Liquid crystal display
Light cube display
All of the above
Only loop()
only setup()
setup() and loop()
can be either loop() or setup()
Laser emitting diode
Light Emitting diode
Lighting error diode
#
$
%
!
Platforms
Elements
Batteries
Components
8
Lower
Upper
Beneath
Least
Microprocessor
Timer
Oscillator
Microcontroller
Java
HTML
C/C++
Python
Arduino Duemileanove
Arduino Diecimila
Arduino Esplora
Arduino Due
10 KB
4 KB
64 KB
32 KB
delay(1);
delay(100);
delay(1000);
delay(60);
Network connection
TCP IP protocol
Network protocol
TCP protocol
Amplifier
Actuator
Bootloader
None of these above
Assembly
List
Structure
Array
Union
Pauses the program for a specific amount of time
Stops the program permanently
Restarts the program
Initializes the board
input
output
input & output
none of the mentioned