
Quiz Tentang Casting Tipe Data di Python
Authored by Hendra Perdana
Computers
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang dimaksud dengan 'casting' dalam konteks tipe data di Python?
Merubah tipe data dari satu tipe ke tipe lainnya
Menambahkan data ke dalam variabel
Menghapus data yang tidak diperlukan
Menyusun data menjadi urutan tertentu
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara merubah tipe data integer menjadi float di Python?
int(9.0)
bool(9)
float(9)
str(9)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jika kita merubah nilai float 9.5 menjadi integer, hasilnya akan menjadi?
9.5
8
9
10
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang terjadi jika kita mencoba merubah string kosong menjadi boolean di Python?
Akan menghasilkan 0
Akan menghasilkan error
Akan menghasilkan True
Akan menghasilkan False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara merubah string kosong menjadi False di Python?
bool('False')
bool('1')
bool('')
bool('0')
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang terjadi jika kita mencoba merubah string menjadi integer tanpa angka di Python?
Akan menghasilkan True
Akan menghasilkan 0
Akan menghasilkan 1
Akan menghasilkan error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara merubah float 10.0 menjadi integer di Python?
int(10.0)
str(10.0)
bool(10.0)
float(10)
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
10 questions
Media Sosial dan Dampaknya
Quiz
•
KG - Professional Dev...
10 questions
Business Analytics
Quiz
•
Professional Development
10 questions
Subscriber Internet Telepon
Quiz
•
Professional Development
15 questions
coding
Quiz
•
KG - Professional Dev...
10 questions
Unity & C-Sharp Quiz
Quiz
•
Professional Development
13 questions
Игры на Python 1 модуль
Quiz
•
Professional Development
10 questions
TREINAMENTO - POWER BI - AULA 1
Quiz
•
Professional Development
8 questions
Quiz Time! Internet of Things
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Computers
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development