moving folders

This commit is contained in:
Jen Looper
2020-11-09 22:21:08 -05:00
commit 21b1b67bf6
374 changed files with 20407 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
*Complete this quiz by checking one answer per question.*
1. What part of a for-loop would you need to modify to increment its iteration by 5
- [ ] condition
- [ ] counter
- [ ] iteration-expression
2. What's the difference between a `while` and a `for-loop`
- [ ] A `for-loop` has a counter and iteration-expression, where `while` only has a condition
- [ ] A `while` has a counter and iteration-expression where `for-loop` only has a condition
- [ ] They are the same, just an alias for one another
3. Given the code `for (let i=1; i < 5; i++)`, how many iterations will it perform?
- [ ] 5
- [ ] 4

View File

@@ -0,0 +1,13 @@
*Complete this quiz in class*
1. To refer to specific item in an array, you would use a
- [ ] square bracket `[]`
- [ ] index
- [ ] curly braces `{}`
2. How do you get the number of items in an array
- [ ] The `len(array)` method
- [ ] The property `size` on the array
- [ ] The `length` property on the array