Perulangan

Perulangan

University

15 Qs

quiz-placeholder

Similar activities

Diagnostico Grado Sexto

Diagnostico Grado Sexto

6th Grade - University

18 Qs

BASIC PC COMPONENTS AND TROUBLESHOOTING  - BATCH 1

BASIC PC COMPONENTS AND TROUBLESHOOTING - BATCH 1

University

15 Qs

CHAPTER 1: SYSTEM ANALYSIS AND DESIGN

CHAPTER 1: SYSTEM ANALYSIS AND DESIGN

University

18 Qs

Quiz 1 - Sistem Informasi Bisnis

Quiz 1 - Sistem Informasi Bisnis

University

10 Qs

CLC Lesson 7 Quiz

CLC Lesson 7 Quiz

University

12 Qs

Google sheets

Google sheets

7th Grade - University

14 Qs

Activity - Task Completion and Safety

Activity - Task Completion and Safety

9th Grade - University

20 Qs

Perulangan

Perulangan

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Hard

Created by

M.Rizqi Mulyawan

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa kegunaan perulangan dalam pemrograman?

untuk menghentikan program.

Membuat kode lebih sulit

Menghapus variabel yang tidak digunakan

Mengulangi perintah berkali-kali

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa perbedaan utama antara for loop dan while loop?

for loop hanya untuk angka, while loop untuk string

for loop digunakan untuk jumlah iterasi tetap, while loop untuk kondisi tertentu

for loop hanya bisa digunakan dengan list

For loop lebih cepat daripada while loop.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Fungsi range(1, 6) akan menghasilkan...

1, 2, 3, 4, 5, 6

0, 1, 2, 3, 4, 5

1, 2, 3, 4, 5

1, 3, 5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Apa yang terjadi jika kondisi pada while loop selalu benar?

Program akan berjalan lebih cepat.
Program akan terjebak dalam infinite loop.
Program akan menghasilkan output yang salah.
Program akan berhenti dengan normal.

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Sintaks apa yang digunakan untuk menghentikan loop secara paksa?

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kapan kita menggunakan while loop?

Saat kita tahu jumlah perulangan pasti

Untuk membuat kode lebih rapi

Untuk menghindari for loop

Saat iterasi bergantung pada kondisi tertentu

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Apa Output dari codingan ini?

Hello

Hello

Hello

Tidak ada output

Hello Hello Hello

Hello\nHello

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?