
Conditional Structures in Arduino
Presentation
•
Computers
•
10th Grade
•
Practice Problem
•
Medium
Ruby Español
Used 16+ times
FREE Resource
19 Slides • 8 Questions
1
2
3
4
5
6
7
8
9
10
Multiple Choice
Which of the following is not true about a condition in Programming?
It's either true or false
usually made up by relational operator, but not all the time
the state of something with regard to its appearance, quality, or working order.
We use it in places such as if, for, and while, these control statements will only run when the condition is true
11
12
13
14
15
Multiple Choice
Which statement best describes an if condition?
It repeats actions forever
It stores values in memory
It checks if something is true before doing an action
It sends data to the cloud
16
Multiple Choice
What will this code do?
The LED turns off when the button is pressed
The LED blinks continuously
The LED turns on when the button is pressed
Nothing happens
17
Fill in the Blanks
Type answer...
18
19
20
21
Multiple Choice
An if statement always requires an else part.
TRUE
FALSE
22
Multiple Choice
You want your Arduino to display “Too Hot” when the temperature is above 30°C and “Normal” otherwise. Which is correct?
if (temp >= 30)
{
Serial.println("Too Hot");
}
else {
Serial.println("Normal"); }
if (temp > 30) {
Serial.println("Too Hot"); }
else {
Serial.println("Normal"); }
else (temp < 30) { Serial.println("Normal"); }
if (temp == 30) {
Serial.println("Normal"); }
23
Fill in the Blanks
Type answer...
24
25
26
Open Ended
In real life, we often face situations where we must decide based on conditions — just like in if-else coding. Can you share a moment where you had to make a fair or right decision based on a condition?
27
Show answer
Auto Play
Slide 1 / 27
SLIDE
Similar Resources on Wayground
23 questions
Covalent Bonds Notes
Presentation
•
10th Grade
21 questions
Web Design
Presentation
•
10th - 11th Grade
20 questions
Narrative Text
Presentation
•
10th Grade
21 questions
Perencanaan usaha budidaya tanaman pangan SMA kelas X
Presentation
•
10th Grade
21 questions
Algoritma
Presentation
•
10th Grade
22 questions
Bahasa Inggris
Presentation
•
10th Grade
22 questions
DNA/RNA Mutations
Presentation
•
10th Grade
19 questions
Line and Rotational Symmetry
Presentation
•
10th Grade
Popular Resources on Wayground
5 questions
A Home on the Shore
Quiz
•
3rd Grade
28 questions
US History Regents Review
Quiz
•
11th Grade
6 questions
A Horse Tale
Quiz
•
3rd Grade
20 questions
Math Review
Quiz
•
3rd Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
20 questions
Dividing Fractions
Quiz
•
5th Grade
55 questions
A Long Walk to Water Final Review
Quiz
•
6th - 8th Grade
10 questions
Equation Word Problems
Quiz
•
7th Grade
Discover more resources for Computers
20 questions
Insurance
Quiz
•
9th - 12th Grade
10 questions
Juneteenth: History and Significance
Interactive video
•
7th - 12th Grade
6 questions
Mayan Mathematics part 1
Presentation
•
9th - 12th Grade
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
10 questions
Unit 9 Quiz
Quiz
•
9th - 12th Grade