AP Computer Science Unit 3 Vocab

0.0(0)
Studied by 2 people
0%Unit 3: Boolean Expressions and if Statements Mastery
0%Exam Mastery
Build your Mastery score
multiple choiceMultiple Choice
call kaiCall Kai
Supplemental Materials
Card Sorting

1/11

Last updated 11:19 AM on 8/22/23
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

12 Terms

1
New cards
Block of statement
One or more statements enclosed in an open curly brace; ‘{‘ and a closing curly brace ‘}’.
2
New cards
Boolean expression
A mathematical or logical expression that is either true or false
3
New cards
complex conditional
A boolean expression with two or more conditions joined by a logical and “&&” or a logical or ‘||’
4
New cards
Conditional
used to execute code only if a boolean expression is true
5
New cards
DeMorgan’s Laws
rules about how to distribute a negation on a complex conditional
6
New cards
logical and (&&)
used to only execute the following statement or block of statements if both conditions are true
7
New cards
logical or (||)
used to execute the following statement or block of statements if one of the conditions are true
8
New cards
negation (!)
turns a true statement false and a false statement true
9
New cards
short circuit evaluation
the type of evaluation used for logical and ‘&&’ and logical or ‘ || ‘ expressions. If the first condition is false in a complex conditional with a logical and the second condition won’t be evaluated. If the first condition is true is a complex conditional with a logical or the second condition won’t be evaluated
10
New cards
if (Boolean expression)
used to start a conditional statement. This is followed by a statement or a block of statements that will be executed if the boolean expression is true
11
New cards
else
used to execute a statement or block of statements if the boolean expression on the if part owas false
12
New cards
else if (Boolean expression)
used to have 3 or more possible outcomes such as if x is equal, x is greater than, or x is less than some value. it will only execute if the condition in the ‘if’ was false and the condition in the else if is true

Explore top notes

Explore top flashcards

flashcards
Civics Unit 5 Test
54
Updated 1051d ago
0.0(0)
flashcards
Vocab G Unit 6
20
Updated 1209d ago
0.0(0)
flashcards
Endo Exam 1
158
Updated 208d ago
0.0(0)
flashcards
2e: Nutrition (Humans)
68
Updated 1215d ago
0.0(0)
flashcards
SAT vocab list "A's"
22
Updated 1150d ago
0.0(0)
flashcards
Digital SAT Vocabulary
991
Updated 665d ago
0.0(0)
flashcards
Civics Unit 5 Test
54
Updated 1051d ago
0.0(0)
flashcards
Vocab G Unit 6
20
Updated 1209d ago
0.0(0)
flashcards
Endo Exam 1
158
Updated 208d ago
0.0(0)
flashcards
2e: Nutrition (Humans)
68
Updated 1215d ago
0.0(0)
flashcards
SAT vocab list "A's"
22
Updated 1150d ago
0.0(0)
flashcards
Digital SAT Vocabulary
991
Updated 665d ago
0.0(0)