AP Computer Science A

0.0(0)
studied byStudied by 4 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/18

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

19 Terms

1
New cards

&&

both terms need to be true for the whole expression to be true

2
New cards

true && true

true

3
New cards

true && false

false

4
New cards

false && true

false

5
New cards

false && false

false

6
New cards

||

one or the other has to be true for the whole expression to be true

7
New cards

true || true

true

8
New cards

true || false

true

9
New cards

false || true

true

10
New cards

false || false

false

11
New cards

if (rain) —>

if(rain == Tru

12
New cards

dangling else

else statement belongs to the closest if statement

13
New cards

De Morgan’s Laws

14
New cards

!(a == b)

a ≠ b

15
New cards

!(a ≠ b)

a == b

16
New cards

!(a < b)

a >= b

17
New cards

!(a > b)

a <= b

18
New cards

!(a <= b)

a > b

19
New cards

!(a >= b)

a < b