
12.B3.2. BK dan ALGO - struktur dasa program arduino

Quiz
•
Information Technology (IT)
•
12th Grade
•
Hard
Mukhamad Hangga Nirmala
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa dua fungsi utama yang harus selalu ada dalam program Arduino?
void start() dan void stop()
void init() dan void run()
void setup() dan void loop()
void begin() dan void end()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fungsi void setup() pada program Arduino digunakan untuk apa?
Menjalankan kode secara berulang.
Menjalankan kode hanya sekali saat program dimulai atau direset.
Mendeklarasikan variabel global.
Mengimpor library eksternal.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fungsi void loop() pada program Arduino digunakan untuk apa?
Menjalankan kode hanya sekali saat program dimulai.
Menjalankan kode secara berulang setelah void setup() selesai.
Mengatur konfigurasi awal pin.
Mendefinisikan konstanta program.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara menambahkan komentar satu baris pada kode program Arduino?
Dengan tanda /* ... */
Dengan tanda //
Dengan tanda #
Dengan tanda
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang terjadi pada sintaks yang ditulis setelah tanda // dalam program Arduino?
Sintaks tersebut akan dieksekusi terlebih dahulu.
Sintaks tersebut akan diabaikan dan tidak dieksekusi.
Sintaks tersebut akan menghasilkan error kompilasi.
Sintaks tersebut akan diubah menjadi variabel.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara menambahkan komentar multi-baris pada kode program Arduino?
Dengan tanda //
Dengan tanda /* dan */
Dengan tanda #
Dengan tanda ---
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa fungsi dari tanda titik koma (semicolon) pada akhir sebuah pernyataan (statement) dalam pemrograman Arduino?
Untuk memulai blok kode baru.
Sebagai perintah untuk mengakhiri sebuah baris kode.
Untuk mendeklarasikan variabel.
Untuk mengimpor library.
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
KUIS HTML

Quiz
•
11th Grade - University
10 questions
Koding dan Kecerdasan Artifisial

Quiz
•
12th Grade
10 questions
Kuis BK : Strategi Algoritmik

Quiz
•
12th Grade
10 questions
LKPD (Tugas MIT App Inventor)

Quiz
•
12th Grade
20 questions
Pemrograman Blokly

Quiz
•
9th Grade - University
14 questions
Elementos da Programação em Quiz

Quiz
•
12th Grade - University
14 questions
ROBOTICA 2A

Quiz
•
12th Grade
20 questions
QUIZ KELAS XII

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

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

Quiz
•
9th - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade