Font size
WorksheetsArduino programming quiz 1
Total questions: 49
Worksheet time: 27mins
Identify this component
Arduino Uno board
Raspberry Pi
Breadboard / Protoboard
White Plastic Board
digitalWrite(13, HIGH);
delay(1000);
digitalWrite(13, LOW);
delay(1000);
digitalWrite(13, HIGH);
delay(1000);
digitalWrite(13, LOW);
delay(1000);
This part is called a
Piezo buzzer
Push button
Potentiometer
None of the Above
pinMode() function configures a pin as either ______or In ________int LED1= 4;
What statement is this?
Void Loop
Void Setup
Declaration
C language
int LED1=4;
What is 'int= integer' used for?
Alphabets
Capital and small letters
Combination of Numbers and Alphabets
Numbers
Which term is NOT used in declaration?
Float
Integer
Output
int LED1=4;
Is that necessary to label LED into LED1, LED2, LED3 and so on....
YES
NO
int LED2=8;
What is number eight is referring in the coding above?
Analog Pin
5V
Ground
Digital Pin
LED is setup-up to blink. LEDs is an
Output
Input
pinMode
digitalWrite
digitalWrite (LED1,HIGH);
What does it means by HIGH?
Blinking
Switch OFF
Switch ON
Sequence
delay (1000);
1000 in delay is equivalent to how many second?
10s
2s
60s
1s
digitalWrite (LED1, HIGH);
delay(1000);
digitalWrite (LED1, LOW);
What does the program do?
LED Switch Off at the beginning, wait for 60s and then switch ON.
LED Switch ON at the beginning, wait for 10s and then Switch OFF.
LED Switch ON at the beginning, wait for 1s and then switch ON.
LED Switch ON at the beginning, wait for 1s and then switch OFF.
int Led1=4;
void setup(){
digitalWrite (LED1, High);
}
Find the errors?
LED 1
DigitalWrite
HIGH
Void Setup
I use temperature sensor to read the room temperature. How do I write Temperature Sensor Set-up.
void setup(){
_______________________;
}
PinMode (Tsensor, Output);
pinMode (Tsensor, OUTPUT);
PinMode (Tsensor, Input);
pinMode (Tsensor, INPUT);
A==7 means
A is equal to 7
7 is assigned as an int A
A is not equal to 7
A is greater than 7
What does A&&B mean
It is a logical AND operator
It is a logical OR operator
It is a multiplication operator
it is a division operator
what is the name of this chip
Break
Twix
Embedded
Arduino
Arduino needs an expert programmer
no
yes
we can program an input without out put for arduino
no
yes
choose the right order
output - process - input
process - output - input
input - process - output
input - output - process
what is the main role of this chip
to heat the board
save the programmed input only
being the brain of the Arduino
there is no role at all
arduino has a USB port
yes
no
A micro-controller is...
small CPU made of transistors and conductors of heat and sound sensor
portable circuits capable of making other circuits
small computer on a single integrated circuit containing a processor core, memory, and programmable input/output peripherals
small chip made of silver
Identify this component
Uno Cards
Raspberry Pi
Arduino Duo board
Arduino Uno board
What does IDE stand for?
Integrated Development Environment
In Deep Environment
Internal Deep Escape
IDE
A program written with the IDE for Arduino is calle
Editor
Console
Sketch
IDE error
A!=3 means
A is NOT equal to 3
A is equal to 3
A is greater than 3
A is less than 3
What is a Variable?
It is a place where you can store some data
It is a place in your code that changes
It is a name given to a special sub-routine that changes how the program works
It is when you want to add two number together
