Manakah dibawah ini yang merupakan penulisan Library yang benar?
Quizizz SIOTICS #1

Quiz
•
Information Technology (IT)
•
10th Grade
•
Hard
Siotics Content
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 4 pts
#include /Arduino.h\
$include /Arduino.w\
#include <Arduino.h>
$include <Arduino.w>
#include <Ardunio.h>
2.
MULTIPLE CHOICE QUESTION
45 sec • 4 pts
int potPin = A0; //Pin untuk potensiometer
int potValue = 0;
void loop() {
int potValue = analogRead(potPin);
Serial.print("Pot Value: ");
Serial.println(potValue);
}
Dimanakah letak kesalahan pada kode diatas
Pada line 6 terdapat kesalahan penulisan Serial.println
Pada line 4 seharusnya tidak menggunakan int
Pada line 3 seharusnya void setup()
Pada line 1 kesalahan pada deklarasi potPin, seharusnya nilai potPin adalah 0;
Pada line 5 seharusnya tidak menggunakan string (Pot Value:)
3.
MULTIPLE CHOICE QUESTION
45 sec • 4 pts
delay(50);
Perintah diatas merupakan perintah yang digunakan untuk memberikan delay atau jeda selama.........
500 milidetik
5.000 mikrodetik
5 mikrodetik
0,5 detik
0,05 detik
4.
MULTIPLE CHOICE QUESTION
45 sec • 4 pts
int led = 9;
int ledValue = LOW;
void setup(){
pinMode(led, OUTPUT);
}
void loop () {
digitalWrite(led, ledValue);
delay(1000);
}
Meledak
Menyala
Berkedip
Mati
Kode Error
5.
MULTIPLE CHOICE QUESTION
45 sec • 4 pts
//Deklarasi Variabel
const int buttonPin = 2; // Pin untuk tombol
const int ledPin = 9; // Pin untuk LED dengan PWM
void setup() {
pinMode(buttonPin, INPUT);
pinMode(ledPin, OUTPUT);
}
Dimanakah letak kesalahan pada kode tersebut?
Deklarasi Variabel seharusnya tidak menggunakan cons
Kesalahan pada mode dari ledPin, seharusnya INPUT
Kesalahan pada mode dari buttonPin, seharusnya INPUT_PULLUP
Comment pada kode membuat kode menjadi Error
Variabel buttonPin tidak terdeklarasi dengan baik
6.
MULTIPLE CHOICE QUESTION
45 sec • 4 pts
Manakah dibawah ini yang merupakan contoh penggunaan digitalRead yang benar?
int reading = digitalRead(buttonPin, HIGH)
int reading = digitalRead(buttonPin, OUTPUT);
int reading = digitalRead(buttonPin<51);
int reading = digitalRead(buttonPin);
int reading = digital_read(buttonPin);
7.
MULTIPLE SELECT QUESTION
45 sec • 4 pts
Berapa keluaran teganan dari Arduino Uno?
5V
1V
9V
3,3V
4,8V
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Тест по основам Python(intro1)

Quiz
•
9th - 12th Grade
20 questions
Informatika Analisis Data Bab 6

Quiz
•
10th Grade - University
25 questions
Kuis Tambahan Python

Quiz
•
9th - 12th Grade
20 questions
XI Kuis Analisis Data

Quiz
•
10th Grade - University
20 questions
X S2 Analisis Data dan Algoritma Pemrograman

Quiz
•
10th Grade
25 questions
SAS Dasar Program Keahlian RPL Kelas X

Quiz
•
10th Grade - University
20 questions
Pemrograman Blokly

Quiz
•
9th Grade - University
25 questions
XI LAT. SOAL 1 PSAS INF XI F

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University