Search Header Logo

Pre-Test Pemrograman Terstruktur - Percabangan

Authored by Rizka Shinta

Computers

10th Grade

Pre-Test Pemrograman Terstruktur - Percabangan
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

Apa tujuan utama dari struktur kontrol percabangan dalam pemrograman?

Mengatur urutan eksekusi pernyataan-pernyataan
Menentukan tipe data yang akan digunakan
Menggunakan fungsi matematika dasar
Menjalankan loop secara otomatis

2.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

231 > 212

True
False

3.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

12 != 27

True
False

4.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

"True" == "true"

True
False

5.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

Berikut ini adalah jenis struktur percabangan pada Python:

if, if... else...
if, for, while
if, if... else..., if... elif... else...
while, else..., if

6.

MULTIPLE SELECT QUESTION

45 sec • 10 pts

Manakah dari berikut ini yang menggunakan sintaks yang benar untuk struktur percabangan if pada Python?

if (x = y):
if (x == y):
if x = y:
if x == y:

7.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

Apa fungsi dari else dalam struktur if..else..?

Menyatakan kondisi utama
Menjalankan kode jika kondisi utama tidak terpenuhi
Menjalankan kode secara terus menerus
Menyatakan akhir dari suatu fungsi

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?