Storage Units & Binary Flashcards

1
Q

What is a bit

A

A single binary digit eg 1 or 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a byte

A

A group of 8 bits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What’s a nibble

A

4 bits are a nibble

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How many bytes make a kilobyte and how much do you multiply by to get to MB & beyond

A

1000bytes

X 1000 from each jump

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

When counting in binary what do the deniers equivalents at the top go up in

A

X2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

1 & 0 are like a row of…

A

Light switches 1=on

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

In binary addition

A

You carry 1 when it adds up to 2 however carry it till it is 0+0 and then add the left over 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is overflow & sort of example

A

A computer stores things in finite space however if you can not represent a number in that amount of space as it is tooo large then overflow occurs and a glitch occurs for example 8 bits represent 256 numbers however you can’t fit 267 into that space

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

To multiply in binary

A

Each shift to the left represents multiplication by two

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

To divide in binary

A

Each shift to the right is dividing by 2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Why do we use hex

A

It’s easier for humans to understand as it shortens a long string of numbers .

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Hex is what type of base

A

16

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Hex is represented in how many bits

A

4bits (nibble)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Why do we use letters in hex

A

The smallest value in 4 bits is 0000 & the largest is 1111. This means we need to represent 1-15 denery values into hex but we on,y have numerical digits 0-9 so we use letter A- F. To represent 10-15.
For numbers above 15 the binary are split into groups of 4 (nibbles) & then represented

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

To convert decimal to hex either

A

Divide by 16 and convert the answer & left over into hex eg 182/16=11 remainder 6 which gives us B6
Or convert it binary & then convert

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

ASCII stands for

A

American Standard Computer for Information Interchange

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Normal ASCII uses how many bits which results in how many characters?

A

7 bits per character =127 decimal +1 = 128 characters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Extended ASCII uses how many bits resulting in how many characters

A

8bits. Per character =256 characters

19
Q

Why do we use extended ASCII

A

So that we can also encompass the extra letters found in European languages

20
Q

Why do we use Unicode

A

Unicode represents all characters in all languages of the world

21
Q

Unicode uses how many bits per character

A

8-32 bits however same codes up to 127

22
Q

What is a drawing that you can create on powerpoint

A

Vector graphic

23
Q

To store images on computers they are broken up into the smalles elements called

24
Q

Size of an image is represented directly as

A

Height & width in terms of pixels

25
What is a bitmap image
Each pixel is specifically assigned a position & colour hence does not change when enlargened
26
Colour depth is
The number of bits per pixel for example if there are 4 colours you need to work out what 4 is in a base of 2 . 2 squared = 4 . The power is how many bits so for 4 colours 2 bits are requires per pixel.
27
If the colour depth increased
More bits are used so file size increases
28
Size file in image
Size in bits= resolution x colour depth (bits per pixel)
29
Resolution of images
Image width x image height
30
To change bits into byte & then into KB
/8 to get bytes then x 100 to get KB
31
What is ADC
An Analogue to digital converter used for sound
32
Steps for converting a sound wave
Analogue sound received by mic Converted into electrical analogue signal The amplitude of the signal is measured at regular intervals so is sampled The values are quantified by rounding to a level The quantified values are stored as binary digits
33
What is a sample in sound
The measure of the amplitude at a point in time
34
What does the accuracy of analogue sound wave into digital depend upon
The sample resolution - the number of bits per sample - the more bits the better The sample rate - frequency with which you record the amplitude ie number of sample per second - the more the better
35
File size of a sample of sound
Sample rate x sample resolution x number of second
36
Compression
Is making a file smaller
37
We use compression to
Reduce amount of storage needed Allow large files to be sent as an email transmitted Allow file to be transmitted in less time owing to smaller file size
38
Lossy compression is
When information is removed so bits are reduced eg image colour depth is reduced
39
Repercussions of lossy compression
Information is lost eg quality of image decreases as less colours are used
40
Lossless compression is
Is when the file is squashed but no information is lost
41
Types of lossy (files)
Jpg | MP3
42
Types of lossless (file)
Gif
43
Run length encoding
Stored using frequency/data pairs | Useful on icons with many pixels of the same colour
44
Huffman tree steps
Draw a table of frequency of each character Start at the bottom with the smallest frequency in circle and two branches with letters off it. Then work your way up Once you reach the top branches on the left are assigned 0 branches on the right are assigned 1. Then work your way down noting 0 & 1 until you get you a character of your choice and that would be the Huffman value of that particular character.