C++ Quiz 2

Quiz
•
Computers
•
8th Grade
•
Medium
Thanuja V
Used 5+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
HTML and CSS3

Quiz
•
8th Grade
13 questions
Python Reflect

Quiz
•
8th Grade - University
10 questions
Coding: Conditionals

Quiz
•
6th - 8th Grade
10 questions
Programare cu C++ nivel incepatori 2

Quiz
•
6th - 8th Grade
15 questions
Python2

Quiz
•
8th Grade - University
20 questions
3rd 9 weeks CF I 2024

Quiz
•
6th - 8th Grade
13 questions
BÀI THỰC HÀNH 2

Quiz
•
7th - 8th Grade
12 questions
C++ References

Quiz
•
6th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade