23 lines
530 B
Markdown
Raw Normal View History

2018-10-13 23:30:21 +03:00
# QUESTIONS: What's a variable?
2018-10-19 20:31:10 +03:00
## Where does a variable live?
2018-10-13 23:30:21 +03:00
* Hard Disk
* Computer Memory - *CORRECT*
* CPU
2018-10-19 20:31:10 +03:00
## What do you use a variable's name for?
2018-10-13 23:30:21 +03:00
* To be able to access it later - *CORRECT*
* It's just a label
* I don't need to use it
2018-10-19 20:31:10 +03:00
## How to change the value of a variable?
2018-10-13 23:30:21 +03:00
* By using its name - *CORRECT*
* By using its value
* By asking to Go
2018-10-19 20:31:10 +03:00
## After its declaration can you change the variable's type?
2018-10-13 23:30:21 +03:00
* Yes : Go is dynamically-typed
* No : Go is statically-typed - *CORRECT*
* Both: Go supports both of them