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
Natural Disasters and Emergency

Quiz
•
7th - 8th Grade
10 questions
Thesis Statements

Quiz
•
6th - 8th Grade
10 questions
Pemahaman Perulangan FOR

Quiz
•
11th Grade
11 questions
Strategy Share Presentation

Quiz
•
9th - 12th Grade
6 questions
Game Salad - Tut 1 "Quiz"

Quiz
•
10th Grade
10 questions
National Library and Book Day! English Literacy!

Quiz
•
9th - 12th Grade
11 questions
🛎️34C: Antoni Gaudí

Quiz
•
7th Grade
10 questions
Properties of Bar Magnets

Quiz
•
6th - 7th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade