
Pemrograman Python
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Hadziq Agasta
Used 5+ times
FREE Resource
Enhance your content in a minute
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
44 questions
AP CSP - Unit 4 Code.org Review
Quiz
•
9th - 12th Grade
34 questions
Digital Literacy Chapter 12 Review
Quiz
•
9th - 12th Grade
37 questions
AP CSA Review Set #1
Quiz
•
9th - 12th Grade
40 questions
C++ Programming
Quiz
•
9th - 12th Grade
40 questions
Chapter 13 Planning and Organizing - PBM
Quiz
•
10th - 12th Grade
40 questions
Permodalan Perangkat Lunak
Quiz
•
KG - 12th Grade
40 questions
SOAL PRODUKTIF TKJ LEVEL 1
Quiz
•
12th Grade
35 questions
Database
Quiz
•
KG - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
