C++ quizz from start
Quiz
•
Science
•
9th Grade
•
Practice Problem
•
Easy
Hang Sithourk
Used 4+ times
FREE Resource
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
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
15 questions
DAUR HIDUP HEWAN
Quiz
•
9th - 12th Grade
20 questions
20 Elements
Quiz
•
7th - 10th Grade
20 questions
KUIZ BAB 4 : KADAR TINDAK BALAS
Quiz
•
9th - 12th Grade
20 questions
PENGANGKUTAN DALAM TUMBUHAN
Quiz
•
8th - 9th Grade
18 questions
Magnetism
Quiz
•
9th - 11th Grade
15 questions
DNA
Quiz
•
9th - 12th Grade
19 questions
year 6 test
Quiz
•
6th Grade - University
15 questions
Pop Science: DNA
Quiz
•
8th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Science
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
10 questions
Exploring the States of Matter
Interactive video
•
6th - 10th Grade
21 questions
Cell Organelles
Quiz
•
9th Grade
22 questions
Cell cycle, mitosis, and cancer
Quiz
•
9th Grade
25 questions
Naming Ionic and Covalent Compounds
Quiz
•
9th Grade
10 questions
Exploring Biomes and Ecosystems for Kids
Interactive video
•
6th - 10th Grade
20 questions
The Cell Cycle and Mitosis
Quiz
•
9th Grade
16 questions
Bill Nye Heat and Heat Transfer
Interactive video
•
9th Grade