
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
15 questions
Quiz Pemrograman Python

Quiz
•
10th Grade - University
10 questions
Analisis Data

Quiz
•
8th Grade - University
10 questions
FUNGSI REFERENCE

Quiz
•
8th Grade - University
10 questions
Informatika 2

Quiz
•
7th Grade - University
10 questions
Uji Pemahaman Excel dan Spreadsheet

Quiz
•
11th Grade
10 questions
Quiz Aplikasi Perkantoran

Quiz
•
8th Grade - University
10 questions
Informatika2

Quiz
•
11th Grade
15 questions
Quiz Informatika Genap KLs 7

Quiz
•
7th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)

Quiz
•
9th - 12th Grade
7 questions
SAT Reading & Writing Practice Test - Reading Focus

Quiz
•
11th Grade
20 questions
Parallel lines and transversals

Quiz
•
9th - 12th Grade