Arduino_01

Quiz
•
Education
•
6th - 12th Grade
•
Hard
Noftha Rizal
Used 5+ times
FREE Resource
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);
}
8.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Syntax untuk while loop adalah ...
while (condition) {
// statement(s)
}
while (statement) {
// statement(s)
}
while (increment) {
// statement(s)
}
while (condition) {
// condition
}
Similar Resources on Wayground
10 questions
Python Loops

Quiz
•
9th - 12th Grade
10 questions
Test de repàs U5

Quiz
•
10th Grade
8 questions
If_&_While_Statments: ICS

Quiz
•
9th - 12th Grade
10 questions
Thesis Statements

Quiz
•
6th - 8th Grade
10 questions
Summary of Findings, Conclusions and Recommendations

Quiz
•
10th Grade - Professi...
7 questions
Exit ticket

Quiz
•
7th Grade
8 questions
Lego Spike Prime Micropython Coding Quiz

Quiz
•
7th Grade
10 questions
Python IF Statements

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Education
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade