Python I
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Hard
Rahmat BP
Used 2+ times
FREE Resource
Enhance your content in a minute
55 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Apa itu variabel dalam Python?
Sebuah tipe data
Sebuah fungsi
Sebuah nama yang digunakan untuk menyimpan data
Sebuah modul
complexSebuah operator
Answer explanation
Variabel adalah nama yang digunakan untuk menyimpan data.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Tipe data apa yang digunakan untuk menyimpan angka bulat di Python?
String
Float
Integer
Boolean
Complex
Answer explanation
Tipe data untuk angka bulat adalah Integer.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Bagaimana cara mendefinisikan variabel dengan nilai string di Python?
nama = Nurul
nama = "Nurul"
nama = 123
nama = True
nama = 12.5
Answer explanation
Nilai string harus diapit oleh tanda petik.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Apa hasil dari operasi berikut: type(5.5) ?
<class 'str'>
<class 'int'>
<class 'float'>
<class 'bool'>
<class 'complex'>
Answer explanation
5.5 adalah tipe data float.
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Manakah dari berikut ini yang merupakan variabel yang valid di Python?
1nama
nama_depan
nama depan
nama%lengkap
@nama
Answer explanation
Variabel yang valid hanya boleh mengandung huruf, angka, dan underscore, dan tidak boleh diawali angka.
6.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Apa output dari kode berikut: print('5' + '5')?
10
55
Error
5 5
5+5
Answer explanation
Penggabungan dua string menghasilkan '55'.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Tipe data apa yang digunakan untuk menyimpan nilai benar/salah?
Integer
String
Float
Boolean
Complex
Answer explanation
Tipe data untuk nilai benar/salah adalah Boolean.
Create a free account and access millions of resources
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
60 questions
ĐC ÔN THI GKI 24-25 KHỐI 11
Quiz
•
11th Grade
55 questions
K11 - Giữa HK II - CS Cánh diều
Quiz
•
11th Grade
52 questions
Ulangkaji ASK Ting 2 Bab 3.1 Persekitaran Kod Arahan
Quiz
•
1st - 12th Grade
50 questions
SOAL INFORMATIKA KELAS XI SEMESTER 1
Quiz
•
11th Grade
50 questions
Q.1 Jaringan Komputer
Quiz
•
11th Grade
50 questions
kuis Jaringan Internet
Quiz
•
9th Grade - University
50 questions
Computer Science Multiple Choice Review
Quiz
•
9th - 12th Grade
50 questions
S02.2演算法与表达方式
Quiz
•
9th - 12th Grade
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
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
20 questions
christmas songs
Quiz
•
KG - University
