-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWeek 0
31 lines (22 loc) · 1022 Bytes
/
Week 0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
What is computer science? Input->|_|->Output
Unary -> i.e. counting one finger at a time
Binary -> from binary digit 'bit' aka zeros and ones that represent on and off
Computers use base-2 to count, i.e.
2^2 2^1 2^0
4 2 1
8 bits are in a byte
maximum is 256 bits if you include zero
Bits can be mapped, i.e. numbers to letters with ASCII.
Unicode standards expanded the number of bits that can be trasnmitted and understood by computers.
RGB is a combination of all three numbers
Images are a collection of RGB
Videos are sequences of images stored together
Music can be represented as MIDI
Abstraction - focusing on higher level processes
Algorithms - a list set of instructions to solve problems or perform tasks, based on the understanding of available alternatives
pseudocode - human readable version of code
it uses verbs (functions)
it uses statements like if, else if (conditionals)
True or False (boolean expressions)
it uses cycles (loops)
Scratch - visual programming language developed at MIT