
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
Review
Quiz
•
9th - 12th Grade
10 questions
PREGUNTAS BÁSICAS SOBRE CONOCIMIENTO INFORMÁTICO
Quiz
•
1st Grade - Professio...
10 questions
BÀI CŨ 1 - TIN 10
Quiz
•
10th Grade
10 questions
1ero A Informatica II
Quiz
•
11th Grade
10 questions
Alapismeretek
Quiz
•
7th - 12th Grade
10 questions
Scratch
Quiz
•
KG - Professional Dev...
10 questions
Java: repetition control structure for & while
Quiz
•
10th - 12th Grade
10 questions
Lesson 1 Introduction to Database System
Quiz
•
10th 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