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
14 questions
Web Development

Quiz
•
6th Grade - University
10 questions
แบบทดสอบ 3.1 และ 3.2

Quiz
•
8th Grade
10 questions
Podstawy C++

Quiz
•
1st - 8th Grade
10 questions
Programare cu C++ nivel 0-1

Quiz
•
6th - 8th Grade
20 questions
INTERNET

Quiz
•
7th - 9th Grade
15 questions
HTML Tags

Quiz
•
7th - 8th Grade
14 questions
Python Basic Unit 1

Quiz
•
7th - 8th Grade
20 questions
Javascript Basics Test

Quiz
•
7th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade