Quiz Pemrograman Phyton

Quiz Pemrograman Phyton

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Analisis Data X-2

Analisis Data X-2

10th Grade

20 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

Python Basics (CodeHS)

Python Basics (CodeHS)

7th - 12th Grade

20 Qs

Python basics

Python basics

9th - 12th Grade

16 Qs

Python

Python

9th Grade

15 Qs

Python Basics Review (TSK)

Python Basics Review (TSK)

9th - 12th Grade

20 Qs

Formative 3

Formative 3

9th Grade

16 Qs

Foundations of Programming

Foundations of Programming

9th - 10th Grade

18 Qs

Quiz Pemrograman Phyton

Quiz Pemrograman Phyton

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Muhammad Salim

Used 11+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Apa fungsi dari perintah `print()` di Python?
Menghentikan program
Mencetak teks ke layar
Membuat variabel baru
Menjalankan perulangan

2.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Sintaks yang benar untuk mencetak 'Hello, World!' di Python adalah...
echo 'Hello, World!'
console.log('Hello, World!')
print('Hello, World!')
printf('Hello, World!')

3.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Variabel dalam Python dapat digunakan untuk menyimpan...
Hanya angka
Hanya teks
Semua tipe data (angka, teks, list, dll.)
Hanya karakter khusus

4.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Apa hasil dari kode berikut ini? `x = 5; y = 2; print(x + y)`
10
7
3
Error

5.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Bagaimana cara mendeklarasikan variabel `name` dengan nilai 'Alice' di Python?
name: Alice
var name = 'Alice'
name = 'Alice'
let name = Alice

6.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Operator mana yang digunakan untuk menghitung sisa bagi di Python?
%
/
//
**

7.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Kode berikut akan menghasilkan apa? `print(3 ** 2)`
9
6
8
12

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?