Search Header Logo

Quiz Basic Pemrograman Python II

Authored by Bagus Haris

Science

University

Used 3+ times

Quiz Basic Pemrograman Python II
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

52 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa hasil dari 7 % 2 dalam Python?

1

0

2

7

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa yang akan dicetak oleh kode berikut? x = "Hello" y = "World" print(x + " " + y)

HelloWorld

Hello World

Hello

World

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Manakah dari berikut ini yang merupakan tipe data boolean?

1

0

True

"True"

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa yang akan terjadi jika kita menjalankan kode berikut? x = 5 x = "five" print(x)

5

five

TypeError

None

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa hasil dari 5 * 3 dalam Python?

15

8

5

3

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa hasil dari 5 > 3 or 2 < 1 dalam Python?

True

False

None

TypeError

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa yang akan dicetak oleh kode berikut? x = "123" y = int(x) print(y + 1)

1231

124

TypeError

None

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?