Kuis Uji Pemahaman Python Fungsi Input, Output dan Operator

Kuis Uji Pemahaman Python Fungsi Input, Output dan Operator

11th Grade

20 Qs

quiz-placeholder

Similar activities

Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data

Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data

11th Grade - University

16 Qs

Python Mod 2 Sec 4

Python Mod 2 Sec 4

11th Grade

15 Qs

Python Library Routines Quiz

Python Library Routines Quiz

10th Grade - University

18 Qs

Питон П411

Питон П411

9th - 12th Grade

20 Qs

INFORMATIKA SISTEM KOMPUTER

INFORMATIKA SISTEM KOMPUTER

8th Grade - University

16 Qs

Soal PAS Algoritma dan Flowchart

Soal PAS Algoritma dan Flowchart

10th Grade - University

20 Qs

FASE D. 9. Teknologi Komputer

FASE D. 9. Teknologi Komputer

9th Grade - University

15 Qs

Pemrograman Blokly

Pemrograman Blokly

9th Grade - University

20 Qs

Kuis Uji Pemahaman Python Fungsi Input, Output dan Operator

Kuis Uji Pemahaman Python Fungsi Input, Output dan Operator

Assessment

Quiz

Information Technology (IT)

11th Grade

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?