
FUNGSI FOR
Quiz
•
Engineering
•
11th Grade
•
Medium
Yuli Rohmad Riadi
Used 8+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dalam program Arduino, perintah `pinMode(pinLED, OUTPUT);` berfungsi untuk …
Menentukan apakah LED menyala atau mati
Menentukan pin LED sebagai input atau output
Memberi nilai awal pada pin
Mengatur kecepatan eksekusi program
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perintah `digitalWrite(pinLED, HIGH);` akan menyebabkan …
LED mati
LED menyala
Pin LED menjadi input
Program berhenti
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perulangan `for(int i=0; i<5; i++)` akan mengulang sebanyak …
4 kali
5 kali
6 kali
Tanpa batas
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jika `i==3` dalam program, LED yang menyala adalah …
Hanya LED1
LED1, LED2, LED3
LED1 dan LED4
Semua LED
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fungsi `delay(2000);` pada program berarti …
Jeda 200 detik
Jeda 2 detik
Jeda 20 milidetik
Tidak ada jeda
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apabila terjadi kesalahan pengetikan kode, pesan yang muncul di Arduino IDE adalah …
Error Command
Warning
Compilation error (warna merah)
Debug message
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Struktur utama program Arduino terdiri dari dua bagian, yaitu …
`setup()` dan `loop()`
`input()` dan `output()`
`if()` dan `for()`
`define()` dan `main()`
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
20 questions
Programming Concepts for Grade 11
Quiz
•
11th Grade
20 questions
PRETEST IML Sep 2025
Quiz
•
11th Grade
20 questions
Quiz AutoCAD XI TP
Quiz
•
11th Grade
20 questions
1.4.1 - From High School to College: Guide for Future Engineers
Quiz
•
10th Grade - University
20 questions
Chilean Bridge Design
Quiz
•
10th Grade - University
20 questions
Pemrograman Teks, Grafis, dan Multimedia
Quiz
•
11th Grade
20 questions
UH 1 Audio Video
Quiz
•
9th - 12th Grade
20 questions
Soalan Objektif Perancangan Proses
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Engineering
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
16 questions
Subject pronouns in Spanish
Quiz
•
9th - 12th Grade
14 questions
Model and Solve Linear Equations
Quiz
•
9th - 12th Grade
20 questions
Editing and Revising Practice
Quiz
•
9th - 11th Grade
