New Concepts Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

(1..5)

A

include 5, 1-5

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

(1…5)

A

exclude 5, 1-4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

for-loop vs while-loop

A

A for-loop can only iterate (loop) “over” collections of things. A while-loop can do any kind of iteration (looping) you want. However, while-loops are harder to get right and you normally can get many things done with for-loops.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly