CP 1.5 Operators : Assignment, Arithmetic, Relational and Logical

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/17

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:07 AM on 1/21/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

18 Terms

1
New cards

=

Simple assignment operator, Assigns values from right side operands to left side operand.

2
New cards

+=

Add AND assignment operator, It adds right operand to the left operand and assign the result to left operand.

3
New cards

-=

Subtract AND assignment operator, It subtracts right operand from the left operand and assign the result to left operand

4
New cards

*=

Multiply AND assignment operator, It multiplies right operand with the left operand and assign the result to left operand.

5
New cards

/=

Divide AND assignment operator, It divides left operand with the right operand and assign the result to left operand.

6
New cards

%=

Modulus AND assignment operator, It takes modulus using two operands and assign the result to left operand.

7
New cards

%

Modulus - Returns the division remainder

8
New cards

++

Increment

Increases the value of a variable by 1.

9
New cards

- -

Decrement

Decreases the value of a variable by 1.

10
New cards

= =

Checks if the values of two operands are equal or not, if yes then condition becomes true.

11
New cards

!=

Checks if the values of two operands are equal or not, if values are not equal then condition becomes true.

12
New cards

>

Checks if the value of left operand is greater than the value of right operand, if yes then condition becomes true.

13
New cards

<

Checks if the value of left operand is less than the value of right operand, if yes then condition becomes true.

14
New cards

>=

Checks if the value of left operand is greater than or equal to the value of right operand, if yes then condition becomes true.

15
New cards

<=

Checks if the value of left operand is less than or equal to the value of right operand, if yes then condition becomes true.

16
New cards

&&

Called Logical AND operator. If both the operands are non-zero, then condition becomes true.

17
New cards

||

Called Logical OR Operator. If any of the two operands is non-zero, then condition becomes true.

18
New cards

!

Called Logical NOT Operator. Use to reverses the logical state of its operand. If a condition is true, then Logical NOT operator will make false.

Explore top notes

note
Learn to Lead Chapter 1 Review
Updated 401d ago
0.0(0)
note
Chapter 19 - Types of Selection
Updated 1310d ago
0.0(0)
note
Chapter 11: Sound
Updated 1043d ago
0.0(0)
note
WW2 1939-1945
Updated 1398d ago
0.0(0)
note
ANATOMY
Updated 1423d ago
0.0(0)
note
Learn to Lead Chapter 1 Review
Updated 401d ago
0.0(0)
note
Chapter 19 - Types of Selection
Updated 1310d ago
0.0(0)
note
Chapter 11: Sound
Updated 1043d ago
0.0(0)
note
WW2 1939-1945
Updated 1398d ago
0.0(0)
note
ANATOMY
Updated 1423d ago
0.0(0)

Explore top flashcards

flashcards
unit 4
126
Updated 1129d ago
0.0(0)
flashcards
ķīmija
21
Updated 1223d ago
0.0(0)
flashcards
engels unit 4: vocabulary
146
Updated 1124d ago
0.0(0)
flashcards
ADHD- Krysiak
42
Updated 279d ago
0.0(0)
flashcards
English Language Paper 1
36
Updated 691d ago
0.0(0)
flashcards
ENGLISH EXAM
101
Updated 810d ago
0.0(0)
flashcards
Spanish 3: Ser Estar Tener
72
Updated 71d ago
0.0(0)
flashcards
Unit 1 Part 1 - Modules 1 - 3
36
Updated 813d ago
0.0(0)
flashcards
unit 4
126
Updated 1129d ago
0.0(0)
flashcards
ķīmija
21
Updated 1223d ago
0.0(0)
flashcards
engels unit 4: vocabulary
146
Updated 1124d ago
0.0(0)
flashcards
ADHD- Krysiak
42
Updated 279d ago
0.0(0)
flashcards
English Language Paper 1
36
Updated 691d ago
0.0(0)
flashcards
ENGLISH EXAM
101
Updated 810d ago
0.0(0)
flashcards
Spanish 3: Ser Estar Tener
72
Updated 71d ago
0.0(0)
flashcards
Unit 1 Part 1 - Modules 1 - 3
36
Updated 813d ago
0.0(0)