Boolean Expressions and If Statements

studied byStudied by 175 people
5.0(4)
Get a hint
Hint

if

1 / 12

13 Terms

1

if

this is used as a subjective statement, it works hand in hand with conditional statements

New cards
2

conditional statement

used to control the flow of the program, and is based entirely on conditions

New cards
3

flow control

New cards
4

equality operator

(==), checks if something is equal to the other

New cards
5

truth value

the truth value, either true or false, for an expression

New cards
6

compound condition

multiple conditions put together

New cards
7

&&

logical and

New cards
8

||

logical or

New cards
9

!

logical not

New cards
10

==

is equal to

New cards
11

!=

isn’t equal to

New cards
12

trace table

used to easily trace values, and their outputs based on the code

New cards
13

blocking

used to execute more than one statement based on a condition

New cards

Explore top notes

note Note
studied byStudied by 9190 people
... ago
4.8(30)
note Note
studied byStudied by 183 people
... ago
5.0(1)
note Note
studied byStudied by 6 people
... ago
5.0(1)
note Note
studied byStudied by 11 people
... ago
5.0(1)
note Note
studied byStudied by 26 people
... ago
5.0(1)
note Note
studied byStudied by 79 people
... ago
4.8(4)
note Note
studied byStudied by 14 people
... ago
5.0(1)
note Note
studied byStudied by 21 people
... ago
5.0(2)

Explore top flashcards

flashcards Flashcard (43)
studied byStudied by 14 people
... ago
5.0(1)
flashcards Flashcard (70)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (40)
studied byStudied by 23 people
... ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 16 people
... ago
5.0(1)
flashcards Flashcard (47)
studied byStudied by 3 people
... ago
5.0(1)
flashcards Flashcard (29)
studied byStudied by 3 people
... ago
5.0(1)
flashcards Flashcard (86)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (108)
studied byStudied by 19 people
... ago
5.0(1)
robot