Back to marketplace

Chapter 3

No description yet. This curated deck is ready for daily study.

Total cards: 24•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (24)

#1
Front (Question)

the if(condition) must be

Back (Answer)

a boolean, true or false

#2
Front (Question)

If the condition is true

Back (Answer)

the statement is executed, if not skipped

#3
Front (Question)

==

Back (Answer)

equals

#4
Front (Question)

!=

Back (Answer)

does not equal

#5
Front (Question)

<=

Back (Answer)

less than or equal to

#6
Front (Question)

> =

Back (Answer)

greater than or equal to

#7
Front (Question)

else is similar to

Back (Answer)

otherwise

#8
Front (Question)

Without braces

Back (Answer)

only one statement can follow the if statement

#9
Front (Question)

a && b

Back (Answer)

if both a and b are true, executes

#10
Front (Question)

a || b

Back (Answer)

If either a or b are true, executes

#11
Front (Question)

!a

Back (Answer)

executes if a is false

#12
Front (Question)

&& and || are

Back (Answer)

binary operators

#13
Front (Question)

order of logical precedence

Back (Answer)

NOT over AND and OR

#14
Front (Question)

De Morgan’s theorem

Back (Answer)

When the not (!) is distributed to the variable in the parentheses

#15
Front (Question)

short circuiting

Back (Answer)

when the left operand of an “&&” statement or “||” is true, other part is not evaluated

#16
Front (Question)

How to compare strings

Back (Answer)

“equals method” and “compareTo”

#17
Front (Question)

lexicographic ordering

Back (Answer)

Compares characters and Strings based on a character set alphabetical order, and short strings with same prefix as long go first “book” before “bookcase”

#18
Front (Question)

increment operator ++

Back (Answer)

adds one to its operand

#19
Front (Question)

decrement operator –

Back (Answer)

subtracts one from its operand

#20
Front (Question)

num += count is equal to

Back (Answer)

num = num + count;

#21
Front (Question)

num -= count is equal to

Back (Answer)

num = num- count

#22
Front (Question)

num *= count is equal to

Back (Answer)

x = x*y

#23
Front (Question)

num /= count is equal to

Back (Answer)

x = x/y

#24
Front (Question)

num %= count is equal to

Back (Answer)

x = x%y