Search Header Logo

Python for AI #4

Authored by Amhar Rayadin

Computers

University

5 Questions

Used 2+ times

Python for AI #4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Apa hasil output dari print(fruits[1])?

apple

banana

cerry

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Dalam Python, cara yang benar untuk membuat dictionary adalah dengan menggunakan

Tanda kurung siku []

Tanda kurung kurawal {}

Tanda kurung biasa ()

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Apa hasil output dari kode berikut

25

John

New York

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Bagaimana cara menambahkan elemen baru ke dalam list?

Menggunakan metode add()

Menggunakan metode insert()

Menggunakan metode append()

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Apa hasil output dari kode berikut

[1, 2, 5]

[1, 2, 4, 5]

[1, 3, 4, 5]

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?