
C Programming Factorial Quiz
Authored by Karen Tan
Computers
10th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What is the purpose of the findFactorial() function?
To find the sum of a given integer
To find the factorial of a given integer
To find the square root of a given integer
To find the average of a given integer
2.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which memory allocation function can be used to store the factorial of each number to a dynamic array?
malloc()
realloc()
calloc()
free()
3.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What type of parameter does the findFactorial() function accept?
Character pointer
Float pointer
Double pointer
Integer pointer
4.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which of the following is not a valid purpose of the findFactorial() function?
Finding the factorial of a given number
Finding the sum of a given array
Finding the product of a given array
Finding the average of a given array
5.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What is the use of the calculateAverage() function?
To calculate the sum of a given array
To calculate the average of a given array
To calculate the factorial of a given number
To calculate the product of a given array
6.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What type of parameter does the calculateAverage() function accept?
Character pointer
Float pointer
Double pointer
Integer pointer
7.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which of the following is not a valid purpose of the calculateAverage() function?
Finding the average of a given array
Finding the sum of a given array
Finding the product of a given array
Finding the factorial of a given number
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
15 questions
Computer Hardware CPUs and Motherboards
Quiz
•
9th - 12th Grade
16 questions
Principles of Information Technology
Quiz
•
9th Grade - University
15 questions
Microbit (python)
Quiz
•
8th - 10th Grade
18 questions
SEMI-Grier Unit 3.01-3.03
Quiz
•
9th - 12th Grade
20 questions
Key Applications 2
Quiz
•
9th - 12th Grade
16 questions
Graphic Design Vocabulary
Quiz
•
9th - 10th Grade
20 questions
MSEXCEL QUIZ NO. 2
Quiz
•
10th Grade
11 questions
Social Engineering
Quiz
•
10th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade