CS Awesome - Unit 3 Vocabulary

0.0(0)
Studied by 0 people
0%Unit 3 Mastery
0%Exam Mastery
Build your Mastery score
multiple choiceMultiple Choice
call kaiCall Kai
Supplemental Materials
Card Sorting

1/11

Last updated 1:34 PM on 4/21/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 statements
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 was 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

note
Anatomy and Physiology 'Blood'
Updated 1599d ago
0.0(0)
note
DBQ Format
Updated 884d ago
0.0(0)
note
APUSH Period 2
Updated 1283d ago
0.0(0)
note
Chapter 1: Cells and Genomes
Updated 873d ago
0.0(0)
note
Chapter 16: Language and Computers
Updated 1273d ago
0.0(0)
note
5.1 The Enlightenment
Updated 287d ago
0.0(0)
note
Anatomy and Physiology 'Blood'
Updated 1599d ago
0.0(0)
note
DBQ Format
Updated 884d ago
0.0(0)
note
APUSH Period 2
Updated 1283d ago
0.0(0)
note
Chapter 1: Cells and Genomes
Updated 873d ago
0.0(0)
note
Chapter 16: Language and Computers
Updated 1273d ago
0.0(0)
note
5.1 The Enlightenment
Updated 287d ago
0.0(0)