Search Header Logo

Kuis Google colaboratory

Authored by Ari Wiharsono

Computers

10th Grade

Used 10+ times

Kuis Google colaboratory
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Perintah yang digunakan untuk mencetak data di Python adalah:

write()

print()

echo()

show()

log()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Manakah dari berikut ini adalah pemberian nilai yang benar pada variabel?

x == 5

5 = x

x := 5

x = 5

let x = 5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tipe data array di google colaboratory disebut:

set

tuple

dictionary

list

array

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Output dari kode berikut adalah: print("Halo", "Dunia")

Halo Dunia

HaloDunia

Halo\nDunia

"Halo", "Dunia"

Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Untuk menambahkan item ke dalam list, digunakan fungsi:

push()

insert()

add()

append()

put()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Output dari kode berikut adalah: a = [1,2,3] print(a[1])

1

2

3

Error

[1]

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Kode yang benar untuk mencetak angka 1 sampai 5 adalah:

for i in 1..5: print(i)

for i in range(1,5): print(i)

for i in range(1,6): print(i)

while i < 5: print(i)

repeat i from 1 to 5

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?