Arithmetic, Relational, Logical Operators

Arithmetic, Relational, Logical Operators

8th - 12th Grade

13 Qs

quiz-placeholder

Similar activities

Loops

Loops

5th - 12th Grade

16 Qs

Practice for CPA JavaScript quiz #4

Practice for CPA JavaScript quiz #4

9th - 12th Grade

15 Qs

Objects & Classes

Objects & Classes

11th - 12th Grade

10 Qs

C++ References

C++ References

6th - 12th Grade

12 Qs

Divide et Impera

Divide et Impera

11th Grade - University

12 Qs

c fundamentals

c fundamentals

12th Grade

11 Qs

AP CSA Unit 1 & 2 Review

AP CSA Unit 1 & 2 Review

9th - 12th Grade

10 Qs

19W Final Exam - PLTW

19W Final Exam - PLTW

9th - 12th Grade

15 Qs

Arithmetic, Relational, Logical Operators

Arithmetic, Relational, Logical Operators

Assessment

Quiz

Computers

8th - 12th Grade

Medium

Created by

Scott Marsden

Used 123+ times

FREE Resource

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?