Font size
WorksheetsArduino Programming
Total questions: 50
Worksheet time: 50mins
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
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.
R1: int Led1=4;
R2: void setup(){
R3: digitalWrite (LED1, High);
R4: }
LED1 was not declared above void setup. Which row is the error?
R1
R2
R3
R4
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);
It is a separate pop-up window that acts as an independent terminal and plays a vital role for sending and receiving the Serial Data.
Serial Boarder
Serial Chart
Serial Monitor
Serial Print
Which component of Arduino board has a 14 pins?
Analog Pins
Digital Pins
Microcontroller
Power Pins
How many PWM inputs does Arduino UNO have? ( ~ )
14
6
How many analog inputs does Arduino UNO have?
14
6
How many digital inputs does Arduino UNO have?
14
6
Digital or Analog signal?
Digital
Analog
Digital or Analog signal?
Digital
Analog
What is the name of this component?
LED
Resistor
Servo Motor
Potentiometer
What is the name of this component?
LED
Resistor
Servo Motor
Potentiometer
What is the name of this component?
LED
Resistor
Servo Motor
Potentiometer
What is the name of this component?
LED
Resistor
Servo Motor
Potentiometer
Which LED is ON ?
8
9
None!
ALL!
Which number is integer?
14.8
14
Where is the position of this command?
pinMode(8, OUTPUT);
void setup()
void loop()
Where is the position of this command?
digitalWrite(8, HIGH);
void setup()
void loop()
How header file is to be defined to code for servo motors?
# define Servo
# include Servo
#include<Servo.h>
Servo myservo;
If servo object is myServo and then servo control signal to make 150 degree angle, is coded as
myServo.write(150);
myServo.Write(852.5);
myServo.write(852.5);
analogWrite(852.5);
Servo signal pin must be connected to
any digital pin of Arduino
analog input pins A0 to A5
any one of the PWM pins
5V pin
An actuator is a ...
Digital device that senses movement
Digital device that produces movement
Analogue device that senses movement
Analogue device that produces movement
What type of actuator would be best suited to operating a robot arm?
Servo
Solenoid
DC Motor
None of the above
The area of magnetic force around a magnet is known as its
magnet
magnetic area
magnetism
magnetic field
Processing is
Printer
CPU
Mouse
Keyboard
Inputs are
Speaker
Mouse
Keyboard
Printer
Outputs are:
Mouse
Screen
Speaker
Keyboard
Printer
Ultrasonic waves are a form of _______ waves
sound
ocean
radio
seismic
What is the maximum speed our bot can go?
100
15
1023
255
How many volts do the ultrasonic sensors need to operate?
5v
12v
3v
10v
An ultrasonic sensor is a device that can measure the ________ to an object by sending out _________ waves.
density / echo
path / seismic
elevation / sonic
distance / sound
Is this an example of INPUT or OUTPUT?
Keyboard
Input
Output
A device or component that gives information to a computer.
Input
Output
Algorithm
What type of sensor would be used in this kettle?
Light Sensor
Temperature Sensor
Infra-red sensor
Pressure Sensor
