
Recursive Definitions and Factorials
Interactive Video
•
Computers
•
9th - 10th Grade
•
Hard
Thomas White
FREE Resource
Read more
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is recursion in computer science?
A method of solving problems by repeating a process
A way of solving problems by calling a function within itself
A technique to solve problems by using loops
A method to solve problems by using arrays
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the factorial of a positive integer n?
The sum of all integers from 1 to n
The product of all integers from 1 to n
The difference of all integers from n to 1
The division of n by all integers from 1 to n
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of 4 factorial (4!)?
12
16
24
32
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How is zero factorial (0!) defined?
Undefined
One
Negative one
Zero
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of writing a function using recursion?
To make the function run faster
To reduce the number of lines of code
To solve problems by calling the function within itself
To avoid using loops
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the recursive definition of factorials, what does n factorial equal?
n plus n minus one factorial
n times n minus one factorial
n divided by n minus one factorial
n times n factorial
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why does the recursive definition of factorials break for zero?
Because it results in an infinite loop
Because it results in a negative factorial
Because zero factorial is not defined
Because it results in a division by zero
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
11 questions
Bohr Model and Hydrogen Emission Spectrum Quiz
Interactive video
•
9th - 10th Grade
6 questions
Understanding Series Discounts and Single Discount Equivalents
Interactive video
•
9th - 10th Grade
6 questions
Understanding Haploid Number, Ploidy, and Chromosome Replication
Interactive video
•
9th - 10th Grade
6 questions
Understanding Infinite Geometric Series
Interactive video
•
9th - 10th Grade
9 questions
Konfigurasi Elektron Part 1
Interactive video
•
10th Grade
6 questions
Forces and Friction Quiz
Interactive video
•
10th - 11th Grade
11 questions
Understanding the Binomial Theorem
Interactive video
•
9th - 10th Grade
11 questions
Understanding P Series and Related Concepts
Interactive video
•
9th - 10th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade