Boolean Expressions and If Statements

studied byStudied by 166 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 11 people
... ago
5.0(1)
note Note
studied byStudied by 12 people
... ago
5.0(1)
note Note
studied byStudied by 9 people
... ago
5.0(1)
note Note
studied byStudied by 5 people
... ago
5.0(1)
note Note
studied byStudied by 51 people
... ago
5.0(1)
note Note
studied byStudied by 4 people
... ago
5.0(1)
note Note
studied byStudied by 13 people
... ago
5.0(1)
note Note
studied byStudied by 34930 people
... ago
4.6(69)

Explore top flashcards

flashcards Flashcard (102)
studied byStudied by 31 people
... ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 2 people
... ago
5.0(2)
flashcards Flashcard (22)
studied byStudied by 7 people
... ago
4.3(3)
flashcards Flashcard (21)
studied byStudied by 10 people
... ago
5.0(1)
flashcards Flashcard (32)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (121)
studied byStudied by 37 people
... ago
5.0(1)
flashcards Flashcard (58)
studied byStudied by 4 people
... ago
5.0(1)
flashcards Flashcard (250)
studied byStudied by 4 people
... ago
5.0(2)
robot