
C++ quizz from start
Authored by Hang Sithourk
Science
9th Grade
Used 8+ 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
15 questions
Motion terms
Quiz
•
9th - 10th Grade
15 questions
(Unit A) Quiz #2 - Science 9 (2022)
Quiz
•
9th Grade
19 questions
Bio Tingkatan 4 (BAB 2 ) 2.2 Proses Hidup Organisma Unisel
Quiz
•
9th Grade
15 questions
Hydrosphere & Biosphere
Quiz
•
9th - 12th Grade
20 questions
CHAPTER 4 : MATTER AND SUBSTANCES
Quiz
•
9th - 10th Grade
20 questions
TABLA PERIÓDICA
Quiz
•
1st - 10th Grade
19 questions
Diffusion and Osmosis
Quiz
•
9th - 10th Grade
20 questions
PEWARISAN SIFAT
Quiz
•
9th 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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Science
8 questions
Momentum and Collisions
Lesson
•
9th - 12th Grade
25 questions
Naming Ionic and Covalent Compounds
Quiz
•
9th Grade
10 questions
Exploring Weathering, Erosion, and Deposition Processes
Interactive video
•
6th - 10th Grade
10 questions
Cladogram Practice
Quiz
•
9th Grade
12 questions
The Respiratory System
Lesson
•
9th - 12th Grade
14 questions
Natural Selection and Adaptation
Lesson
•
9th - 12th Grade
10 questions
Exploring the Rock Cycle and Plate Tectonics
Interactive video
•
6th - 10th Grade
10 questions
calculating work
Quiz
•
9th Grade