Search Header Logo

Python Programming Quiz

Authored by Ken Sion

Mathematics

University

Used 11+ times

Python Programming Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code? Apa output dari kode berikut?

Pythonisfun!

Python is fun!

"Python" "is" "fun!"

Error

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Media Image

Apa yang ditampilkan oleh kode berikut?

12

20

5

8

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Bagaimana cara memeriksa apakah suatu variabel x lebih besar dari 10?

if x > 10:

if x == 10:

if x 10:

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Apa output dari kode berikut?

7

52

25

Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa fungsi dari input() dalam Python?

Mengambil input dari pengguna

Menampilkan teks ke layar

Menghitung angka

Menjalankan perulangan

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Apa yang dilakukan kode berikut ini?

Print numbers 1 to 5

Print numbers 0 to 4

Does not print anything

Error

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Media Image

Apa output dari kode berikut?

0, 1, 2

0, 1, 2, 3, 4

1, 2, 3

No output

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?