memory and storage Flashcards

(58 cards)

1
Q

what are the different types of storage

A
  • primary storage
  • secondary storage
  • tertiary storage
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what are the differences between primary and secondary storage

A
  • primary storage is volatile with the exception of ROM while secondary storage is non-volatile
  • primary storage has a small capacity compared to secondary storage while secondary storage has a much larger storage capacity
  • primary is much faster to access from than secondary
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is the need for primary storage

A

primary storage hold the data and instructions which the CPU needs access to while the computer is running and the CPU can access data from primary storage much faster than secondary

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

what is ROM

A
  • small piece of read only memory located on the motherboard
  • contains very first instructions for the computer
  • loads the BIOS or bootstrap
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is RAM

A
  • temporary storage of instructions and data
  • hold information being executed by the processor
  • volatile
  • faster than the hard disk
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what happens when a computer runs out of RAM

A

instructions that are not being used are transferred to a space on the hard disk
- known as virtual memory

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

what happens when you turn your computer on

A
  • first it gets its initial instructions from the bootstrap contained on the ROM
  • once this is complete instructions from the hard drive can be loaded into main memory (RAM)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

where are instructions and data stored when you shut down your computer

A

on the hard drive as it in non-volatile, has a lot of capacity and also read + write

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

why is secondary storage needed

A
  • storage of programs and data when the power is turned off
  • semi-permanent storage of data that can change
  • backup of data files
  • archive of data files
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what are the 3 common types of storage devices

A
  • magnetic
  • optical
  • solid state
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

what are optical storage devices used for

A

to store music and images (for example movies)

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

how do optical storage devices work

A

by shining a laser at the media and processing the reflection from the media

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

what are the different types of optical storage devices

A
  • CD-R
  • CD-RW
  • DVD-R
  • DVD-RW
  • Blu-Ray
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

what are the advantages of optical storage devices

A
  • cheap
  • light weight
  • portable
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

what are the disadvantages of optical storage devices

A
  • slow access times

- prone to scratches

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

what are the advantages of magnetic storage devices

A
  • cheap

- large capacity

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

what are the disadvantages of magnetic storage devices

A
  • slow access time
  • fragile
  • has moving parts
  • perform better when defragmented
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

what are solid state drives

A

a piece of flash memory which operates without noise and are beginning to replace hard disks

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

how do solids-state drives work

A

they work by a flow of electricity forcing electrons into floating gates between two oxide layers

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

what are the advantages of solid-state drives

A
  • durable
  • fast access time
  • no moving parts
  • low power
  • no need to defragment
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

what are the disadvantages to solid-state drives

A
  • quite expensive

- limited number of read/write cycles

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

what are the requirements when deciding on which device to use given an application

A
  • capacity
  • speed
  • portability
  • durability
  • reliability
  • cost
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

when is optical storage suitable

A
  • suitable for read only data distribution

- suitable for small capacity situations

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

when is magnetic storage suitable

A
  • suitable when very high data capacity is required
  • suitable for fast access to data
  • suitable for low cost situations
  • suitable for cloud storage on server farms
25
when is solid state storage suitable
- suitable for low power, small embedded systems - suitable for rugged applications - suitable for small to medium data capacity requirements - suitable for silent operations - suitable for very fast access to data - suitable for situations where the devices need to be small and lightweight
26
how can you calculated the size of a text file
bits per character x number of characters
27
how can you calculate the size of a sound file
sample rate x duration x bit depth
28
how do you calculated the size of an image file
colour depth x image height x image width
29
how many bits of storage does a character on the standard ASCII set take
7
30
what is a nibble
4 bits
31
what is a byte
8 bits
32
what is a kilobyte
1024 bytes | roughly 1000
33
why do we use binary
- easier to manufacture - therefore cheaper - more reliable
34
what is hexadecimal
a base-16 number system through numbers 0-15 | eg. 16 would be 1-0
35
how are the numbers 10-15 represented in hexadecimal
by the letters A-F
36
what is MSB
most significant bit (128 in an 8-bit binary)
37
what is LSB
least significant bit (1 in binary)
38
what are the steps of converting between deanery and hexadecimal
- write in out in binary first - split the binary into 4 bits on a side - now you can add the binary integers and write it in hexadecimal
39
how would you convert 12 into a hexadecimal
12 = 00001100 = 0000 1100 = 0 + C = 0-C or just C
40
what are the rules of adding binary
0 + 0 = 0 0 + 1 = 1 1 + 1 = 10 1 + 1 + 1 = 11
41
what is a binary shift
when you move all the numbers either to the left or the right
42
what is a character set
a defined list of characters recognised by the computer hardware and software, with each character being represented by a single number
43
what does ASCII stand for
American Standard Code for Information Interchange
44
how many bits are there in the ASCII character set
7, therefore there are 128 different combinations
45
what is unicode
a character set that has millions of international and multilingual characters and symbols
46
how bits is the unicode character set
its a 24 bit character set
47
what are the two ways of storing images in binary
- bitmap | - vector
48
what is a bitmap
when an image is made up of different coloured squares with each square having a binary value
49
what is a vector
when the mathematics to draw the image are stored instead
50
what is metadata
additional data stored with the image to define the width, height, colour depth and colour palette
51
what is the sample rate
how often per second we are sampling the original analogue sound
52
what is bit depth
amount of detail we are capturing with each sample
53
how can we improve the quality of the sound
- greater bit depth - greater number of samples per second however this also increases the file size
54
why do we use compression
- files take up less space - maximise the amount you can store on a device - smaller files are quicker to download and transferred
55
what is lossy compression
when some data is removed and discarded to reduce the overall amount of data and size of the file eg. reducing the colour depth
56
what is lossless compression
when the file size is reduced without the loss of data however this doesn't usually achieve the same file size reduction as lossy compression
57
when should you use lossy compression
- images - sound - videos
58
when should you use lossless compression
- documents | - executable files