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
16 questions
Sensors

Quiz
•
8th Grade
21 questions
Code.Org - Part II

Quiz
•
6th - 8th Grade
18 questions
Python basics

Quiz
•
7th - 10th Grade
20 questions
Scratch Pre-Assessment

Quiz
•
5th - 9th Grade
20 questions
Intro to Python

Quiz
•
8th Grade
25 questions
CodeHS CompSci Final Exam

Quiz
•
8th Grade - University
19 questions
AQA GCSE Computer Science - 3.1.1 Representing Algorithms

Quiz
•
8th - 10th Grade
15 questions
Snake Game

Quiz
•
3rd - 8th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
24 questions
Flinn Lab Safety Quiz

Quiz
•
5th - 8th Grade
15 questions
Wren Pride and School Procedures Worksheet

Quiz
•
8th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
10 questions
Converting Repeating Decimals to Fractions

Quiz
•
8th Grade