Search Header Logo

Python With Google Colab

Authored by Yasar Wicaksono

Computers

University

Used 51+ times

Python With Google Colab
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

Text editor online yang dapat digunakan untuk menjalankan script python adalah

Google Colab

Google Drive

Google Docs

Google Spreadsheet

Google Form

2.

MATCH QUESTION

1 min • 5 pts

Tentukan hasil dari kode berikut

print(2+3)

Error

Hello World

23

Print("2+3")

2+3

print("2"+"3")

5

print("Hello World")

Hello World

3.

DRAG AND DROP QUESTION

1 min • 1 pt

x=10

y=5

jumlah=x+y

print(​​​ (a)   )​

jumlah
x
y
print
"jumlah"
"x+y"

4.

REORDER QUESTION

1 min • 5 pts

Urutkan code berikut untuk menjalankan program penentuan bilangan ganjil genap

bilangan = input('Masukan bilangan: ')

if bilangan % 2 == 0:

print "%i adalah bilangan genap" % bilangan

print "%i adalah bilangan ganjil" % bilangan

else:

5.

FILL IN THE BLANK QUESTION

1 min • 10 pts

Nama untuk objek yang menyimpan satu nilai adalah

6.

DROPDOWN QUESTION

1 min • 2 pts

Tetapkan nilai dari variabel x dan y jika hasil yang diharapkan adalah 10

x=​ (a)  

y=​ (b)  

print(x+y)

15
-5
10
3
17
20
5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hasil dari code berikut adalah

alas=100

tinggi=125

print("Luas segitiga =",0.5*(alas*tinggi))

6250

6750

6235

6000

6500

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?