Unit 4

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

1/14

encourage image

There's no tags or description

Looks like no tags are added yet.

15 Terms

1
New cards

Boolean value

a data type that is either true or false

2
New cards

Comparison Operator

<, >, <=, >=, ==, !=, indicate a boolean expression

3
New cards

Logical Operator

NOT, AND, and OR, which evaluate to a boolean value

4
New cards

>

greater than

5
New cards

<

less than

6
New cards

>=

greater than or equal to

7
New cards

<=

less than or equal to

8
New cards

=

assignment

9
New cards

==

comparison

10
New cards

&&

logical “and” (all parts must be true for statement to be true)

11
New cards

||

logical “or” (at least 1 part must be true for statement to be true)

12
New cards

!

logical “not”

13
New cards

Conditional Statement

affects the sequential flow control by executing different statements based on value of a boolean expression

14
New cards

%

Mod operator

15
New cards

Function of mod operator

gives remainder when dividing