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

Pemahaman Sistem Komputer Kelas 8

Pemahaman Sistem Komputer Kelas 8

8th Grade - University

15 Qs

Python Множества shpa

Python Множества shpa

4th Grade - University

20 Qs

Proses Pemrograman Dan Rekursi

Proses Pemrograman Dan Rekursi

11th Grade

17 Qs

BÀI KIỂM TRA 15 PHÚT - Môn Tin Học 10 - HK2-PYTHON

BÀI KIỂM TRA 15 PHÚT - Môn Tin Học 10 - HK2-PYTHON

10th Grade - University

20 Qs

9 Weeks Test

9 Weeks Test

9th - 12th Grade

16 Qs

Web 3.6 Bacaan

Web 3.6 Bacaan

11th Grade

20 Qs

Logical Operator

Logical Operator

11th Grade

17 Qs

IoT 1.5

IoT 1.5

11th Grade

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?