
Funções de Fatorial e Fibonacci

Flashcard
•
Instructional Technology
•
10th Grade
•
Hard
Leilane Kazuko
FREE Resource
Student preview

50 questions
Show all answers
1.
FLASHCARD QUESTION
Front
O que faz a função fatorial_iterativo(n)?
Back
Calcula o fatorial de n usando repetição
2.
FLASHCARD QUESTION
Front
Qual é o valor inicial da variável resultado na função fatorial_iterativo?
Back
1
3.
FLASHCARD QUESTION
Front
O que faz a linha 'for i in range(2, n + 1)' na função fatorial_iterativo?
Back
Cria um laço de repetição de 2 até n
4.
FLASHCARD QUESTION
Front
O que faz a função fatorial_recursivo(n)?
Back
Calcula o fatorial de n usando recursão
5.
FLASHCARD QUESTION
Front
Qual é o caso base na função fatorial_recursivo?
Back
n == 0 ou n == 1
6.
FLASHCARD QUESTION
Front
O que faz a função fibonacci_iterativo(n)?
Back
Calcula o n-ésimo número da sequência de Fibonacci
7.
FLASHCARD QUESTION
Front
O que faz a função fibonacci_recursivo(n)?
Back
Calcula o n-ésimo número da sequência de Fibonacci usando recursão
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
LET Review - Majorship (History of Mathematics)

Flashcard
•
University - Professi...
66 questions
Mathematical Concepts and Sequences

Flashcard
•
10th Grade
15 questions
matematica

Flashcard
•
KG
15 questions
Arranjo simples e Combinação simples

Flashcard
•
11th Grade
15 questions
PRUEBA DE MATEMÁTICAS 11°

Flashcard
•
11th Grade
15 questions
Pascal Triangle

Flashcard
•
11th - 12th Grade
15 questions
Spiral Day 2

Flashcard
•
9th Grade
15 questions
Basic Math Pretest

Flashcard
•
9th - 12th 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