1.2 – Memory and storage Flashcards

(48 cards)

1
Q

What is the purpose of primary storage?

A

Primary storage is the computer’s workspace for actively running programs providing fast access to data and instructions currently in use by the CPU without it computers would be slower as CPU would need to constantly retrieve data from slower secondary storage

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

What is RAM and its function?

A

Random Access Memory holds data and instructions the computer is currently working with such as the operating system running applications and open documents - RAM is volatile losing its contents when power is off

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

What is ROM and its function?

A

Read-Only Memory stores essential firmware for booting and operating the computer - ROM is non-volatile and cannot be written to during normal operation

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

What is virtual memory?

A

Virtual memory is part of secondary storage used as extra RAM when physical RAM is full - operating system swaps data not currently needed from RAM to virtual memory allowing more programs to run

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

Why is secondary storage needed?

A

Secondary storage provides non-volatile long-term data storage so that data/files are retained when the computer is switched off

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

Name three types of secondary storage.

A

Solid-state - Optical - Magnetic

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

What is solid-state storage and its advantages?

A

Uses electrical circuits to persistently store data with no moving parts providing high read/write speeds suitable for portable devices

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

What is optical storage and its uses?

A

Optical disks like CDs DVDs Blu-rays store data read by a laser - cheap per disk but low capacity and slower making them unsuitable for large-scale storage

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

What is magnetic storage and its uses?

A

Uses tiny magnetised regions to store data often with moving parts - cheap and suitable for large backups but not portable

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

Compare hard-disk drives

A

solid-state drives and optical disks for capacity

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

Why do computers use binary?

A

Computers use binary because it has two states 0 and 1 mapping directly to electronic components like transistors making it simple to design hardware

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

What is a bit nibble and byte?

A

Bit is 1 binary digit - nibble is 4 bits - byte is 8 bits

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

What are KB MB GB TB PB?

A

Kilobyte 1000 bytes - Megabyte 1000 KB - Gigabyte 1000 MB - Terabyte 1000 GB - Petabyte 1000 TB

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

How is the size of sound files calculated?

A

Sample rate × duration in seconds × bit depth

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

How is the size of image files calculated?

A

Colour depth × image height in pixels × image width in pixels

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

How is the size of text files calculated?

A

Bits per character × number of characters

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

What is decimal (base 10)?

A

Number system humans use counting with digits 0 to 9 each digit having place value based on powers of 10

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

What is binary (base 2)?

A

Number system with digits 0 and 1 each digit having place value based on powers of 2

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

What are the most significant and least significant bits?

A

Most significant bit is leftmost 1 with highest value - least significant bit is rightmost bit with lowest value

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

How do you convert binary to decimal?

A

Add together the place values for every binary 1 using powers of 2

21
Q

How do you convert decimal to binary?

A

Use place value headers starting from the highest power of 2 placing 1 if value ≤ number subtracting and continuing until number is 0

22
Q

What are the rules for binary addition?

A

0+0=0 - 1+0=1 - 1+1=0 carry 1 - overflow error occurs if result exceeds available bits

23
Q

What is hexadecimal (base 16)?

A

Uses digits 0-9 and letters A-F representing decimal 0-15 each hex digit represents 4 bits

24
Q

What is a binary shift and why is it used?

A

Moving bits left or right losing bits at end zeros added at opposite end - left shift multiplies by 2 for each place - right shift divides by 2 for each place - used in graphics bitmasking compression encryption

25
What is character encoding?
Process of converting letters numbers symbols into binary codes for computer processing
26
What is ASCII and Unicode?
ASCII uses 8 bits per character for standard characters - Unicode uses 8 to 32 bits allowing more characters from other languages and emojis
27
How do you calculate text file size with character encoding?
Bits per character × number of characters
28
What is a digital image pixel?
Smallest point in an image storing a colour value in binary
29
What is colour depth?
Number of bits assigned to a pixel determining how many colours it can represent
30
What is image resolution?
Number of pixels in an image found by multiplying image width by height
31
What is image metadata?
Data about an image such as file format resolution colour depth and device used
32
How do you calculate image file size?
Colour depth × image height × image width
33
How do resolution and colour depth affect image quality and file size?
Higher resolution and higher colour depth increase quality and file size
34
What is analogue and digital sound?
Analogue sound is continuous wave - digital sound samples the wave at points stored as binary
35
What is sampling rate and bit depth in sound?
Sampling rate is number of samples per second in hertz - bit depth is number of bits used per sample
36
How do you calculate sound file size?
Sample rate × duration × bit depth and divide by 8 for bytes
37
How do sampling rate and bit depth affect sound quality and file size?
Higher sampling rate and bit depth increase playback quality and file size
38
What is data compression?
Process of reducing file size without losing information or with minimal loss to save storage space and speed up transmission
39
What is lossy compression?
Reduces file size losing some information quality slightly reduced irreversible used for images audio video
40
What is lossless compression?
Reduces file size without losing information reversible uses algorithms to compress repeated patterns smaller reduction compared to lossy
41
How do you convert binary to hexadecimal?
Divide by 16. The remainder is second digit. e.g 42 / 16 = 2r10 = 2A
42
What is a nibble?
A nibble is 4 binary bits or half a byte
43
After splitting binary into nibbles
what is the next step to convert to hex?
44
How do you convert a decimal number to hexadecimal?
Convert the decimal number to its corresponding hex digit (0-9 or A-F)
45
How do you form the final hexadecimal number after converting each nibble?
Concatenate all hexadecimal digits from each nibble to get the final hex representation
46
Example: Convert 10110010 to hexadecimal
47
How do you convert hexadecimal to binary?
Convert each hexadecimal digit to decimal - Convert decimal to 4-bit binary nibble - Combine all nibbles to form full binary number
48
Example: Convert B2 to binary