No student devices needed. Know more
12 questions
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.
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);
Explore all questions with a free account