- Go emphasizes ease of programming. If you use the short declaration operator, you do not need to specify the type.
- true
- false
- In your own words, explain how computers work.
a.) Computers run on electricity. Electricity has 2 discrete states: on and off. With those 2 discrete states, we can create a coding scheme for whether or not a switch or circuit is in an on or off state.
- In relation to computers, what do zeros & ones represent?
a.) Ones and zeros represent an abbreviation of whether something is on or off. 1 is on, 0 is off.
- A boolean value is one that is either true or false.
- true
- false
- If you have 5 porch lights, how many messages can you encode?
- 8
- 16
- 32
- 64
- 128
- The computer power symbol is cleverly a ZERO and a ONE. This is pretty neat as ZERO represents OFF and ONE represents ON, which is exactly what a power symbol allows you to do - turn something ON and OFF.
- true
- false
- "Bit" is an abbreviation of "binary digit"
- true
- false
- ON & OFF, 1 & 0, Binary Digits, Bits, and Machine Language are all words used to refer to this idea that, within a computer, it's all nothing but a bunch of ZERO's and ONE's, or switches that are ON or OFF, it's all just a bunch of Binary Digits, or Bits, that's the language which computers speak, it's machine language.
- true
- false
- circuits, switches, transistors, and even "gates" are all words used to refer to this thing within a computer that can either be ON or OFF. It's a circuit, it's a switch, it's a gate that can either be OPENED or CLOSED, it's a transistor - you will learn that people use all of those words to talk about this same thing, this ability of computers to store ON / OFF states.
- true
- false
- The world's most popular text coding scheme today is
- ASCII
- UTF-8
- JIS
- W Europe
- 1000 bytes =
- 1 TB
- 1 GB
- 1 MB
- 1 KB
- 1000 GB =
- 1 TB
- 1 GB
- 1 MB
- 1 KB
- Consult this link transistor count and then enter the number of transistors (aka circuits, switches) which can be found on processors today.
7 billion
- How many circuits (aka transistors, switches) did the Eniac computer have?
- 160
- 1,600
- 16,000
- 160,000,000
- rune is an alias for int32
- true
- false
- byte is an alias for uint8
- true
- false
- If you use type int, then the compiler will choose whether int32 or int64 is used. Another way to say this is that int has implementation-specific sizes.
- true
- false
- As a rule of thumb, for numeric types, you should just use "int" for whole numbers (without decimals) and "float64" for real numbers (with decimals)
- true
- false
- A string is a sequence of bytes, which is also known as a "slice of bytes"
- true
- false
- Go source code is always UTF-8.
- true
- false
- A string is a sequence of bytes that represent Unicode code points, called runes.
- true
- false
- What is a coding scheme?
a.) A series 0s and 1s which represents switches being on or off.
- What is the number 42 in decimal?
- 42
- 101010
- 2A
- I skipped the numeral system video
- What is the number 42 in binary?
- 42
- 101010
- 2A
- I skipped the numeral system video
- What is the number 42 in hex?
- 42
- 101010
- 2A
- I skipped the numeral system video