Using Programs with Data
AP Computer Science Principles · Flashcards · Application
AP COMPUTER SCIENCE PRINCIPLES · FLASHCARDS
Card 1
of 10
0 got it
0 to review
Current
Got it
Still learning
Not seen
QUESTION
Identify the error: 'if x = 10:'
QUESTION
Identify the error in the expression:
5
+
′
3
′
5 + '3'
5
+
′
3
′
QUESTION
Identify the error in 'for i in 5: print(i)'
Tap to flip before you grade
ANSWER
'range()' is needed to iterate through integers. Cannot iterate directly over integer; range creates sequence.
Swipe → got it · swipe ← still learning
Got it
Still learning
Flip Card
Previous card
Next card