C Programming Factorial Quiz

C Programming Factorial Quiz

10th Grade

16 Qs

quiz-placeholder

Similar activities

Unit 8 Algorithms

Unit 8 Algorithms

9th - 12th Grade

18 Qs

Two-Dimensional Array

Two-Dimensional Array

9th - 12th Grade

12 Qs

AP Computer Science A Year Review

AP Computer Science A Year Review

10th - 12th Grade

15 Qs

Unit 6 Arrays

Unit 6 Arrays

10th - 12th Grade

14 Qs

OOP & some More!

OOP & some More!

10th - 11th Grade

18 Qs

AV1\R1 3TEC_BE_Acesso a Propriedades em JavaScript 1 a 16

AV1\R1 3TEC_BE_Acesso a Propriedades em JavaScript 1 a 16

1st Grade - University

15 Qs

Practice for 10th AP Java quiz (old)

Practice for 10th AP Java quiz (old)

10th - 12th Grade

11 Qs

AP Computer Science A Review 1

AP Computer Science A Review 1

10th - 12th Grade

15 Qs

C Programming Factorial Quiz

C Programming Factorial Quiz

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Karen Tan

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?