Implementing Selection and Iteration Algorithms
AP Computer Science A · Flashcards · Application
AP COMPUTER SCIENCE A · FLASHCARDS
Card 1
of 18
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
What does the expression (a == b) evaluate to?
QUESTION
What is the result of the expression: !true?
QUESTION
Identify the error: if(x = 5) {...}
Tap to flip before you grade
ANSWER
Assignment operator used instead of equality. Single
=
=
=
assigns value; double
=
=
==
==
compares for equality.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card