if Statements
AP Computer Science A · Flashcards · Application
AP COMPUTER SCIENCE A · FLASHCARDS
Card 1
of 22
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
Evaluate the condition: if (5 < 3) { ... }
QUESTION
Find and correct the error: if x = 10 { System.out.println("Ten"); }
QUESTION
What block executes if the condition is true? if (condition) { ... } else {...}
Tap to flip before you grade
ANSWER
The first block executes. True conditions execute the if block, false conditions execute else.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card