Python I

Python I

11th Grade

55 Qs

quiz-placeholder

Similar activities

LATIHAN PAT INFORMATIKA KELAS X

LATIHAN PAT INFORMATIKA KELAS X

9th - 12th Grade

50 Qs

Finals in Empowerment Technologies

Finals in Empowerment Technologies

11th - 12th Grade

60 Qs

Computer Servicing Ch 1-3 Review

Computer Servicing Ch 1-3 Review

9th - 12th Grade

53 Qs

UHB INFORMATIKA XI

UHB INFORMATIKA XI

11th Grade

50 Qs

quiz tik

quiz tik

10th - 12th Grade

50 Qs

Pemrograman Dasar

Pemrograman Dasar

10th - 12th Grade

50 Qs

Latihan Soal TJKT XI TKJ

Latihan Soal TJKT XI TKJ

11th Grade

60 Qs

Working with Files

Working with Files

8th - 12th Grade

59 Qs

Python I

Python I

Assessment

Quiz

Computers

11th Grade

Practice Problem

Hard

Created by

Rahmat BP

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

55 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Apa itu variabel dalam Python?

Sebuah tipe data

Sebuah fungsi

Sebuah nama yang digunakan untuk menyimpan data

Sebuah modul

complexSebuah operator

Answer explanation

Variabel adalah nama yang digunakan untuk menyimpan data.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

String

Float

Integer

Boolean

Complex

Answer explanation

Tipe data untuk angka bulat adalah Integer.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Bagaimana cara mendefinisikan variabel dengan nilai string di Python?

nama = Nurul

nama = "Nurul"

nama = 123

nama = True

nama = 12.5

Answer explanation

Nilai string harus diapit oleh tanda petik.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Apa hasil dari operasi berikut: type(5.5) ?

<class 'str'>

<class 'int'>

<class 'float'>

<class 'bool'>

<class 'complex'>

Answer explanation

5.5 adalah tipe data float.

5.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Manakah dari berikut ini yang merupakan variabel yang valid di Python?

1nama

nama_depan

nama depan

nama%lengkap

@nama

Answer explanation

Variabel yang valid hanya boleh mengandung huruf, angka, dan underscore, dan tidak boleh diawali angka.

6.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Apa output dari kode berikut: print('5' + '5')?

10

55

Error

5 5

5+5

Answer explanation

Penggabungan dua string menghasilkan '55'.

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Tipe data apa yang digunakan untuk menyimpan nilai benar/salah?

Integer

String

Float

Boolean

Complex

Answer explanation

Tipe data untuk nilai benar/salah adalah Boolean.

Create a free account and access millions of resources

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?