Relational Operators:
Allows you to compare two values.
There are three Relational Operators:
- greater than
- less than
- equal to
Logic Operators:
Combine two or more Relational Operators to result in a single true/false value.
There are three Logic Operators:
- and
- or
- not
Arithmetic Operators:
Arithmetic operations allow you to code programs that add, subtract, multiply, and divide.
Bitwise Operator:
The bitwise operator looks directly at the binary digits or binary bits of an integer.
Assignment Operators:
Used for assigning values to variables.
Identity Operators:
Used for comparing two or more objects based on their ID’s.
Membership Operators:
Membership operators are used to verifying whether a particular element is a part of a sequence or not.
Previous Section
What are Operators?Next Section
Assignment: Using Operators in ScratchCopyright © 2021 Code 4 Tomorrow. All rights reserved.
If you would like to use content from any of our courses, you must obtain our explicit written permission and provide credit. Please contact classes@code4tomorrow.org for inquiries.