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
Python

Quiz
•
1st - 10th Grade
15 questions
Web Designing

Quiz
•
5th - 6th Grade
10 questions
Programming C++

Quiz
•
3rd - 5th Grade
10 questions
SOCKET PROGAMMING BASICS 1

Quiz
•
4th Grade
10 questions
Python Programming Quiz

Quiz
•
5th Grade
15 questions
Technical Quiz

Quiz
•
1st - 5th Grade
15 questions
Snake Game

Quiz
•
3rd - 8th Grade
15 questions
Python Basics

Quiz
•
KG - University
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade