Arithmetic, Relational, Logical Operators

Arithmetic, Relational, Logical Operators

Assessment

Quiz

Computers

8th - 12th Grade

Hard

Created by

Akash Raj

Used 14+ times

FREE Resource

Student preview

quiz-placeholder

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The operator shown by "x/y" is

multiplication

division

addition

negation

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The operator shown by "x%y" is called_____.

percentage

conversion specifier

modulus

multiplication

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If x%2==0, the variable x represents an integer that is______.

odd

even

double

int

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If x%2==1, the variable x represents an integer that is______.

odd

even

double

int

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or false: x=y is the same as x==y.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the expression in Ch for "less than or equal to"?

<

<=

>=

<==

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What expression denotes "x is not equal to y"?

x//y

x

x neg y

x!=y

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?