2 - Memory and Storage Flashcards

(45 cards)

1
Q

What is Binary and why is it important?

A

Combination of 1s and 0s
Information to be processed by computers must be converted to Binary format.
Numbers, text, sound images and program instructions are stored here.

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

What is 1 bit?

A

0/1

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

What is 1 byte?

A

8 bits.
stores characters of text

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

What is a nibble?

A

4 bits

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

What is 1 kilobyte

A

1000 bytes

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

What is 1 megabyte?

A

1000 kilobytes

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

What is 1 gigabyte?

A

1000 megabytes

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

What is 1 terabyte?

A

1000 gigabytes

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

What is a petabyte?

A

1000 terabytes

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

What is denary?

A

Base 10 number system with 10 digits from 0-9 (one we normally use)

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

How to convert from denary to binary?

A

Write out binary code from 1- 128 (from right to left). Fill in numbers that can add to make your number.
e.g. write 128 64 32 16 8 4 2 1
to get the number 45
00101101

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

What is the largest number that can be stored in 8 bits?

A

2^8 - 1= 255

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

What is the largest number that can be stored in 16 bits?

A

2^16 - 1= 65535

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

How can we tell a binary number is even or odd.

A

Even - 0 at the end
Odd - 1 at the end

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

What is hexadecimal?

A

Base 16 number system from 0-15
0123456789ABCDEF

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

How do we convert hexadecimal to Denary

A
  • the left number by 16 and + the right e.g.
    2A –> 2 * 16= 32 + 10( which A has value of) = 42
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

How do we convert denary to hexadecimal?

A

/ by 16
Use remainder as units
e.g. 18 –> 18/16 = 1 remainder 2
12 in hex

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

How do you convert binary to hexadecimal

A

Split binary number into 2 fours.
e.g. 11100101 —> 1110 and 0101
Convert each side to denary using scale from 1-8 (right to left) and cover that to hex
8421
1110 –> 14 = E
0101 –> 5 = 5
E5

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

How do you convert from Hex to Binary?

A

Split into 2
e.g. 3B –> 3/B
Convert each side to binary using scale 1-8 (right to left)
3 = 0011 B = 1011
00111011

20
Q

What are the advantages of hexadecimal?

A

Easier to remember than binary
Quciker to write as only takes one digit not 4 bits.
Less errors with fewer digits
Easier to convert between hex and binary

21
Q

What are the rules of binary addition?

A

0+0=0
1+0=1
0+1=1
1+1=0 carry 1
1+1+1=1 carry 1

22
Q

What is overflow error?

A

9th bit in the addition.

23
Q

What is a binary shift?

A

Move all bits a place either left or right and fill in gaps with 0.
Multiplies when moving left e.g. double, quadruples e.t.c
Divides when moving right e.g. halves, quartrs e.t.c
Note when bits are removed a loss of accuracy occyrs.

24
Q

Explain characters on a keyboard

A

Each character has a binary value. Uppercase is different to lowercase. Punctuation have their own code.
There are 98 unique characters on a keyboard.

25
What is the ASCII set?
American standard code for Information Interchange. Contains 428 characer incoded into 7 bit binary codes. a-z 97-122 A-Z 65-90 0-9 48-58 Originally 7 bits but now 8 bits used for special characters. 8 bits = 2^8= 256 different characters
26
What is Unicode?
16 bits 65536 32 bits 4294967296 combos
27
What are bitmage image files and give examples of their format?
Contain pixels (picture elements) which are the smallest indetifiable area of an image. One colour with binary value. Changing value changes colour. Examples: BMP,JPG,GIF,PNG,TIFF
28
Give an example of a vector file format?
SVG
29
What are the different file types?
Bitmage image and Vector
30
What is resolution?
Concentration of pixels in area. Image width* height in pixels e.g. 1920 x 1080 72 ppi - pixels per inch 300 dpi - dots per inch Phones normally run at 300+ ppi
31
How many bits can show how many colours?
1 bit = 2 (black and white) 2 bits = 4 e.t.c
32
How does higher bit depth affect an image?
Higher bit depth = greater range of colour and better quality image. Example - 8 bits per pixel = 2^8 = 256 colours
33
What is metadata?
Data about data. Information toher than image data stored with a file including: colour depth in pixels, resolution, data and author.
34
What are the types of sound signals?
Analogue sound signals - Continous Digital signals - Discrete
35
How and why do get sound on our devices?
Sound digitzed by repeatedly measuring and recording soundwave. ADC (analogue to digital converter) convert inputs to digital signal (microphone) DAC( digital to audio converter) converts digital to outputs (speaker) In digital form, sound can be stored and processed on a computer
36
What are hz?
Measure of samples per second?
37
What is resolution in terms of sound?
Audio bit depth. More bits means a more accurate measurement of wave height. This increases file size.
38
What happens when we increase the frequency of the sound wave?
Increase accuracy Increase file size
39
How do we calculate the filze size of a sound file?
Sample rate * bit depth * duration measured in bits
40
What is lossy compression and why is it useful?
Removes unecessary sounds and is useful for storing, downloading and streaming. Convert 1 min of sound to 1mb of mp3 file which would otherwise be a 10mb uncompressed WAV file. Reduces file size.
41
Examples of lossy files and disadvantages
JPG,GIF,MP3 Permanently loses data and can result in digital artefacts which are small mistakes in images and videos.
42
What is lossless compression?
Reduces file size without losing info. Examples include FLAC, ALAC, PNG and TIFF
43
General advantages of compression
Fast Download time reduced Further data allowances Quicker transmission Reduced internet traffic with reduced packets Reduce space on disk and server
44
What is buffering?
When download speed is slower than playback speed.
45
Explain what each of the following file types are used for: JPEG, PNG, ZIP, GIF, MP4, MP3, FLAC/ALAC
JPEG - photos PNG - photos/images ZIP - documents GIF - images and animation MP4 - videos MP3 - Music FLAC/ALAc - lossless music free/apple