
Quiz Algoritma
Authored by ANDERIAS GINTING
Computers
11th Grade
Used 13+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dalam algoritma rekursif, apa yang dimaksud dengan "stack overflow"?
Ketika fungsi tidak memiliki kondisi dasar
Ketika terlalu banyak data disimpan dalam memori
Ketika jumlah panggilan fungsi melebihi kapasitas stack
Ketika fungsi berjalan dengan sangat lambat
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa keuntungan menggunakan algoritma rekursif dibandingkan algoritma iteratif?
Lebih cepat
Lebih mudah dibaca dan dipahami
Menggunakan lebih sedikit memori
Tidak ada keuntungan
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang dimaksud dengan algoritma rekursif?
Algoritma yang tidak memiliki akhir
Algoritma yang memanggil dirinya sendiri
Algoritma yang hanya berjalan sekali
Algoritma yang menggunakan loop
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dalam algoritma rekursif, apa yang biasanya diperlukan untuk menghentikan proses rekursi?
Kondisi dasar
Looping
Variabel global
Fungsi statis
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Diberikan fungsi rekursif berikut: python def f(n): if n == 0: return 1 else: return n * f(n-1) Apa yang akan dikembalikan oleh fungsi ini jika dipanggil dengan $f(5)$?
0
5
120
1
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Berapa banyak kali fungsi rekursif dapat memanggil dirinya sendiri dalam satu eksekusi?
Hanya sekali
Tergantung pada kondisi dasar
Tidak terbatas
Dua kali
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang harus dilakukan untuk menghindari masalah stack overflow dalam algoritma rekursif?
Menggunakan lebih banyak variabel
Mengurangi jumlah panggilan rekursif
Menggunakan algoritma iteratif
Menambahkan lebih banyak kondisi dasar
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Premiere Pro
Quiz
•
10th - 12th Grade
20 questions
Bab 1 Informatika dan Keterampilan Generik Kelas 7
Quiz
•
11th Grade
11 questions
College Football
Quiz
•
5th - 12th Grade
11 questions
Ôn tập Lớp 3
Quiz
•
4th - 12th Grade
10 questions
Soal Ujian Komputer
Quiz
•
10th - 12th Grade
15 questions
Excel
Quiz
•
10th - 12th Grade
10 questions
Soal Latihan 2 - Scratch
Quiz
•
8th - 12th Grade
18 questions
EXA-DIAG-INF-III-AGO-2022
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
15 questions
ACT Reading Practice
Quiz
•
11th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade
14 questions
Making Inferences From Samples
Quiz
•
7th - 12th Grade
23 questions
CCG - CH8 Polygon angles and area Review
Quiz
•
9th - 12th Grade
8 questions
Momentum and Collisions
Lesson
•
9th - 12th Grade