
Kuis Uji Pemahaman Python Fungsi Input, Output dan Operator

Quiz
•
Information Technology (IT)
•
11th Grade
•
Hard
Hatta Rukmana
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fungsi apa yang digunakan untuk menerima masukan dari pengguna di Python?
print()
input()
read()
scanf()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa tipe data default dari nilai yang diperoleh menggunakan input()?
int
float
str
bool
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara mengonversi input pengguna menjadi bilangan bulat?
int(input())
float(input())
str(input())
bool(input())
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa output dari kode berikut jika pengguna memasukkan 7?
x = input("Masukkan angka: ")
print(type(x))
<class 'int'>
<class 'float'>
<class 'str'>
<class 'bool'>
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara meminta input pengguna dalam satu baris dengan pesan khusus?
input("Masukkan nama: ")
print(input())
str(input("Masukkan nama: "))
print("Masukkan nama: ")
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fungsi mana yang digunakan untuk mencetak output ke layar?
print()
input()
output()
display()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa output dari kode berikut?
print("Python", "is", "fun", sep="-")
Python is fun
Python-is-fun
Python-is fun
Python is-fun
Create a free account and access millions of resources
Similar Resources on Wayground
22 questions
Internet and App script

Quiz
•
5th Grade - University
15 questions
Quiz HTML

Quiz
•
11th Grade
18 questions
Asesmen Harian Informatika Kelas 7

Quiz
•
7th Grade - University
15 questions
FASE D. 9. Teknologi Komputer

Quiz
•
9th Grade - University
20 questions
Quiz tentang Arduino dan Raspberry Pi

Quiz
•
11th Grade - University
25 questions
ULANGAN BAB ALGORITMA PEMROGRAMAN KELAS 8

Quiz
•
8th Grade - University
15 questions
uji coba Strategi Algoritma dan Pemrograman

Quiz
•
11th Grade - University
21 questions
XI-A1 FLOW OF CONTROL G6

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University