Final Revision Flashcards
What is the formula for calculating positional notation?
dn x R^n-1 + dn-1 x R^n-2 + … + d2 x R^1 + d1 x R^0
di: the digit at position i
R: the base
n: number of digits
What is the algorithm to convert to base 10?
While number is not equal to 10
Divide by new base
Store remainder
Replace value with quotient
//Read numbers in reverse order
Describe what happens when transferring electrical signals.
- an analog signla continueally fluctuates up and down in voltage
- a digital signal has only a high or low state (binary)
- All electrical signals (analog and digital) degrade as they move down the line.
- A digital signal is re clocked periodically to its original shape.
What is pulse code modulation?
Variation in a signal that jumps sharply between two extremes.
What does it mean to reclock?
The act of reasserting the original digital signal before too much degradation occurs.
What is the formula to work out 10’s compliment of a number
negative(i) = 10^k - i
What is overflow?
Occurs when the value being computed can not fit into the number of bits that are allocated for the result.
Data compression
the reduction in the amount of space needed to store a piece of data or the bandwidth to transmit it.
What is sampling?
What is Quantisation?
Sampling: Perodically measuring the voltage
quantisation: representing voltage as a finite no of bits
to reproduce a sound reasonably, there needs to be 40,00 samples per second
What is a CD? How does it work? What are its formats?
Stores information digitally, in a spiral, and has tracks. a red laser is shone on the surface, and reflected light is picked up by a receptor and translated into binary digits.
It has pits ( reflect poorly) and lands (reflect well). they represent binary 0 and 1 respectively.
- CD-ROM read-only memory
- CD-DA digital audio
- CD-WORM write once, read many
- CD-RW/CD-RAM both read from and written to
How is colour represented?
Colour is expressed as a RGB value, 3 numbers that indicate the contribution of each of the primary colours
COlour depth refers to the number of bits used to represent a colour.
HiColour uses 16 bits - 5 for each colour then the spare bit sometimes used to indicate transparency.
TrueColour uses 24 bits, 8 bits used to represent each of the primary colors.
What is raphster graphics?
Treats images as a collection of pixels. common formats include BMP,PNG, Jpeg and GIF
What is a pixel?
What is resolution?
Pixel: a dot of colour in an image
resolution: The number of pixels in an image (or device)
Describe BMP
Bitmaps
Uses true colour, or less to reduce file size
well suited too RLE
Describe GIF
- file explicitly uses a pallet of 256 colours, but this palette varies from different images. This is known as indexed colour
- Each pixel uses 8 bits or less
- animated GIFS are a sequence of of images