Mind map
How do computers interpret instructions?

Mind map: How computers interpret instructions
Map content
How do computers interpret instructions?
How instructions are coded as bit patterns
- Processed as part of a fetch-decode-execute cycle
- Computer programs are compiled into machine code before they are able to run on a computer system
Instructions or data
- Where this is not available, an additional bit pattern can be allocated to flag whether it's data or instruction
- Some systems there are softwares which allocate locations in memory to 'instruction only' or 'data only'
- Both instructions and data are stored as bit patterns in memory
How do computers store sound?
- Computers are only able to store and process binary digits as it is a digital device
- Sound is converted into a digital signal by a process called sampling
- Sampling is where hardware measures the level of sound
- The number of times that the sound level is sampled per second is called the sampling frequency
- A typical sampling frequency is 44kHz per second
Making basic images using bitmap
- For example, a black and white bitmap image could be stored as 1s for blacks and 2s for whites
- Images on computers are made up of thousands of small colored dots (AKA pixels)
Making colored bitmaps
- Colored bitmaps work by replacing the 1s and 0s with big numbers that represent how much RBG is needed in each pixel. This is known as color depth
- In a 256 color palette the image would require 1 byte per pixel so 448 bites to store a 56 byte image in colour
- So the more info stored about each colored pixels, the larger the files become
Vector Images
- These images do not store the data by pixels
- These are a set of instructions for drawing a geometric shape
- They use less storage
- Vector images can be scaled without loss of quality
- But images require a large amount of storage space and as such, may need to be compressed
Information
- Description
- Mind Map on How do computers interpret instructions?, created by ginny darke on 19/09/2016.
- Created by
- ginny darke
- Views
- 1
- Rating