C Programming Factorial Quiz
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
Karen Tan
FREE Resource
Enhance your content in a minute
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
20 questions
Artificial Intelligence and SketchUp
Quiz
•
8th - 10th Grade
16 questions
OCR Sys Arch J277
Quiz
•
10th - 12th Grade
14 questions
ITGS - IT Systems (Hardware)
Quiz
•
10th - 12th Grade
15 questions
Internet Basics
Quiz
•
5th Grade - University
14 questions
4th quarter 2nd summative
Quiz
•
10th Grade
17 questions
Security and Ethics
Quiz
•
9th - 12th Grade
21 questions
Computer System
Quiz
•
9th - 11th Grade
20 questions
Design your website
Quiz
•
7th - 12th 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
