Fungsi apa yang digunakan untuk menerima masukan dari pengguna di Python?

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
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 Quizizz
18 questions
Python Library Routines Quiz

Quiz
•
10th Grade - University
20 questions
perangkat input,output, proses

Quiz
•
10th Grade - University
20 questions
Proses Komputasional dan Pseudocode

Quiz
•
10th Grade - University
20 questions
Питон П411

Quiz
•
9th - 12th Grade
25 questions
G9-Introduction to Python Programming

Quiz
•
9th Grade - University
15 questions
Tugas Informatika Kelas 7

Quiz
•
7th Grade - University
15 questions
Selection Programming_If condition

Quiz
•
8th Grade - University
20 questions
Pretest Riview pembelajaran sistem operasi dan komputer

Quiz
•
10th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University