
Latihan Soal Pemrograman Arduino
Authored by DEVI SILVIA
Information Technology (IT)
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
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
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
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
25 questions
Logos
Quiz
•
12th Grade
20 questions
Grammar
Quiz
•
9th - 12th Grade
18 questions
Mendelian Genetics
Quiz
•
10th - 12th Grade
22 questions
Regular Preterite -AR-ER-IR-
Quiz
•
12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade
14 questions
Making Inferences From Samples
Quiz
•
7th - 12th Grade