1.2 Memory and storage Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Define RAM

A

Random Access Memory is the main memory for the computer. It can be read and written to. RAM is volatile. RAM stores data, files and programs currently in use. Directly accessed by the processor.

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

Define ROM

A

Read Only Memory is non-volatile. ROM comes on a small factory made chip Built into the motherboard. It stores the instructions needed to boot (BIOS).

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

Define volatile

A

Volatile memory is temporary memory. It requires power to retain its data. Non-volatile is permanent memory; it keeps data even when the power is off.

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

Define virtual memory

A

When RAM is full, the operating system moves data from RAM to a location on secondary storage called virtual memory. The data is swapped back to RAM if needed. Virtual memory is simply an area of secondary storage that is used like RAM. It is temporary storage located on the hard disk

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

Define primary storage

A

Primary storage refers to the memory that is directly accessed by the CPU e.g. ROM, RAM, cache, registers.

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

Define secondary storage

A

Secondary storage is non-volatile. It is where all data (the operating system, applications and user files) are stored when not in use.

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

Define solid state storage

A

Solid-state drives (SSDs) are storage devices with no moving parts. SSDs have fast read/ write speeds. E.g. SSD internal/external drive, USB stick, SD card.

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

Define optical storage

A

Optical storage includes CDs, DVDs and Blu-ray. Optical Storage is very cheap per GB and is very portable.

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

Define magnetic storage

A

Magnetic storage includes hard drives and magnetic tape. Both of these have a large storage capacity and have a low cost per GB.

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

Define capacity

A

The amount of data that can be stored on the device.

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

Define reliability

A

The shelflife of the media. How long it will retain data so that it can be accessed reliably, and without error in the format in which it was originally saved.

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

Define speed

A

How quickly can the data be accessed from or written to the media.

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

Define portability

A

Can the media be easily moved about? This depends on both the size and weight of the media.

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

Define cost

A

How expensive the media is in terms of cost per gigabyte of storage.

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

Define durability

A

How resistant the media is to damage; whether it is rugged enough to survive knocks, scratches, etc.

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

Define bit

A

A single binary digit (one or zero).

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

Define nibble

A

Four bits or half a byte.

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

Define byte

A

Eight bits. A byte is enough to hold one typed character, e.g. B.

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

Define kilobyte

A

1000 bytes. About two pages of text.

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

Define Megabyte

A

1000 kB. One minute of MP3 audio equals 1MB. A high-quality digital image equals 2MB.

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

Define gigabyte

A

1000 MB. A DVD movie equals 4 to 8 GB.

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

Define terabyte

A

1000 GB. 1TB equals 250,000 photos. 1TB equals 250 films.

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

Define petabyte

A

1000 TB. 1PB equals 11,000 movies. One PB equals storing 4000 photos per day over an entire lifetime.

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

Define denary

A

In our standard number system, we have 10 digits: 0 1 2 3 4 5 6 7 8 9 This is called denary, decimal or base 10.

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

Define binary

A

Binary only uses two different digits zero and one. Computers use this system as computers are made up of switches which can be on or off.

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

Define overflow

A

During binary arithmetic, you could get a result that requires more bits than the CPU is expecting – this is called overflow.

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

Define binary shift

A

A binary shift moves every bit in a binary number left or right a certain number of places. Gaps at the beginning or end of a number are filled with zeros.

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

Define hexadecimal

A

Hexadecimal (or base 16) uses 16 different digits: 0 1 2 3 4 5 6 7 8 9 A B C D E F. Large numbers can be written, simply using hex instead of binary.

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

Define alphanumeric characters

A

Alphanumeric characters are used to make words and strings. They include uppercase and lowercase letters, the digit 0 to 9, and symbols like: ? £ and +.

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

Define character set

A

Character sets of collections of characters that are computer recognises from their binary representation.

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

Define ASCII/ Extended ASCII

A

ASCII is the most commonly used character set in the English-speaking world. ASCII uses seven bits whereas extended ASCII uses eight bits. 2 to the power of seven equals 128, 2 to the power of eight equals 256.

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

Define Unicode

A

Unicode uses 16-bit. It aims to cover every possible character or symbol in all major languages. With 16 bits we can have: 2 to the power of 16 equals 65,536 different characters.

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

Define pixel

A

Pixel is the smallest identifiable area of an image. Each pixel has a single colour and is given a binary value which represents that colour.

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

Colour depth

A

Colour depth is the number of pets used for each pixel. E.g. two bits = four colours, three bits = eight colours, four bits = 16 colours.

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

Define resolution

A

Resolution is the number of pixels in the image. It is often given as width times height.

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

Define metadata

A

Meta data is the information stored in an image file about the picture. E.g. file format, height, width, colour depth, resolution.

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

Define analogue

A

Sound is recorded by microphone as an analogue signal. Analogue signals are pieces of continually changing data.

38
Q

Define digital

A

Analogue signals need to be converted into digital data so that computers can read in stores and files.

39
Q

Define hertz

A

Frequency is measured in hertz. A frequency of 1Hertz means that something happens once every second.

40
Q

Define sound sampling

A

The process of converting an analogue signal into a digital signal is called sound sampling. The amplitude of a wave is sampled at regular intervals.

41
Q

Define sample rate/ sampling frequency

A

This is how many samples you are taking a second. It is measured in Hz.

A common sample rate is 44,100 samples per second, which is 44,100 Hz or 44.1 kHz.

42
Q

Define bit depth

A

Bit depth is the number of bits available for each sample. E.g. CD quality sound uses 16 bits per sample 2 to the power of 16 equals 65,536 values. DVDs use 24 bits 2 to the power of 24 equals 16 million.

43
Q

Define file size (sound)

A

File size (in bits) = sample rate (in Hz) x bit depth x duration (in seconds).

44
Q

Define data compression

A

Data compression is the process where we make files smaller. We try to make the compressed file as close to the original as possible.

45
Q

Define lossy compression

A

Lossy compression removes data from the file. This reduces the number of bits in the file so the file size is lower. The file cannot be returned to the original.

46
Q

Define lossless compression

A

Lossless compression uses an algorithm to find groups of repeating data. When data is uncompressed, it is restored exactly as it was in the original.

47
Q

What is optical storage?

A

A laser light creates marks in a pattern on the disk. A laser light detects where the marks are and then translates them into a readable format.

48
Q

What is magnetic storage?

A

Read/ write move across the medium and change how magnetised that part of the medium is. E.g one level of magnetism will be a 1, a second will be 0.

49
Q

What is solid state storage?

A

This is made of microchips (switches). The state of the switches will determine if a 1 or 0 is stored.

50
Q

What are examples of magnetic storage?

A

Hard disk drive, Magnetic tape

51
Q

What are examples of optical storage?

A

Blu-Ray, DVD-ROM, CD-ROM

52
Q

What are examples of solid state storage devices?

A

Solid State Drive, SD Card, USB memory stick

53
Q

Define capacity

A

How much data can it store?

54
Q

Define speed

A

How fast can it access the data?

55
Q

Define portability

A

How easy is it to move it from one place to another?

56
Q

Define durability

A

How well does it last drops etc?

57
Q

Define reliability

A

How consistently does it perform?

58
Q

Define cost

A

How much does it cost per KB, MB or GB

59
Q

What are the characteristics of optical storage?

A

Low capacity, low speed, relatively portable, relatively durable, not very reliable, relatively cheap

60
Q

What are the characteristics of magnetic storage?

A

High capacity, relatively fast, not very portable, not very durable, fairly reliable, very cheap

61
Q

What are characteristics of solid state storage?

A

Relatively high capacity, very fast, very portable, very durable, very reliable, expensive

62
Q

What is a bit?

A

A bit is a binary digit, 0 or 1, which is the smallest unit of data a computer can store

63
Q

What are common file sizes?

A

Keyboard characters take up 1B
Document file sizes are in kB
Storage space on a CD in MB
3,000 books or 1/4 of a movie or drive size is 1GB
300 hours of video or 1,000 copies of the Encyclopaedia in 1TB
2,000 years worth of song, 315 million photos in 1PB

64
Q

How do you calculate size of text files?

A

1 byte per character + 10% for any overheads

65
Q

How do you calculate file size of an image?

A

Number of pixels * number of bytes per pixel
+10% for overheads

66
Q

How do you calculate sound file size?

A

Bytes per sample * samples per second * channels * duration

67
Q

How many characters can ASCII store?

A

256

68
Q

How many characters can Unicode store?

A

65,536

69
Q

What is compression?

A

Data compression is the process of encoding data so that it needs fewer bits or bytes to represent it. Compression is useful because it helps reduce the consumption of expensive resources such as hard disk space or transmission bandwidth over the internet. On the downside, compressed data must be decompressed to be used and this extra processing may be detrimental to some applications.

70
Q

What is lossless compression?

A

Lossless compression can compress data files without losing any of the information. It is reversible and the original data can be reconstructed. However not all files can use lossless compression.

71
Q

What is lossy compression?

A

Loses some information when compressed, some loss is acceptable e.g sound quality. Can produce smaller files. Not good for text files where 100% accuracy is required.

72
Q

Why is hex useful?

A

Binary produces long strings so hex is a lot shorter and easier to work with. Hex is less susceptible to error and hex can easily be converted to or from binary.

73
Q

What is a bitmap image?

A

The page is divided into an invisible grid, and each pixel is assigned a colour.

74
Q

What is a vector image?

A

Drawn by following a set of mathematical instructions and can be scaled infinitely without any loss in quality. Every line and shape has a value.

75
Q

What is metadata?

A

Certain data must be defined for a bitmap image e.g height and width. Metadata describes the structure of the data file and is usually located right at the start of the file.

76
Q

What is resolution?

A

The number of pixels used per specific area.

77
Q

What is colour depth?

A

The number of pixels that will be used to store the colour for each pixel in a grid. 2 but gives 2 to the power of 2 (4) colours. The greater the colour depth the more data needs to be stored and the larger the file size but the more detailed the colour.

78
Q

How many bits needed for real life colour?

A

15 or 16 bits. 24 bit true colour gives over 16.7 million colours

79
Q

What is digital audio?

A

Sound exists as waves, but computers only understand binary values. Sound created on a computer exist as digital information that is encoded as audio files. Digital sound can be broken down into thousands of samples per second.
The quality of the samples depends on sample frequency, sample size and bit depth.

80
Q

What is sample rate?

A

The number of audio samples captured every second

81
Q

What is sample size or bit depth?

A

Number of bits available to store each sample

82
Q

What is sample rate measured in?

A

Hertz

83
Q

What does each sample represent?

A

The amplitude of the digital signal at a specific point. This is stored as an integer or a float number and encoded as binary.

84
Q

How do you calculate bit rate?

A

Bit rate is how many bits are processed per second.
Bit rate = frequency x bit depth x channels

85
Q

Odd vs even binary numbers

A

Odd binary numbers will end in 1, even binary numbers will end in 0

86
Q

What is 0+1 in binary?

A

1

87
Q

What is 0+0 in binary?

A

0

88
Q

What is 1 + 1 in binary?

A

0 carry 1

89
Q

What is 1+1+1 in binary?

A

1 carry 1

90
Q

Define EEPROM

A

Electronically Erasable Programmable Read Only Memory
Instructions can be electronically erased and replaced