Memory And Storage Flashcards

(42 cards)

1
Q

Primary storage vs secondary storage

A

Primary storage:
Very quick because it’s is directly accessed by the CPU
Typically smaller in storage size
Sometimes called ‘main memory’
Includes RAM and ROM

Secondary storage:
Slower because it’s is not directly accessed by the CPU
Typically larger in storage size
Used for long term storage of data and files because it’s non-volatile
Includes magnetic,optical and solid state storage

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

What is volatile and non volatile memory

A

Volatile storage is temporary.Data is lost whenever the power is turned off

e.g. RAM

Non-volatile storage saves the data even when not being powered.Data can be stored long-term and accessed when the computer is turned on

E.g. ROM

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

Why do computers need primary storage?

A

primary storage is a low capacity internal storage that can be directly accessed by the CPU

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

What is RAM

A

RAM is Volatile (temporary)storage that stores all programs that are currently running.also stores parts of the operating system to be accessed by the CPU

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

what is ROM

A

ROM is non-volatile storage that cannot be changed

ROM stores boot program/BIOS for when the computer is switched on.

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

What is virtual memory and how does it work

A

Programs must be stored in RAM to be processed by the CPU.even if there’s insufficient space in RAM the computer can use the HDD (hard disk drive) as an extension of RAM-This is called virtual memory

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

What is binary?

A

Binary is a number system consisting of entirely 1s and 0s

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

Why do computers use binary?

A

Computer systems consist of billions of tiny transistors which are switches that only have two values -on(1) or off(0).Therefore all data must be represented and processed this way.

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

Units of data storage:

A

Bits
4 bits=nibble
8 bits=1 byte
1000 bytes=1 kilobyte
1000 kilobytes=megabytes
1000 megabytes=1 gigabytes
1000 gigabytes=1 terabyte
1000 terabyte=1 petabytes

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

Josh has 500MB of free space on his USB stick.Each image is 650KB. How many images can he store?

A

500 MB x 1000= 500,000KB

500,000 KB / 650KB = 769 images

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

What is denary?

A

Denary(also known as decimal) is a base 10 number system. This means that it has 10 possible values - 0,1,2,3,4,5,6,7,8 and 9

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

What is hexadecimal?

A

Hexadecimal is a base 16 number system.This means that it has 16 possible values - 0,1,2,3,4,5,6,7,8,9A,B,C,D,E and F

10=A
11=B
12=C
13=D
14=E
15=F

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

How to covert binary to hexadecimal:

A

1)Write out the binary number to convert
2)split the binary number into 2 groups
3)work out the hexadecimal value of each nibble

It can also either be 2 numbers
E.G. 38

Or 2 letters
E.G. EF

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

How to convert denary to hexadecimal

A

easiest way is to covert to denary number into binary and go from there

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

How to add binary digits:

A

0+0=0
1+0=1
1+1=(little 1)0
1+1+1=(little 1)1

Write the two binary numbers ontop of each other

01010100
01110110
—————
11001010

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

What is an overflow error?

A

an overflow error occurs when a binary value is too large to be stored in the bits available

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

What is binary shifts and what is the effects of shifting left and right

A

Used to multiply and divide binary number

the effect of shifting left is to multiply a binary number

the effect of shifting right is to divide a binary number

shifting by 1 has an effect of 2
Shifting by 2 has an effect of 4
Shifting by 3 has an effect of 8

18
Q

What is a character set

A

A character set is a table that matches together a character and a binary value

19
Q

What is ascii

A

Ascii is a common character set and uses 1 byte which only gives 256 possible characters but uses less memory to use

Enough for the English language

20
Q

What is Unicode

A

A more popular character set because it uses 2 bytes that allow for 65536 possible characters

This allows many different languages to be represented and thousands of symbols and emojis but it requires a lot more memory to store each character than ASCII

21
Q

What is the equation of file size of text files

A

Bits per character x number of characters

22
Q

A small text file uses ASCII character set (which uses 8 bits per character).There are 300 characters in the file.

A

300 x 8=2,400

23
Q

What are bitmap images made out of

A

Made of pixels single colour squares arranged on a grid

24
Q

What does the quality of a bitmap image depend on

A

The total amount of pixels this is known as image resolution

25
How to calculate file size of a bitmap
File size= resolution x colour depth
26
What is resolution of an image
The resolution of an image is the width in pixels multiplied by the height of pixels
27
What is colour depth?
The number of bits that are used to represent each pixels colour 1 bit = 2 colours 2 bits = 4 colours 3 bits = 8 colours 4 bits = 16 colours ETC a colour depth of 1 byte allows for 256 different colours
28
What is metadata and what does it include
Additional data about a file Includes: height and width in pixels Colour depth Resolution geolocation Data created last edited file type Author details
29
What must analogue sound waves be recorded in and stored in
Must be digitally recorded and stored in binary
30
How do you get a high quality sound
Many samples are taken to recreate the analogue wave as closely as possible.
31
What is sample rate
The number of times per second the amplitude of the sound wave is measured.
32
What is sound measured in and give an example
Kilohertz (KHZ) CD quality is 44.1kHZ(44,100 samples per second)
33
Why does higher sample rate mean better audio quality and what is a drawback of this
The digital data more closely resembles an analogue wave However higher sample rates result in larger file sizes because more data is stored for each individual sample
34
Why will a low sample rate result in low quality sound
The digital data does not closely resemble the original analog wave
35
How to calculate sound file size?
Sound file size=sample rate x bit depth x duration
36
A short audio has a bit depth of 4 and a sample rate of 10 samples per second.The clip is 15 seconds long. Calculate the file size
4 bits x 10= 40 bits per second, 40 x 15=600 bits Convert bits to bytes 600 bits / 8 =75 bytes
37
What is compression
To compress a file means to make its smaller
38
Benefits of compression:
Files take up less storage space Files can be transferred quicker Files can be read from or written to quicker result in faster load times and less strain on servers and networks Some email services have file size limitations and compression can help stay within these limits
39
How does lossy compression work
Lossy compression uses an algorithm to analyse a file and remove data that cannot be heard of seen by humans Lossy compression will remove data that humans can see/hear Lossy compression removes the data permanently so the file never returns to its original form
40
What is lossy compression commonly used with
Images,audio and video to reduce file size
41
How does LOSSLESS compression work
Reduces the file size without permanently removing any data.Because of this the file returned to its original form when compressed so no quality is lost.
42
What is lossless compression commonly used for
used with files that would not function properly if data were permanently removed, such as executable files (programs and games) or word documents