Team 1
0
Team 2
0
Teams
Name
Score
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Loading
15
×
What will this code output?
look at the board
Oops!
Check
Okay!
Check
×
seesaw
Swap points!
Oops!
×
seesaw
Swap points!
Okay!
×
shark
Other team loses 20 points!
Okay!
×
lifesaver
Give 5 points!
Oops!
15
×
What will this code output?
Oops!
Check
Okay!
Check
×
monster
Reset all scores!
Oops!
×
fairy
Take points!
5
10
15
20
25
×
shark
Other team loses 10 points!
Okay!
×
baam
Lose 10 points!
Oops!
15
×
What will this code output?
The result of a / 2 is: 7
Oops!
Check
Okay!
Check
10
×
Complete the sentence: The ______ keyword moves the output to the next line
endl
Oops!
Check
Okay!
Check
10
×
True or False: The int data type can store decimal values.
False.
Oops!
Check
Okay!
Check
×
eraser
Reset score!
Oops!
×
fairy
Take points!
5
10
15
20
25
×
rocket
Go to first place!
Okay!
×
thief
Give points!
5
10
15
20
25
×
eraser
Reset score!
Oops!
×
gold
Win 50 points!
Okay!
×
rocket
Go to first place!
Okay!
×
thief
Give points!
5
10
15
20
25
10
×
Which variable type would you use to store the following: a person's name
string
Oops!
Check
Okay!
Check
15
×
What happens if you donโt include using namespace std;?
You must write std::cout and std::cin instead of cout and cin.
Oops!
Check
Okay!
Check
10
×
Complete the sentence: The main() function is the ________ point of a C++ program.
starting
Oops!
Check
Okay!
Check
20
×
What will happen if you forget the return 0; statement in main()?
In most modern compilers, the program will still run, as it assumes return 0;, but itโs good practice to include it.
Oops!
Check
Okay!
Check
15
×
What's wrong with this code?
Missing a semicolon after endl
Oops!
Check
Okay!
Check
10
×
True or False: You must declare a variable before you use it in C++.
True.
Oops!
Check
Okay!
Check
10
×
Fill in the blank: In C++, the ________ keyword is used to declare a variable that stores text.
string
Oops!
Check
Okay!
Check
×
Restart
Review
Join for Free
;
Your experience on this site will be improved by allowing cookies.
Allow cookies