
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
Unit-8 (QB64) Year-6

Quiz
•
6th Grade - University
20 questions
ICT G 7 Chapter 2.1 Input and Output Devices

Quiz
•
7th Grade - University
25 questions
Kuis Tambahan Python

Quiz
•
9th - 12th Grade
15 questions
Python Concepts for Grade 11

Quiz
•
11th Grade
20 questions
Тест по основам Python(intro1)

Quiz
•
9th - 12th Grade
15 questions
Bài 26

Quiz
•
10th Grade - University
20 questions
XI Kuis Analisis Data

Quiz
•
10th Grade - University
15 questions
Bài 25

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

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th 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
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)

Quiz
•
9th - 12th Grade
7 questions
SAT Reading & Writing Practice Test - Reading Focus

Quiz
•
11th Grade
20 questions
Parallel lines and transversals

Quiz
•
9th - 12th Grade