
C++ Functions 2022
Quiz
•
Computers
•
1st Grade
•
Hard
SATHYANARAYANA B
Used 4+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A function can have _____ inside the parenthesis
loops
Arguments/Parameters
Braces
Types
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A function that has no return type starts with:
int
void
Arguments
Braces
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blank to have this function work properly
_____ function ( ) {
int a = 4;
int b = 5;
cout<<a*b;
}
string
int
void
variable
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blank to have this function work properly
_____ function ( ) {
string greeting = "Welcome to my game";
return greeting;
}
string
void
int
variable
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blank to have this function work properly
_____ function ( ) {
int a;
cin >> a;
cout<<"You chose " << a <<endl;
}
string
void
int
variable
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False. We can call functions inside of other functions.
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False. A function that returns a string starts with the word void.
True
False
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
18 questions
Keyboard keys and formatting in MS Word
Quiz
•
1st - 2nd Grade
15 questions
Keyboard
Quiz
•
1st Grade
20 questions
Kuis Algoritma
Quiz
•
1st - 10th Grade
16 questions
Quiz sur le langage C [Recap]
Quiz
•
1st Grade
20 questions
Informacijos tvarkymas kompiuteriu
Quiz
•
1st Grade
15 questions
6th Grade Media Quiz
Quiz
•
KG - University
15 questions
ICT Grade 1
Quiz
•
1st Grade
20 questions
7-sinf Informatika IV-chorak test
Quiz
•
1st Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
6 questions
Gravity
Quiz
•
1st Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
16 questions
American Revolution
Interactive video
•
1st - 5th Grade
10 questions
Exploring Properties of Matter
Interactive video
•
1st - 5th Grade
18 questions
Pushes & Pulls
Quiz
•
1st - 4th Grade
25 questions
Week 1 Memory Builder 1 (2-3-4 times tables) Term 2
Quiz
•
1st - 5th Grade
10 questions
Exploring Common and Proper Nouns
Interactive video
•
1st - 5th Grade
