
C++ Quiz 2
Authored by Thanuja V
Computers
8th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To go to new line, we can use ________
endl
;
\endl
/endl
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do write single line comment in C++?
/*comment
#comment
//comment
/*comment*/
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you write a multiline comments in C++?
/*comment*/
//comment
#comment
/comment/
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can we declare multiple variables in single line?
Yes
NO
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the int size(in bytes)?
2
3
4
5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the correct syntax of Ternary Operator
(percentage>40) "passed" : "Failed"
(percentage>40) ? "passed" ; "Failed"
(percentage>40) ? "passed" : "Failed"
(percentage>40) ? passed : Failed
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
sqrt(244)
12
19
32
6
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
16 questions
Secondary Storage
Quiz
•
8th - 9th Grade
12 questions
KT GHK2 Tin 8
Quiz
•
6th - 8th Grade
20 questions
Application and System Software
Quiz
•
5th - 12th Grade
10 questions
Programming Constructs
Quiz
•
5th - 11th Grade
10 questions
Kiểm tra lớp 8 lần 2 HK1
Quiz
•
8th Grade
10 questions
kiểm tra tin học 8
Quiz
•
8th Grade
20 questions
kiểm tra khối 3
Quiz
•
1st - 10th Grade
12 questions
EXIT TICKET: INTRODUCTION TO SKETCHUP
Quiz
•
8th 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 Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Laws of Exponents
Quiz
•
8th Grade
11 questions
Valentines Day
Quiz
•
6th - 8th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
25 questions
7th Reading STAAR Vocabulary
Quiz
•
6th - 8th Grade
25 questions
Valentine's Day Trivia
Quiz
•
8th Grade