Latihan Soal Pemrograman Arduino
Quiz
•
Information Technology (IT)
•
12th Grade
•
Practice Problem
•
Medium
DEVI SILVIA
Used 1+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fungsi utama percabangan if pada Arduino adalah…
Mengulang kode terus-menerus
Mengecek kondisi tertentu, jika benar maka kode dijalankan
Menyimpan variabel sementara
Menghentikan program
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sintaks if-else yang benar di Arduino adalah…
if (x>0) {…} else {…}
if x>0 then {…}
if (x>0): {…}
if{x>0} else {…}
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Untuk menjalankan banyak kondisi lebih mudah digunakan…
while
for
switch-case
goto
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Potongan kode berikut: if(digitalRead(2) == HIGH) { digitalWrite(13, HIGH); } else { digitalWrite(13, LOW); } Artinya…
LED selalu menyala
LED selalu mati
LED di pin 13 menyala jika tombol di pin 2 ditekan
LED di pin 2 menyala jika tombol ditekan
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
default dalam switch-case digunakan untuk…
Menyimpan nilai default
Menjalankan kode jika tidak ada kondisi yang cocok
Menghentikan case
Mengatur variabel
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jika kita ingin menyalakan LED hanya ketika nilai sensor lebih dari 500, maka digunakan…
if(sensor > 500)
while(sensor > 500)
for(sensor > 500)
switch(sensor > 500)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fungsi break; pada switch-case digunakan untuk…
Mengulang case berikutnya
Menghentikan eksekusi case
Melompat ke default
Keluar dari program
Create a free account and access millions of resources
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
25 questions
The End
Quiz
•
9th - 12th Grade
25 questions
Kuis Kemampuan Awal Kelas XII
Quiz
•
12th Grade - University
25 questions
PENILAIAN HARIAN INFORMATIKA 8_REKAM JEJAK DIGITAL
Quiz
•
8th Grade - University
25 questions
UH-JKI-XI
Quiz
•
11th Grade - University
25 questions
QUIZ BAB AI V1
Quiz
•
10th Grade - University
25 questions
UJIAN TIK KELAS 4 BULANAN 1
Quiz
•
9th Grade - University
25 questions
Summative Test No. 1_Media and Information Literacy_3rd Quarter
Quiz
•
12th Grade
25 questions
IT Concepts 3
Quiz
•
12th Grade - University
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Information Technology (IT)
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
25 questions
Preterito regular
Quiz
•
10th - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
10 questions
hands washing
Quiz
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
5 questions
Triangle Congruence Theorems
Interactive video
•
9th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
14 questions
Model and Solve Linear Equations
Quiz
•
9th - 12th Grade
