Search Header Logo

Quiz python 1

Authored by nida khairunnisa

Computers

10th Grade

Used 7+ times

Quiz python 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 4 pts

Media Image

Apa output dari kode berikut?

int

float

str

bool

2.

MULTIPLE CHOICE QUESTION

1 min • 4 pts

Bagaimana cara mendeklarasikan variabel a dengan nilai 20 dan tipe data integer?

a == 20

a := 20

a = 20

int a = 20

3.

MULTIPLE CHOICE QUESTION

1 min • 4 pts

Media Image

Apa hasil dari kode berikut?

Greater than 3

Less than or equal to 3

Error

Tidak ada output

4.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

Bagaimana cara menulis condition statement yang benar untuk mengecek apakah variabel x lebih besar dari 10 atau kurang dari 5?

if x > 10 or < 5:

if x > 10 and x < 5:

if x > 10 or x < 5:

if x > 10 xor x < 5:

5.

MULTIPLE CHOICE QUESTION

1 min • 4 pts

Media Image

Apa hasil dari kode berikut?

1

3

10

3.33

6.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

Operator mana yang digunakan untuk mengecek kesamaan nilai dua variabel?

=

==

!=

<>

7.

MULTIPLE CHOICE QUESTION

1 min • 4 pts

Media Image

Apa output dari kode berikut?

0 1 2

0 1 2 3

1 2 3

3 2 1

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?