Boolean Expressions and If Statements

studied byStudied by 142 people
5.0(3)
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 6 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 4 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 12 people
Updated ... ago
5.0 Stars(2)
note Note
studied byStudied by 49 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 19 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 4 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 131405 people
Updated ... ago
4.8 Stars(623)

Explore top flashcards

flashcards Flashcard40 terms
studied byStudied by 2 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard128 terms
studied byStudied by 11 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard43 terms
studied byStudied by 19 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard87 terms
studied byStudied by 5 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard35 terms
studied byStudied by 51 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard37 terms
studied byStudied by 16 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard47 terms
studied byStudied by 1 person
Updated ... ago
5.0 Stars(1)
flashcards Flashcard86 terms
studied byStudied by 64 people
Updated ... ago
5.0 Stars(2)