Print() dan variable

Print() dan variable

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

ITS Python 檔案與例外處理課堂測驗

ITS Python 檔案與例外處理課堂測驗

6th - 8th Grade

10 Qs

millonario

millonario

6th Grade

15 Qs

Berpikir Komputasional Informatika Kelas 8 2526

Berpikir Komputasional Informatika Kelas 8 2526

8th Grade

15 Qs

PRETEST KODING DAN KA

PRETEST KODING DAN KA

5th Grade - University

10 Qs

Quiz Informatika Genap KLs 7

Quiz Informatika Genap KLs 7

7th Grade - University

15 Qs

Cuestionario Robot Caminante

Cuestionario Robot Caminante

6th Grade

10 Qs

Warehouse Warrior Autonomous Skills Challenge

Warehouse Warrior Autonomous Skills Challenge

8th Grade - University

10 Qs

Algoritma

Algoritma

7th Grade - University

10 Qs

Print() dan variable

Print() dan variable

Assessment

Quiz

Information Technology (IT)

6th - 8th Grade

Medium

Created by

frsk ysf

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Apa output dari kode berikut ini?

speed = 90

print("Robot speed is", speed)

Robot speed is speed
Robot speed is: 90
Robot speed is 90
90 is Robot speed

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Manakah yang benar untuk membuat variabel nama robot?
robot name = "Atlas"
robot-name = "Atlas"
robot_name = "Atlas"
robot_name == "Atlas"

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

voltage = 13.2

print("Battery voltage:", voltage, "V")

Apa output-nya?

Battery voltage: 13.2 V
Battery voltage: voltage V
13.2V
Battery: 13.2

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Apa hasil dari kode berikut ini?

x = 4

y = 6

print("Sum is", x + y)

Sum is x + y
Sum is 10
Sum is 46
10

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

name = "Bolt"

speed = 100

print("Name:", name, "Speed:", speed) `

Output-nya adalah...

Name: Bolt Speed: 100
Name: name Speed: speed
Bolt and 100
Name: Bolt, Speed: 100

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Apa hasil dari kode berikut?

arm_position = 45

print("Arm moved to", arm_position, "degrees")

Arm moved to arm_position degrees
Arm moved to: 45°
Arm moved to 45 degrees
Arm moved to degrees 45

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Apa yang salah dari kode ini?

print("Current mode:", mode)

Variabel mode belum dibuat
Tidak boleh pakai print()
Kurang tanda tambah
Penulisan string salah

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?