
ALGORITMA DAN PEMROGRAMAN KLS 11

Quiz
•
Information Technology (IT)
•
11th Grade
•
Medium
Sarino Sarino
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Apa yang dimaksud dengan fungsi dalam pemrograman Python?
Sebuah blok kode yang hanya dapat dipanggil sekali
Sebuah variabel yang menyimpan nilai
Sebuah blok kode yang dapat dipanggil berulang kali dengan nama yang sama
Sebuah struktur kontrol untuk perulangan
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Syntax yang benar untuk mendefinisikan sebuah fungsi dalam Python adalah...
function nama_fungsi():
def nama_fungsi():
create nama_fungsi():
function nama_fungsi:
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Perhatikan kode berikut:
def pangkat(x, n):
hasil = x ** n
return hasil
Fungsi di atas akan mengembalikan nilai...
x
n
Tidak ada nilai yang dikembalikan
x pangkat n
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Apa yang dimaksud dengan fungsi rekursif?
Fungsi yang memanggil dirinya sendiri
Fungsi yang tidak memiliki parameter
Fungsi yang hanya mengembalikan nilai boolean
Fungsi yang tidak dapat diubah
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Apa yang dimaksud dengan algoritma?
Sebuah program komputer yang sudah jadi
Kumpulan instruksi langkah demi langkah untuk menyelesaikan masalah
Bahasa pemrograman tertentu
Hasil dari sebuah program
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Perhatikan kode berikut:
for i in range(5):
print(i)
Kode di atas akan mencetak angka...
1 sampai 5
0 sampai 4
5 sampai 1
Error
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Apa fungsi dari struktur kontrol if-else?
Untuk membuat perulangan
Untuk membuat keputusan berdasarkan kondisi
Untuk mendefinisikan fungsi
Untuk menggabungkan beberapa string
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Pemahaman Berfikir Komputasional

Quiz
•
9th Grade - University
10 questions
Koding dan AI untuk Siswa Kelas 5

Quiz
•
5th Grade - University
10 questions
Microsoft Excel (IF bersarang)

Quiz
•
11th Grade
20 questions
Proses Komputasional dan Pseudocode

Quiz
•
10th Grade - University
10 questions
Uji Pemahaman Berpikir Komputasioal

Quiz
•
8th Grade - University
10 questions
Berpikir Komputasional (BK)

Quiz
•
8th Grade - University
10 questions
Quiz konsep Algoritma

Quiz
•
11th Grade - University
20 questions
WEB 2.4

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Information Technology (IT)
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
6 questions
Secondary Safety Quiz

Lesson
•
9th - 12th Grade
13 questions
8th - Unit 1 Lesson 3

Quiz
•
9th - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
16 questions
Metric Conversions

Quiz
•
11th Grade
21 questions
SPANISH GREETINGS REVIEW

Quiz
•
9th - 12th Grade
25 questions
Government Unit 1

Quiz
•
7th - 11th Grade