Apa itu variabel dalam Python?

MASUKAN UNTUK ASPRAK

Quiz
•
Information Technology (IT)
•
12th Grade
•
Hard
23_192 _RIKHAN
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 20 pts
Variabel dalam Python adalah fungsi untuk menjalankan perintah.
Variabel dalam Python adalah alat untuk menghapus data.
Variabel dalam Python adalah jenis data yang tidak dapat diubah.
Variabel dalam Python adalah tempat penyimpanan untuk data yang dapat diubah.
2.
MULTIPLE CHOICE QUESTION
10 sec • 20 pts
Sebutkan tiga tipe data dasar di Python!
Integer, Float, String
Set, Dictionary, Complex
Character, Decimal, Array
Boolean, List, Tuple
3.
MULTIPLE CHOICE QUESTION
10 sec • 20 pts
Bagaimana cara mendeklarasikan variabel di Python?
x : 5
x = 5
var x = 5
let x = 5
4.
MULTIPLE CHOICE QUESTION
10 sec • 20 pts
Apa perbedaan antara list dan tuple?
List dapat diubah, tuple tidak dapat diubah.
Tuple dapat diubah, list tidak dapat diubah.
List hanya dapat menyimpan tipe data yang sama.
List dan tuple memiliki ukuran yang sama.
5.
MULTIPLE CHOICE QUESTION
10 sec • 20 pts
Jelaskan fungsi dari perulangan 'for' dalam Python!
Fungsi dari perulangan 'for' adalah untuk menghentikan program.
Fungsi dari perulangan 'for' adalah untuk mengurutkan data dalam list.
Fungsi dari perulangan 'for' adalah untuk mendeklarasikan variabel baru.
Fungsi dari perulangan 'for' adalah untuk mengiterasi elemen dalam suatu iterable.
6.
MULTIPLE CHOICE QUESTION
10 sec • 20 pts
Apa yang dimaksud dengan percabangan dalam Python?
Percabangan adalah struktur kontrol yang memungkinkan pengambilan keputusan dalam program.
Percabangan adalah metode untuk mengurutkan data dalam Python.
Percabangan adalah cara untuk mengulang perintah dalam program.
Percabangan adalah fungsi yang mengoptimalkan kecepatan program.
7.
MULTIPLE CHOICE QUESTION
10 sec • 20 pts
Buatlah contoh penggunaan if-else!
if (nilai >= 75) { console.log('Lulus'); } else { console.log('Tidak Lulus'); }
if (nilai < 50) { console.log('Lulus'); } else { console.log('Tidak Lulus'); }
if (nilai >= 60) { console.log('Tidak Lulus'); } else { console.log('Lulus'); }
if (nilai == 100) { console.log('Tidak Lulus'); } else { console.log('Lulus'); }
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
Ulangan Harian Kelas 8

Quiz
•
8th Grade - University
27 questions
Quiz Microsoft Word

Quiz
•
10th Grade - University
35 questions
Ms. Excel

Quiz
•
10th Grade - University
25 questions
Quiz Literasi Digital

Quiz
•
12th Grade
25 questions
PTS TIK 8D

Quiz
•
2nd Grade - University
30 questions
REMEDIAL ASESMEN SUMATIF AKHIR SEM-GANJIL MULOK 2024

Quiz
•
12th Grade
25 questions
Berpikir Komputasional

Quiz
•
9th - 12th Grade
25 questions
Latihan Soal Analisis Data 9

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

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Information Technology (IT)
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade
10 questions
GPA Lesson

Lesson
•
9th - 12th Grade
15 questions
SMART Goals

Quiz
•
8th - 12th Grade
45 questions
Week 3.5 Review: Set 1

Quiz
•
9th - 12th Grade