
Arduino_01
Authored by Noftha Rizal
Education
6th - 12th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Syntax untuk fungsi "if" adalah ...
if(condition){
//statement(s)
}
if(statement){
//statement(s)
}
if(statement){
//condition(s)
}
if(condition){
//increment(s)
}
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Comparation Operator yang menyatakan "x tidak sama dengan y" adalah ...
x =! y
x == y
x <=
x != y
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Berikut ini contoh code untuk fungsi if, manakah yang salah dari contoh berikut ...
if (x > 120) digitalWrite(LEDpin, HIGH);
if (x > 120) {digitalWrite(LEDpin, HIGH);}
if (x > 120)
digitalWrite(LEDpin, HIGH)
if (x > 120) {
digitalWrite(LEDpin1, HIGH);
digitalWrite(LEDpin2, HIGH);
}
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Logic yang menghasilkan true jika kedua operand true adalah ...
OR
AND
NOT
NOR
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Logic yang manghasilkan true jika salah satu dari operand bernilai true adalah ...
AND
OR
NOT
NOR
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Syntax untuk switch...case adalah ...
switch (var) {
case label1:
// statements
case label2:
// statements
default:
// statements
}
switch(condition){
//statement(s)
}
switch (var) {
case label1:
// statements
break;
case label2:
// statements
break;
default:
// statements
break;
}
switch (condition) {
case label1:
// statements
break;
case label2:
// statements
break;
default:
// statements
break;
}
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Syntax untuk for loop adalah ...
for (condition; initialization; increment) {
// statement(s);
}
for (increment; condition; initialization) {
// statement(s);
}
for (initialization; condition; increment) {
// statement(s);
}
for (initialization; increment; condition) {
// statement(s);
}
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
World Braille Day
Quiz
•
7th - 10th Grade
10 questions
Properties of Bar Magnets
Quiz
•
6th - 7th Grade
10 questions
Thesis Statements
Quiz
•
6th - 8th Grade
10 questions
Sociology - Paper 1 recap
Quiz
•
12th Grade
10 questions
National Library and Book Day! English Literacy!
Quiz
•
9th - 12th Grade
10 questions
Mental Health 7 (Stress, Stressor, etc)
Quiz
•
7th Grade
10 questions
YCHS RULES AND EXPECTATIONS
Quiz
•
12th Grade
11 questions
🛎️34C: Antoni Gaudí
Quiz
•
7th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade