Search Header Logo

UTS Struktur dan Organisasi Data

Authored by Widie Has

Information Technology (IT)

University

Used 1+ times

UTS Struktur dan Organisasi Data
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa output dari kode berikut? print(True)

False

1

True

"True"

Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa hasil dari kode berikut jika inputnya adalah 5? bilangan = int(input()) if bilangan % 2 == 0: print("Genap") else: print("Ganjil")

Genap

Ganjil

5

Error

Tidak ada output

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Manakah yang merupakan tipe data dictionary?

[1, 2, 3]

{"nama": "Budi"}

("a", "b")

"Hello"

3.14

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa output dari kode berikut? buah = apel + jeruk print(buah) Jika apel = 7 dan jeruk = 9.

16

79

Error

"apeljeruk"

63

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Operator % dalam Python digunakan untuk...

Pembagian

Pemangkatan

Sisa bagi

Perkalian

Pembagian bulat

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa output dari 10 // 3?

3.333

3

4

1

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa hasil dari 8 ** 2?

16

64

10

82

Error

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?