Please enable JavaScript.
Coggle requires JavaScript to display documents.
UNIT 4 - Data Representation - Coggle Diagram
UNIT 4 - Data Representation
BINARY
Computers use binary
A binary digit (a bit), is the smallest unit of data in computing.
The circuits in a computer's processor are made up of billions of transistors.
A transistor is a tiny switch that is activated by the electronic signals it receives.
All software, music, documents and any other data that is processed by a computer is stored using binary.
They use the digits 0 and 1 to store data
Encoding
everything on a computer is represented as streams of binary numbers
these numbers are encoded in different data formats to give them meaning, e.g. the 8 bit pattern 01000001 could be the number 65 or the letter 'A', or a colour in a image.
Storing character in a computer
a character in any letter, digit, space, punctuation mark or various other symbols. when characters are stored on a computer system, they are stored as a specific pattern of binary number.
ASCII and UNICODE
ASCII
DISADVANTAGES
only has basic alphabets (lower and uppercase) and common symbol and spaces like (,_
>?!)
ADVANTAGES
very small 1 byte per character
all or almost all computers have this
UNICODE
ADVANTAGES
much larger number of characters or group of characters
Contains some non western European characters
DISADVANTAGES
double or more spaces per 2 - 4 bytes per characters
all the different sizes of storage
Decimal to Binary
draw a table as the following
for example you will get a number like 61.you will put a 0 underneath the numbers that doesn't fit into 61 so 128 and 64. if the number does fit you - it off 61 and see if it fits in the next one