null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
6124034
Relational Operators in C++
Description
A simple and intuitive quiz on Relational Operators in C++
No tags specified
english
x
Quiz by
Lakshya Gupta
, updated more than 1 year ago
More
Less
Created by
Lakshya Gupta
over 8 years ago
230
0
0
Resource summary
Question 1
Question
Operators which specify the relation between two variables by comparing them are known as?
Answer
Logical Operators
Relational Operators
Assignment Operators
Arithmetic Operators
Question 2
Question
How many relational operators are present in C++?
Answer
Five
Three
Six
Eight
Question 3
Question
What is '==' Operator known as?
Answer
Arithmetic operator
Equal Equal operator
Equal to operator
None of these
Question 4
Question
'Not equal to' operator is represented by what in C++?
Answer
!=
/=
Not =
\=
Question 5
Question
'Less than or equal to' is represented by what in C++?
Answer
=<
<=
=>
>=
Question 6
Question
What value is returned if the comparison of two variables is True?
Answer
4
0
2
1
Question 7
Question
How do you equate value of variable B to a variable A?
Answer
A=C
A==D
A=B
A==B
Question 8
Question
What would be the output of the following code? int a=10,b=20; if(a>b) cout<<"a is greater"<<endl; else cout<<"b is greater"<<endl;
Answer
a is greater
b is greater
20>10
None of these
Show full summary
Hide full summary
Want to create your own
Quizzes
for
free
with GoConqr?
Learn more
.
Similar
English Language Techniques
lewis001
Using GoConqr to teach English literature
Sarah Egan
Using GoConqr to study English literature
Sarah Egan
New English Literature GCSE
Sarah Egan
A Level: English language and literature techniques = Structure
Jessica 'JessieB
A Level: English language and literature technique = Dramatic terms
Jessica 'JessieB
The Strange Case of Dr. Jekyll and Mr. Hyde
K d
English Speech Analysis Terminology
Fionnghuala Malone
English Literary Terminology
Fionnghuala Malone
To Kill A Mockingbird GCSE English
naomisargent
Bayonet Charge flashcards
katiehumphrey
Browse Library