
C++ quizz from start
Authored by Hang Sithourk
Science
9th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a correct syntax to output "Hello World" in C++?
print("Hello World");
System.out.printIn("Hello World");
Console.WriteLine("Hello World");
cout<<"Hello World";
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you insert COMMENTS in C++ code?
# This is a comment
// This is a comment
/* This is a comment
This is a comment*/
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to create a variable that should store text?
string
String
myString
Txt
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a variable with the numeric value 5?
int x = 5;
num x = 5
double x = 5;
x = 5;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a variable with the floating number 2.8?
double x = 2.8;
double x = 2.8
int x = 2.8;
x = 2.8;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method can be used to find the length of a string?
getSize()
length()
getLength()
len()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to add together two values?
The + sign
The * sign
The & sign
The - sign
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
20 questions
Sepsis et choc septique (CVFM)
Quiz
•
1st - 12th Grade
15 questions
Les 4èmes à la mine
Quiz
•
9th - 12th Grade
15 questions
Y9 chemistry quiz on air and water
Quiz
•
7th - 10th Grade
21 questions
9.1 Quiz: rotation and revolution
Quiz
•
8th - 11th Grade
15 questions
Earth & Space....so far
Quiz
•
9th Grade
16 questions
Gestión de Cuidados como Gestión Clínica
Quiz
•
1st - 11th Grade
18 questions
Know your commodities
Quiz
•
9th Grade
15 questions
Uhlovodíky
Quiz
•
6th - 12th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Science
25 questions
Naming Ionic and Covalent Compounds
Quiz
•
9th Grade
20 questions
Mendelian Genetics Review
Quiz
•
9th Grade
10 questions
Exploring Weathering, Erosion, and Deposition Processes
Interactive video
•
6th - 10th Grade
10 questions
Exploring Mendelian Genetics and Punnett Squares
Interactive video
•
6th - 10th Grade
10 questions
Exploring Light and Waves Concepts
Interactive video
•
6th - 10th Grade
20 questions
The Cell Cycle and Mitosis
Quiz
•
9th Grade
89 questions
Unit 1 (Ch 2 & 3) Test Review - Water/Ocean Currents
Quiz
•
9th - 12th Grade
10 questions
Distinguishing Natural Hazards from Disasters
Interactive video
•
6th - 10th Grade