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
14 questions
HTML Tags

Quiz
•
1st Grade
10 questions
Class 7 HTML

Quiz
•
5th - 7th Grade
15 questions
Job Interview

Quiz
•
5th - 7th Grade
10 questions
Impress

Quiz
•
5th - 6th Grade
15 questions
Empowerment Technologies

Quiz
•
KG - 12th Grade
10 questions
Web Development

Quiz
•
1st - 12th Grade
10 questions
Web Design

Quiz
•
5th Grade
11 questions
Submitting assignments in Google Classroom

Quiz
•
3rd - 6th Grade
Popular Resources on Wayground
10 questions
Video Games

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

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade