Jakie są główne zastosowania rekurencji w programowaniu?
Rekurencja

Quiz
•
Computers
•
6th - 8th Grade
•
Hard
A R
Used 10+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Do rozwiązywania problemów poprzez ich podział na mniejsze podproblemy.
Do tworzenia interfejsów użytkownika.
Do definiowania funkcji bez użycia zmiennych.
Do optymalizacji pamięci w programach.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Które z poniższych stwierdzeń dotyczących rekurencji jest prawdziwe?
Rekurencja nie może być używana w programowaniu obiektowym.
Rekurencja wymaga zdefiniowania przypadków bazowych i rekurencyjnych.
Rekurencja jest zawsze bardziej wydajna niż iteracja.
Rekurencja nie ma zastosowania w algorytmach sortowania.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Co to jest przypadek bazowy w kontekście funkcji rekurencyjnej?
To warunek, który kończy proces rekurencji.
To algorytm, który nie wykorzystuje rekurencji.
To wywołanie funkcji w celu rozwiązania większego problemu.
To zmienna, która przechowuje wynik działania funkcji.
4.
MULTIPLE SELECT QUESTION
1 min • 1 pt
def funkcja(n):
if n==1:
return 1
return funkcja(n-1)*n
Jest to program iteracyjny
Jest to program rekurencyjny.
Oblicza n-tą potęgę
Oblicza silnię
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
def funkcja(n):
if n<3:
return 1
return funkcja(n-1)+funkcja(n-2)
Oblicza n-ty wyraz ciągu Fibonacciego
Oblicza n_tą potęgę
Program iteracyjny
Program rekurencyjny.
6.
MULTIPLE SELECT QUESTION
1 min • 1 pt
def funkcja(n):
suma=0
for i in range(1,n+1):
suma+=i
return suma
Program rekurencyjny
Program iteracyjny
Oblicza sumę kolejnych liczb.
Oblicza sumę dzielników.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Jakie są potencjalne zagrożenia związane z używaniem rekurencji?
Brak możliwości użycia zmiennych lokalnych.
Brak możliwości optymalizacji kodu.
Zwiększone zużycie pamięci .
Zwiększenie wydajności programu.
8.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Jakie problemy można rozwiązywać za pomocą rekurencji?
Tylko matematyczne.
Tylko informatyczne
Baz danych
Matematycznych i informatycznych
Similar Resources on Quizizz
10 questions
klasa 6 - arkuszkalkulacyjny

Quiz
•
6th Grade
12 questions
IC3-GS6_Level 2_Bài 6

Quiz
•
6th - 8th Grade
12 questions
Ch-8 Iterative statements in Python

Quiz
•
8th Grade
9 questions
Quiz C++ klasa 8

Quiz
•
8th Grade
10 questions
Ceaser Cipher

Quiz
•
1st - 12th Grade
10 questions
Quiz na początek I semestru Wstep do programowania

Quiz
•
7th Grade - University
10 questions
Python dla bardzo początkujących

Quiz
•
8th Grade
10 questions
systemy operacyjne 1

Quiz
•
1st - 6th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Final Exam Vocabulary

Quiz
•
6th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
49 questions
How Well Do You Know Your 6th Grade Teachers?

Quiz
•
6th Grade