
Pemrograman Python
Authored by Hadziq Agasta
Computers
12th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
39 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara mendeklarasikan variabel dengan benar di Python?
int x = 5
x = "5"
var x = 5
let x = 5
define x = 5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang akan terjadi jika kita menuliskan kode berikut? x = 10 x = "Halo" print(x)
Error karena tipe data berbeda
Output: 10
Output: Halo
Error karena variabel tidak bisa diubah
Output: None
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah nama variabel yang valid dalam Python?
2x = 10
nama-siswa = "Budi"
nama_siswa = "Budi"
nama siswa = "Budi"
class = "A"
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa fungsi perintah type() dalam Python?
Menentukan panjang string
Mengetahui tipe data dari sebuah variabel
Mengubah tipe data variabel
Menentukan tipe data variabel
Menghapus tipe data dari memori
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Perhatikan kode berikut! a = "10" b = 5 print(a + b) Apa hasilnya?
10
5
105
15
Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa fungsi dari int(2.8) dalam Python adalah ....
Mengubah integer 2.8 menjadi string "2.8"
Mengubah float 2.8 menjadi integer 2
Mengubah integer 2.8 menjadi float 2.8
Membulatkan 2.8 menjadi 3
Menyimpan 2.8 tanpa mengubah tipenya
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hasil dari float("3") adalah ....
String "3"
Integer 3
Float 3.0
Error, karena "3" bukan angka
None
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
40 questions
PAS ASJ KELAS XII TKJ A
Quiz
•
12th Grade
40 questions
removal Empowerment Technologies-11 Galanida
Quiz
•
11th - 12th Grade
41 questions
soal latihan ujikom TKJ kelas 12
Quiz
•
12th Grade
40 questions
ADMINISTRASI SISTEM JARINGAN KELAS XII
Quiz
•
12th Grade
40 questions
SKT4 : Bab 1 : c) Ralat - Pembolehubah - Pemalar dan Jenis Data
Quiz
•
10th - 12th Grade
39 questions
Latihan Soal UKK TKJ 2022
Quiz
•
12th Grade
40 questions
QUIZZ KJD - PERAWATAN, PERMASALAHAN DAN PERBAIKAN PC
Quiz
•
KG - Professional Dev...
40 questions
Grade 6-Sistem Komputer
Quiz
•
6th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade