Quiz C++

Quiz
•
Computers
•
1st - 5th Grade
•
Medium
Rizanawati Zana
Used 11+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the only function all C++ programs must contain?
system()
main()
start()
program()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct comment?
** Comment **
/* Comment */
*/ Comments */
{ Comment }
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The process of creating a new variable without value
instantiation
assigning
naming
declaration
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command moves the shown text to the next line?
\t
\r
\n
\s
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
After running the following code, determine the value of each of the following arithmetic expressions :
x=10, y =7, z=2;
x + 2 * y – z;
82
14
22
12
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Evaluate the following expressions to true or false
!((-4.2<3.0) && (10<20))
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a comparison operator in C++ language?
<=
=
==
>=
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
quiz 1

Quiz
•
1st - 5th Grade
10 questions
ICT Yr 4 - GIMP Basic Tools

Quiz
•
4th Grade
14 questions
Data Types in Python

Quiz
•
1st - 5th Grade
10 questions
HTML Introduction

Quiz
•
3rd Grade - Professio...
13 questions
HTML тегтері

Quiz
•
1st Grade - University
15 questions
Основы языка C

Quiz
•
1st Grade
10 questions
HTML, CSS i JS

Quiz
•
5th Grade
10 questions
HTML Language

Quiz
•
KG - 12th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade