Chapter 3 – Flow of Control Flashcards
1
Q
parentheses
A
.
2
Q
if statement
A
.
3
Q
if-else with multiple statements
A
.
4
Q
compound statement
A
.
5
Q
indenting
A
.
6
Q
multiway if-else statement
A
.
7
Q
switich statement
A
.
8
Q
controlling expression
A
.
9
Q
case labels
A
.
10
Q
break statement
A
.
11
Q
default
A
.
12
Q
conditional operator
A
.
13
Q
ternary operator
A
.
14
Q
arithmetic if
A
.
15
Q
Boolean expression
A
.
16
Q
lexicographic ordering
A
.
17
Q
compareTo
A
.
18
Q
compareToIgnoreCase
A
.
19
Q
&& means “and”
A
.
20
Q
|| means “or”
A
.
21
Q
truth tables
A
.
22
Q
boolean variables in assignments
A
.
23
Q
short-circuit evaluation
A
.
24
Q
lazy evaluation
A
.
25
complete evaluation
.
26
precedence rules
.
27
associativity rules
.
28
higher precedence
.
29
binding
.
30
side effect
.
31
body of the loop
.
32
iteration
.
33
while and do-while compared
.
34
executing the body zero times
.
35
algorithm
.
36
pseudocode
.
37
sentinel value
.
38
for statement
.
39
empty statement
.
40
null statement
.
41
infinite loop
.
42
nested loops
.
43
break statement
.
44
continue statement
.
45
label
.
46
off-by-one error
.
47
tracing variables
.
48
incremental development
.
49
code review
.
50
pair programming
.
51
assertion
.
52
assert
.
53
assertion check
.
54
random numbers
.
55
pseudorandom
.