Python I
Quiz
•
Computers
•
11th Grade
•
Hard
Rahmat BP
Used 2+ times
FREE Resource
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
50 questions
Quiz Berpikir Komputasional
Quiz
•
10th Grade - University
60 questions
UH 1 bahasa pemograman
Quiz
•
10th Grade - University
50 questions
SOAL PAS SEMESTER GANJIL
Quiz
•
11th Grade
50 questions
Strings in python - Test
Quiz
•
11th Grade
55 questions
Advanced HTML5 & CSS3 Part IV
Quiz
•
9th - 12th Grade
51 questions
Digital Literacy Chapter 14 Review
Quiz
•
9th - 12th Grade
50 questions
Знакомство с IDE. Алфавит языка. Синтаксис. Типы данных. Правила
Quiz
•
11th Grade
50 questions
UAS Administrasi Sistem Jaringan XI
Quiz
•
11th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
21 questions
Halloween & Math
Quiz
•
8th - 12th Grade
13 questions
Halloween Movie Trivia
Quiz
•
9th - 12th Grade
7 questions
Halloween - Myths & Legends
Interactive video
•
10th - 12th Grade
