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

Unit 3: Basic Python & Console Interaction

Unit 3: Basic Python & Console Interaction

9th - 12th Grade

21 Qs

sistem komputer kelas 9

sistem komputer kelas 9

9th Grade - University

20 Qs

quiz1B1

quiz1B1

7th Grade - University

20 Qs

Kuis Pemrograman Python: Kalkulator Sederhana

Kuis Pemrograman Python: Kalkulator Sederhana

11th Grade

15 Qs

TVL 1

TVL 1

11th Grade

15 Qs

Quiz KISI KISI PTS PEMROGRAMAN TEKS GRAFIS MULT

Quiz KISI KISI PTS PEMROGRAMAN TEKS GRAFIS MULT

11th Grade

20 Qs

Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data

Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data

11th Grade - University

16 Qs

Quiz Pemrograman Python

Quiz Pemrograman Python

10th Grade - University

15 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?