
C Functions Quiz
Authored by Ed Sepulveda
Computers
9th - 12th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a function in C?
A block of reusable logic that may have a defined set of input and output.
A conditional statement that checks for true or false.
A variable that stores data.
A loop that iterates over a set of values.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a built-in function in C?
printf()
printNumber()
getOne()
incrementBy()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword is used for a function that does not return any value?
void
int
return
float
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a function prototype in C?
A function that returns no value.
A function that contains a loop.
A function that is called by another function.
A specification of a function's interface with return type and parameter types.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How are parameters specified in a user-defined function in C?
Within the function signature parentheses, separated by commas.
Within the function body.
Using the return keyword.
After the function name, separated by semicolons.
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
10 questions
Empowerment Technologies Quiz 2
Quiz
•
11th Grade
10 questions
Unit 4 Advanced AP CSP
Quiz
•
9th - 12th Grade
10 questions
Parcial 1, Primera serie
Quiz
•
6th Grade - University
10 questions
Aprendeu ou disfarçou?
Quiz
•
12th Grade - Professi...
10 questions
EXAMEN 2 PARCIAL 1 SEMESTRE
Quiz
•
9th - 12th Grade
10 questions
BÀI 8. SẮP XẾP VÀ LỌC DỮ LIỆU
Quiz
•
1st - 12th Grade
10 questions
Cyber Security
Quiz
•
1st - 10th Grade
10 questions
Inspire - AI Trivia
Quiz
•
11th 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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade