Search Header Logo

Ujian Kelas XII SAS

Authored by Rizki Widodo

Computers

12th Grade

Used 2+ times

Ujian Kelas XII SAS
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa yang akan ditampilkan oleh kode Python berikut? Python x = 5 y = "Hello" print(x + y)

5Hello

Hello5

10

Error

Tidak ada output

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Manakah di antara berikut ini yang merupakan tipe data numerik dalam Python?

string

float

boolean

list

dictionary

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Untuk mengulang suatu blok kode sebanyak 5 kali, struktur kontrol mana yang paling tepat?

if ... else

while

for

switch

repeat ... until

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Fungsi len() dalam Python digunakan untuk?

Mengubah tipe data

Menghitung jumlah karakter dalam string

Mengurutkan list

Membuat fungsi baru

Menghapus elemen dalam list

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa yang akan dihasilkan oleh kode Python berikut? Python angka = [1, 2, 3, 4, 5] print(angka[2:4])

[1, 2]

[2, 3]

[3, 4]

[4, 5]

[1, 2, 3, 4, 5]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Manakah dari berikut ini yang bukan termasuk tipe data numerik dalam Python?

int

float

complex

str

long

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tipe data yang digunakan untuk merepresentasikan nilai benar atau salah adalah...

int

float

str

bool

list

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?

Discover more resources for Computers