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
Analisis Data dengan Python

Quiz
•
10th Grade
20 questions
Программирование на Python

Quiz
•
10th Grade
20 questions
Video Game Programming and Design Questions

Quiz
•
9th - 12th Grade
20 questions
Basic CSS Quiz

Quiz
•
9th Grade - University
25 questions
Materi Berpikir Komputasional Kelas 10

Quiz
•
10th Grade
20 questions
Fundamentos de HTML e CSS

Quiz
•
10th Grade
30 questions
INFORMATIKA - X

Quiz
•
10th Grade
20 questions
Introduction to C# Programming

Quiz
•
10th Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade