Search Header Logo

Pemrograman Python Test Medium

Authored by Mukti Firmansyah

Computers

11th Grade

Used 4+ times

Pemrograman Python Test Medium
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

32 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 3 pts

Apa itu Python?

Sebuah kota di Italia

Sebuah bahasa pemrograman

Sejenis ular

Sebuah jenis makanan

2.

MULTIPLE CHOICE QUESTION

20 sec • 3 pts

Apa yang dimaksud dengan sintaksis dalam pemrograman Python?

a. Aturan atau tata cara penulisan kode

b. Sebuah fungsi built-in

c. Nama variabel

  1. d. Sebuah tipe data

3.

MULTIPLE CHOICE QUESTION

20 sec • 3 pts

Bagaimana cara menambahkan komentar di dalam kode Python?

a. // Ini adalah komentar

b. # Ini adalah komentar

c. /* Ini adalah komentar */

  1. d. <!-- Ini adalah komentar -->

4.

MULTIPLE CHOICE QUESTION

20 sec • 3 pts

Apa yang harus dilakukan jika ingin menyimpan nilai dalam variabel di Python?

a. Menggunakan perintah save

b. Tidak perlu, Python otomatis menyimpannya

c. Menggunakan operator store

  1. d. Menggunakan operator =

5.

MULTIPLE SELECT QUESTION

20 sec • 3 pts

Tipe data apa yang digunakan untuk menyimpan angka desimal di Python?

a. int

b. float

c. decimal

  1. d. double

6.

MULTIPLE CHOICE QUESTION

20 sec • 3 pts

Apa hasil dari operasi 5 + 3?

a. 15

b. 8

c. 53

  1. d. 2

7.

MULTIPLE SELECT QUESTION

20 sec • 3 pts

Bagaimana cara menulis string dengan menggunakan tanda kutip ganda?

a. 'Hello, World!'

b. "Hello, World!"

c. Hello, World!

  1. d. [Hello, World!]

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?