
Quiz on Recursion and Algorithms

Quiz
•
Information Technology (IT)
•
University
•
Easy
adi wibowo
Used 4+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa itu rekursi?
Sebuah cara untuk mengoptimalkan penggunaan memori
Proses mendefinisikan objek dalam istilah dirinya sendiri
Metode pengurutan data
Jenis algoritma iteratif
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa dua bagian dari fungsi rekursif?
Input dan Output
Dasar dan Rekurensi
Fungsi dan Variabel
Loop dan Kondisi
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa kompleksitas relasi rekurensi untuk masalah Tower of Hanoi?
T(n) = 2T(n-1) + 1
T(n) = T(n-1) + T(n-2)
T(n) = T(n-1) * 2
T(n) = T(n-1) + 1
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mega sedang mencoba menghitung faktorial dari sebuah angka menggunakan algoritma sederhana. Apa kompleksitas waktu dari algoritma faktorial yang digunakan Mega?
O(n!)
O(n^2)
O(1)
O(n)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang dianalisis oleh Teorema Master?
Relasi rekursi
Algoritma pengurutan
Struktur data
Algoritma graf
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa base case untuk urutan Fibonacci dalam definisi rekursif?
F(0) = 1 dan F(1) = 0
F(0) = 1 dan F(1) = 1
F(0) = 0 dan F(1) = 2
F(0) = 0 dan F(1) = 1
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the complexity of the Fibonacci algorithm using recursion?
O(n^2)
O(2^n)
O(n log n)
O(n)
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
DSA (Quiz 4) - Trees

Quiz
•
University
15 questions
Quiz Daspro Kom B 2024

Quiz
•
University
15 questions
Ôn Tập Môn Tin Học Lớp 3

Quiz
•
3rd Grade - University
15 questions
Bài 28

Quiz
•
10th Grade - University
15 questions
Struktur Data dan Algoritma

Quiz
•
11th Grade - University
19 questions
Praktik Quiz Final

Quiz
•
University
15 questions
Kuis_1 IoT_Bab 1

Quiz
•
University
10 questions
15-JS Методы массивов (продолжение)

Quiz
•
University
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
9/11 Experience and Reflections

Interactive video
•
10th - 12th 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
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University