9
5
6
10
Add on modules
extra peripherals
connectivity modules
another arduinos
Massimo Banzi
Kevin Ashton
Tim berner Lee
None of the Above
14
16
20
32
12
8
Easy to learn
Huge community
many third-party libraries
All of the above
Vero board
FRC connectors
shields
breadboard
Capacitance
Resistance
Inductance
None of these
Prototyping
Casting
Protocasting
Protocal Typing
Programming
Technical issue
Marketing
Simulating
What is the output of the following program?
for(;;)
{
Statements
}
Error
Statements will run forever
This an infinite loop
Both (B) and (C)
Servo.h
Motor.h
Wire.h
LCD.h
Microprocessor
Coprocessor
microcontroller
controller
Ctrl + C
Ctrl + R
Ctrl + U
Ctrl + V
Laser emitting diode
Light Emitting diode
Lighting error diode
None of the above
Pauses the program for a specific amount of time
Stops the program permanently
Restarts the program
Initializes the board
3.5V
5V
10V
3.3V
Value
Size
Address
2
4
What is the output of “pin 1” if “pin2” is sent “1011” where 1 is 5V and 0 is 0V?
int pin1 = 12;int pin2 = 11;void setup() { pinMode(pin1, OUTPUT); pinMode(pin2, INPUT); Serial.begin(9600);}void loop() { if(digitalRead(pin2)==1) { digitalWrite(pin1,LOW); }else if(digitalRead(pin2)==0) {digitalWrite(pin1,HIGH);}}
1110
0100
1111
1011
Transmits
Receives
Ground
Restarts
MQ-135 gas sensor
PIR sensor
DHT22
BMP280
// (two adjacent slashes )
/**/
*/ */
setup()
loop()
while()
Icd.getcursor(0,0);
Icd.setcursor(0,0);
Icd.getcursor(0,1);
Icd.setcursor(0,1);
Serial
Serial.type
Serial.println
Serial.printing
What is the out come of the following Arduino code?
void setup(){
Serial.begin(9600);
void setup0{
Serial.write(20);
Send a signal to pin 20 on the Arduino board
Send a octal number of 20 through the Serial pins
Send a byte with value 20 through the Serial pins
Send a hexadecimal number of 20 through the Serial pins
Timing circuit
Break the circuit
Programmable circuit
Feedback circuit
setup () and loop () function
Only setup () function
Only loop () function
Electrical
Chemical
Electronic
Disclaimer
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
D2
A5
A2
A4
dataType const PROGMEM variableName [] = {};
data type PROFMEM const variableName [] = {};
const data Type variableName [] PROGMEM = {};
const data Type PROGMEM variableName []= {};
Serial.begin()
Serial.start()
Serial.init()
Serial.open()
List
Structure
Array
Union
avrgcc
g++
cpython for windows
avrdude
0 to 90 degrees
0 to 180 degrees
0 to 360 degrees
-90 to 90 degrees
To generate a PWM signal
To produce a sound on a buzzer with a specific frequency
To control the brightness of an LED
To read analog values
0–255
0–1023
0–4095
0–65535
e-textiles and wearables projects
sewn to fabric
AT mega 168V/ATmega328V
All of these
13
What will be the output of the following code?
int main(){int i=25;int k=i%4;print("%d\n",k);}
1
3
Programming language
Image editing software
Open-source electronics platform
Text editor
Write
Read
Peruse
Study
While
If.else
#define
Case
Picopower
Preprocessing
Precise
Popular
50
25
27
54
Encoding
Decoding
Calculation
Processing