Search Header Logo

Pemrograman Python

Authored by Danang Nugraha

Computers

University

Used 3+ times

Pemrograman Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Apakah output dari kode berikut ini

Greater

Smaller

Error

Semua Salah

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Manakah dari pilihan berikut ini yang merupakan syntax yang benar untuk struktur selection

if x => 5:

if (x >= 5):

if x >= 5

if x >= 5:

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Apakah output dari kode berikut ini

False

True

Error

Semua salah

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Manakah dari statemen ini yang memeriksa apakah sebuah variable memiliki nilai diantara 5 dan 10 secara inclusive??

 if 5 <= a <= 10:

if a >= 5 and <= 10:

if a == 5 to 10:

 if a in range(5, 10):

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Apakah output dari program berikut ini

A

B

C

Error

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Apakah hasil dari kode program berikut ini

2, 4, 6, 8, 12, 18

2, 4, 6

2, 4, 6, 8

2, 4, 6, 8, 10, 12

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Apakah hasil fungsi ini jika dipanggil check(7,3)

True

False

Error

Semua salah

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?

Discover more resources for Computers