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
SAS 1 Informatika 8

Quiz
•
8th Grade - University
25 questions
KUIS TIK KELAS 7

Quiz
•
7th Grade - University
25 questions
4. ADMINISTRASI INFRASTRUKTUR JARINGAN KELAS 12

Quiz
•
12th Grade
25 questions
Seni Budaya Quiz

Quiz
•
11th Grade - University
25 questions
STS Informatika Kelas 8 Semester 1

Quiz
•
8th Grade - University
30 questions
BAB 3 Teknologi Informasi & Komunikasi di Kelas 7

Quiz
•
1st Grade - University
25 questions
irmawati

Quiz
•
7th Grade - University
25 questions
ULANGAN BAB ALGORITMA PEMROGRAMAN KELAS 8

Quiz
•
8th Grade - University
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
30 questions
Linear Inequalities

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

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