
C Functions Quiz
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Ed Sepulveda
FREE Resource
Enhance your content in a minute
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.
Similar Resources on Wayground
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Computers
15 questions
Internet Vocabulary Notebook Check #2 - CTEA(2024)
Quiz
•
12th Grade
11 questions
Internet Terms Vocabulary- Notebook Check #1- CTEA
Quiz
•
12th Grade
39 questions
UNIT 7 and UNIT 8 — Multiple Choice Question Bank (Extracted)
Quiz
•
9th Grade
50 questions
Money Matters Fall 2025 Final Exam — Worksheet Questions
Quiz
•
12th Grade
47 questions
CSF Final Exam Practice
Quiz
•
9th - 12th Grade
