Latihan Soal Pemrograman Arduino

Quiz
•
Information Technology (IT)
•
12th Grade
•
Medium
DEVI SILVIA
Used 1+ times
FREE Resource
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
Similar Resources on Wayground
30 questions
UJian Sumatif Akhir Semester Ganjil Kelas XII Informatika

Quiz
•
12th Grade
31 questions
ulang 2 Multimedia Interaktif

Quiz
•
12th Grade
26 questions
Fun with Computers and Mice

Quiz
•
2nd Grade - University
25 questions
XII H Informatika: Masa Kini dan Depan

Quiz
•
12th Grade
35 questions
Arduino Power Supply Quiz

Quiz
•
9th - 12th Grade
25 questions
UH INFORMATIKA KELAS XI

Quiz
•
11th Grade - University
32 questions
Pengetahuan Komputer

Quiz
•
9th Grade - University
35 questions
Latihan SAS Ganjil Informatika Kelas X TA-2425

Quiz
•
10th Grade - University
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
Discover more resources for Information Technology (IT)
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Video Games

Quiz
•
6th - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)

Quiz
•
9th - 12th Grade
20 questions
Parallel lines and transversals

Quiz
•
9th - 12th Grade
9 questions
Geometry and Trigonometry Concepts

Interactive video
•
9th - 12th Grade
10 questions
Angle Relationships with Parallel Lines and a Transversal

Quiz
•
9th - 12th Grade