memory and storage Flashcards

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
Q

when is solid state storage suitable

A
  • 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
Q

how can you calculated the size of a text file

A

bits per character x number of characters

27
Q

how can you calculate the size of a sound file

A

sample rate x duration x bit depth

28
Q

how do you calculated the size of an image file

A

colour depth x image height x image width

29
Q

how many bits of storage does a character on the standard ASCII set take

A

7

30
Q

what is a nibble

A

4 bits

31
Q

what is a byte

A

8 bits

32
Q

what is a kilobyte

A

1024 bytes

roughly 1000

33
Q

why do we use binary

A
  • easier to manufacture
  • therefore cheaper
  • more reliable
34
Q

what is hexadecimal

A

a base-16 number system through numbers 0-15

eg. 16 would be 1-0

35
Q

how are the numbers 10-15 represented in hexadecimal

A

by the letters A-F

36
Q

what is MSB

A

most significant bit (128 in an 8-bit binary)

37
Q

what is LSB

A

least significant bit (1 in binary)

38
Q

what are the steps of converting between deanery and hexadecimal

A
  • 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
Q

how would you convert 12 into a hexadecimal

A

12 =
00001100 =
0000 1100 =
0 + C = 0-C or just C

40
Q

what are the rules of adding binary

A

0 + 0 = 0
0 + 1 = 1
1 + 1 = 10
1 + 1 + 1 = 11

41
Q

what is a binary shift

A

when you move all the numbers either to the left or the right

42
Q

what is a character set

A

a defined list of characters recognised by the computer hardware and software, with each character being represented by a single number

43
Q

what does ASCII stand for

A

American Standard Code for Information Interchange

44
Q

how many bits are there in the ASCII character set

A

7, therefore there are 128 different combinations

45
Q

what is unicode

A

a character set that has millions of international and multilingual characters and symbols

46
Q

how bits is the unicode character set

A

its a 24 bit character set

47
Q

what are the two ways of storing images in binary

A
  • bitmap

- vector

48
Q

what is a bitmap

A

when an image is made up of different coloured squares with each square having a binary value

49
Q

what is a vector

A

when the mathematics to draw the image are stored instead

50
Q

what is metadata

A

additional data stored with the image to define the width, height, colour depth and colour palette

51
Q

what is the sample rate

A

how often per second we are sampling the original analogue sound

52
Q

what is bit depth

A

amount of detail we are capturing with each sample

53
Q

how can we improve the quality of the sound

A
  • greater bit depth
  • greater number of samples per second
    however this also increases the file size
54
Q

why do we use compression

A
  • files take up less space
  • maximise the amount you can store on a device
  • smaller files are quicker to download and transferred
55
Q

what is lossy compression

A

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
Q

what is lossless compression

A

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
Q

when should you use lossy compression

A
  • images
  • sound
  • videos
58
Q

when should you use lossless compression

A
  • documents

- executable files