Computational Thinking Flashcards
Computational Thinking Techniques
-Pattern matching. -Abstraction. -Decomposition. -Algorithms
Pattern Matching
identifying patterns and recognising when 2 are similar
Abstraction
removing irrelevant details and reducing a problem down to essential elements
Decomposition
breaking a complex task down into smaller and simpler tasks
Algorithms
sequence of steps used to solve a problem
Continuous data
analog data. Has an infinite number of potential values. E.g. height 1.8 1.82 1.8254
Discrete data
distinct seperate values for data. E.g. Number of students in a room
Bit
1 binary digit. 0 or 1
Byte
8 bits. 0 to 255
Kilobyte
1024 bytes(because 2 to the power of ten is 1024)
Megabyte
1024 kilobytes (2 to the power of 20 bytes)
Converting binary to decimal
write table
Benefits of binary numbers in computers
-simple and quick to carry out operations for computers.
-binary signals are less affected by noise than others.
-easy to make exact copies of digital info
Hexadecimal
base 16. So positions are powers of 16
How to convert from decimal to hexadecimal
divide by 16 and write down number then divide the remainder by 16 and repeat from left to right
Why is hexadecimal useful
provides a way of representing numbers using fewer digits. Only uses 2 digits can represent numbers up to 255 which would require 8 digits in binary
Do computers use hexadecimal
not but programmers use them as shorthand for binary as they are easier to understand and remember
Character set
collection of characters that are used for a purpose. English uses the roman character set.
ASCII
character set allowed for 128 characters using 7 bit binary
Extended ASCII
allowed 256 characters using 8 bit binary
Limitations of ASCII
only set number of characters(128 / 256) that did not include non-roman character sets for languages like Chinese or Russian. Or symbols like emojis