digital data encoding Flashcards
what do computers run on?
electrical energy
what do binary numbers represent?
ALL data in computers, including text, images, and sound.
what does ASCII do
has codes for every character on a standard American English keyboard
what does text file size depend on?
bits required to store each character - total number of characters in the file
what is the text file size in bits
πππ₯π‘ πΉπππ πππ§π ππ πππ‘π
= πππ‘π πππ πΆhπππππ‘ππ Γ ππ’ππππ ππ πΆhπππππ‘πππ
what are the advantages of using Unicode over ASCII
- regularly updated to support more symbols
- can represent more characters than ASCII
what are the disadvantages of using Unicode
requires more storage space, sometimes over 1 byte per character
how are images in computers represented
images in computers are represented using dots
what are the dots called
pixels
what does βpixelsβ stand for
PICture Elements
how many colours do the pixels contain
contains only ONE colour
how to form an image on a computer
- each colour is assigned a binary code
- each pixel is encoded with its colour code
- the codes for all the pixels in the image are arranged to form a bitmap
how do you determine the size of an image
the size of an image is the total number of pixels in the image
how do you calculate the size of the image
πΌππππ π ππ§π ππ πππ₯πππ = ππππ‘h Γ π»πππhπ‘.
what is colour depth
the number of colours in an image measured by the number of bits required to encode each pixel as a binary number