click below
click below
Normal Size Small Size show me how
Vidcode Module 2
| Question | Answer |
|---|---|
| What goes on either end of an array? | square bracket [ ] |
| What is an array? | a list of items |
| If you use strings in an array, what should go around each string? | quotation marks |
| What goes between items in an array? | comma |
| If you have an array of fruit such as: fruit = ["apple", "pear", "banana", "grape"] Which fruit does this represent: fruit[2] | banana: remember the first item starts with index 0 |
| What is a variable? | an object that holds data |