Latihan Soal Pemrograman Arduino
Quiz
•
Information Technology (IT)
•
12th Grade
•
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
25 questions
Quizizz JavaScript Attempt 2 Review
Quiz
•
9th - 12th Grade
25 questions
Networks & the Internet Quiz
Quiz
•
12th Grade - University
25 questions
Berpikir Kritis
Quiz
•
12th Grade
25 questions
INFORMATIKA SEKARANG DAN MASA DEPAN
Quiz
•
12th Grade
25 questions
LITERASI dIGITAL
Quiz
•
12th Grade
25 questions
Media Literacy Quiz
Quiz
•
11th Grade - University
25 questions
Kelas 9 - Halaman 77 (PAS)
Quiz
•
9th Grade - University
25 questions
PTS TI Kelas 12 Aliyah-Ganjil
Quiz
•
12th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Information Technology (IT)
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
11 questions
Halloween Trivia #2
Quiz
•
12th Grade
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
8 questions
Veterans Day Quiz
Quiz
•
12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
21 questions
Halloween & Math
Quiz
•
8th - 12th Grade
