
fungsi if else
Quiz
•
Engineering
•
11th Grade
•
Practice Problem
•
Medium
Yuli Rohmad Riadi
Used 6+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perintah `const int pinLED = 8;` berfungsi untuk …
Menentukan LED berkedip setiap 8 detik
Menyimpan nilai pin LED pada port 8 secara konstan
Mengatur agar LED menyala di pin 8 saja
Memberi delay 8 ms pada LED
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fungsi `pinMode(pinLED, OUTPUT);` digunakan untuk …
Membaca input dari LED
Mengatur pinLED sebagai output
Mengatur pinLED sebagai input
Memberikan delay pada LED
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jika dalam program terdapat `delay(1000);`, maka artinya …
LED menyala selama 1 detik
LED mati selama 1 detik
Program berhenti selama 1 detik
Arduino reset dalam 1 detik
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagian kode berikut: if(timeDelay <= 100){ delay(3000); timeDelay = 1000; } berfungsi untuk …
Mengatur LED berkedip lebih cepat
Memberi jeda 3 detik lalu mereset timeDelay ke 1000
Mematikan LED secara permanen
Menambah kecepatan delay
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Variabel `timeDelay` pertama kali diisi dengan nilai …
100
3000
1000
8
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Setiap kali loop berjalan, jika `timeDelay > 100` maka …
Nilainya bertambah 100
Nilainya berkurang 100
Tetap 1000
Menjadi 0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perintah `digitalWrite(pinLED, HIGH);` artinya …
Pin LED diisi logika 0
LED dimatikan
Pin LED diisi logika 1
Memberi delay sebelum LED mati
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
20 questions
Asesmen Akhir Sistem Penerangan dan Lampu Tanda
Quiz
•
11th Grade
18 questions
Post-Test Sistem Kendali dan Sensor
Quiz
•
11th Grade
21 questions
ôn tập công nghệ 6 - HKII
Quiz
•
6th Grade - University
15 questions
SAFE
Quiz
•
11th Grade - University
20 questions
Quiz Pemrograman Arduino
Quiz
•
11th Grade - University
20 questions
Ôn thi HKI Khối 11
Quiz
•
11th Grade
18 questions
Instalasi Penerangan Listrik (PAT)
Quiz
•
11th Grade
25 questions
Penerapan Sistem Radio dan Televisi
Quiz
•
11th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
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
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Engineering
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
11 questions
Solve Systems of Equations and Inequalities
Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 2 Review (CED)
Quiz
•
9th - 12th Grade
20 questions
Winter Jokes
Quiz
•
5th - 12th Grade
