C++ Quiz 05/05/2023

Quiz
•
Computers
•
8th Grade
•
Easy
Thanuja V
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of a function in C++?
if statement
for loop
switch case
cout statement
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to define a function in C++?
def
fun
void
int
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to switch between different cases in C++?
for loop
while loop
do while loop
switch case
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following loops will execute at least once in C++?
for loop
while loop
do while loop
switch case
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to comment a single line of code in C++?
//comment
/*comment
*/comment
#comment
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to comment multiple lines of code in C++?
//comment
/*comment*/
*/comment*/
#comment
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to declare a variable in C++?
var
val
const
int
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Basics Python

Quiz
•
8th - 10th Grade
23 questions
Programming with Karel Unit 3 - 3.7 - 3.12 Quiz

Quiz
•
8th Grade
15 questions
KS3 Google Quiz L4

Quiz
•
5th - 9th Grade
15 questions
Code.org Express Course Quiz 2

Quiz
•
6th - 8th Grade
22 questions
Karel Quiz

Quiz
•
8th - 12th Grade
21 questions
Loops, Lists & If Statements - Codesters

Quiz
•
6th - 8th Grade
22 questions
Algoritma dan Pemrograman Kelas 8

Quiz
•
8th Grade
18 questions
Lesson 1.1 Statement terms Python

Quiz
•
7th - 9th 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