data representation

how to convert from binary to denary

denary

click to edit

click to edit

click to edit

binary

What is binary? Binary is a base 2 number systems made up of only 0 and 1

Logic addition: to add two binary numbers together, we use the following rules..
1+0=1 1+1=0 carry 1 1+1+1=1 carry 1

The CPU has lots of different switches it can be either on or off

the make a table with place holders at the top and bits at the bottom

using the binary placeholder which starts at 1 and doubles each time. remember to write from right to left

start from right to left.

humans use denary because it allows us to use ten values

the main reason the binary number system is used in computing is that it is simple. Computers don't understand language or numbers in the same way that we do

Denary is known as base 10 because there are ten choices of digits between 0 and 9 and A-F

hexadecimal

images

colour depth: bit depth is the number of bits used to represent the colour of a single pixel

bitmap: an image file format where the picture is represented as a set of dots or pixels

pixel: the smallest element of an image. pixels are the dos that make the image on screen

a hex digit can be any of the following 16 digits: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F.

we use hex because its shorter and easier to remember, hexadecimal takes up less space

hexadecimal is a base 16 number system

how is sound stored? we can record sound using a microphone.

Sound quality is typically an assessment of the accuracy, fidelity, or intelligibility of audio output from an electronic device. Quality can be measured objectively, such as when tools are used to gauge the accuracy with which the device reproduces an original sound; or it can be measured subjectively, such as when human listeners respond to the sound or gauge its perceived similarity to another sound.

how is sound converted? sound is converted by samples of amplitude of the wave taken at regular intervals (sampling)

sound

image

image

image

image

image