Memory and Storage Part 2 Flashcards
What is Denary?
In our standard number system we have 10 digits:
0 1 2 3 4 5 6 7 8 9
This is called denary, decimal or base 10.
What is Binary?
Binary only uses two different digits, 0 and 1.
Computers use this system as computers are made up of switches which can be on or off.
What is Hexadecimal?
Hexadecimal (or base 16) uses 16 different digits:
0 1 2 3 4 5 6 7 8 9 A B C D E F
Large numbers can be written simply using Hex instead of binary.
What are the rules for binary addition?
0 + 0 = 0
0 + 1 = 1
1 + 1 = 10 (binary for 2)
1 + 1 + 1 = 11 (binary for 3)
What is a Binary Shift?
A binary shift moves every bit in a binary number left or right a certain number of places. Gaps at the beginning or end of a number are filled with 0s.
Moving left multiplies the number.
Moving right divides the number.
What effect does moving left or right in binary shifts have on the number.
Moving left multiplies the number.
Moving right divides the number.
What is an Overflow error?
Overflow errors occur when the result of a calculation requires more bits (place values) than expected or are in the available range.
How are Binary Codes used to represent characters?
This is done by assigning each character a unique binary code, using only 0’s and 1’s.
Like the letter ‘a’ being represented by 01100001 in ASCII
What are Alphanumeric Characters?
Alphanumeric characters are used to make words and strings.
They include uppercase and lowercase letters, the digits 0 – 9 and symbols like: ? £ and +.
What are Character Sets?
Character sets are collections of characters that a computer recognises from their binary representation.
What are the two common Characater sets?
ASCII (American Standard Code for Information Interchange)
Unicode
What is ASCII?
ASCII is the most commonly used character set in the English- speaking world.
ASCII uses 7 bits whereas Extended ASCII uses 8 bits.
27 = 128
28= 256
What is Extended ASCII?
Extended ASCII uses eight bits, giving a character set of 256 characters. This allows for special characters such as those with accents in languages such as French and Spanish.
What is Unicode?
Unicode uses 16 bits. It aims to cover every possible character or symbol in all major languages.
With 16 bits we can have:
2**16 = 65,536 different characters.
What is the impact of ASCII?
It is suitable/sufficient for the English language but it’s insufficient for many other languages or all symbols
Limited Character Set.
What is the impact of Unicode?
It allows for a wider range of characters, including those from diverse alphabets and symbols across different languages, unlike the limitations of ASCII. it can be used around the world.
How many bits does ASCII use and how many characters can be represented?
7 bits.
128 different characters
How many bits does Unicode use and how many characters can be represented?
16 bits.
65,536 different characters.
What is a Pixel?
A pixel is the smallest identifiable area of an image.
Each pixel has a specific colour, represented by a specific binary code.
What is Colour Depth?
The amount of bits available for colours in an image.
e.g.
2 bits , 22 = 4 colours
3 bits , 23 = 8 colours
4 bits, 2**4 = 16 colours
What is Resolution?
Resolution is the number of pixels in the image. It is often given as width x height.
What is Metadata?
Metadata stores information about the image, in an image file.
e.g. file format, height, width, colour depth, resolution
What impact does resolution and colour depth have on the image file size?
Increasing either increases the file size.
Higher colour depth - more bits per pixel are needed.
Higher resolution - more pixels means more data is needed to store the image
What impact does resolution and colour depth have on the quality of the image?
Increasing either leads to better image quality.
Higher resolution - allows for more detail and a more realistic-looking image,lower resolution can lead to a pixelated or blocky appearance.
Higher colour depth - results in a wider range of colours and smoother gradients, leading to a more realistic and visually appealing image.