1.2 Flashcards

(36 cards)

1
Q

What does volatile mean?

A
  • Data in memory is lost when power is turned off
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the differences between RAM and ROM?

A

RAM:
- Volatile
- Stores currently running instructions and data temporarily
- Data can be changed
- Big compared to
ROM:
- Non-volatile
- Read only (data cannot be changed)
- Stores boot-up instructions (bootstrap)
- Small compared to

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

Give some examples of primary storage

A
  • RAM
  • ROM
  • Registers
  • Cache
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is primary storage?

A
  • Temporarily holds data and instructions which CPU needs access to while computer is running
  • Can access data faster than secondary
  • Volatile
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is virtual memory?

A
  • Part of hard disk is used as an extension when RAM is nearly full
  • Allows more applications to be open at once
  • Transferred out to VM from RAM if not currently being executed
  • Transferred back to RAM from VM when needed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is secondary storage?

A
  • Needed since ROM is read only and RAM is volatile
  • Long term/permanent storage of programs and data when power is turned off
  • Backup of data files
  • Archive of data files
  • Read and write
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

State the three types of secondary storage

A
  • Optical (CDs/DVDs/Blu-Ray)
  • Magnetic (Hard disk drive)
  • Solid State (SSD, Memory sticks, Flash memory cards)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is optical storage?

A
  • Used for music, films and archive files
  • Low storage capacity compared to
  • Slow access
  • Thin, lightweight, portable
  • Prone to scratches
  • Cheap
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is magnetic storage?

A
  • Used to store operating system and application
  • High storage capacity
  • Quick access
  • Moving parts which eventually fail
  • Low portability
  • Medium cost
  • Reliable but not durable
  • Perform better if defragmented
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is solid state storage?

A
  • Used for digital cameras and smartphones
  • Medium storage capacity
  • Very quick access
  • No moving parts, reliable and durable
  • Low power
  • No noise
  • No need to defragment
  • Limited R/W cycles
  • Relatively expensive
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the units of storage from smallest to largest?

A
  • Bit (b): binary digit (0 or 1)
  • Nibble: 4 bits/half a byte
  • Byte (B): 8 bits, can represent one ASCII character
  • Kilobyte (KB): 1 thousand
  • Megabyte (MB): 1 million
  • Gigabyte (GB): 1 billion
  • Terabyte (TB): 1 million million
  • Petabyte (PB): 1 thousand million million
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Mnemonic for data units

A

Burger King Makes Great Toast, Perfect

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

What are the characteristics that should be considered when choosing secondary storage?

A
  • Capacity
  • Speed
  • Portability
  • Durability
  • Reliability
  • Cost
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Why do computers use binary?

A
  • Ideal for representing two states (on or off), simple for computers to process data efficiently
  • Operate with switches that have only two states
  • RAM: charge or no charge
  • CD/DVD: pit or land
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

With two states, electronic components are:

A
  • Easier to manufacture
  • Cheaper
  • More reliable
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How do you calculate text files?

A

Bits per Character x Number of Chararacters

17
Q

How do you calculate sound files?

A

Sample Rate x Duration (s) x Bit Depth

18
Q

How do you calculate image files?

A

Colour Depth x Image Height (px) x Image Width (px) + 10% for metadata

19
Q

What is a character set?

A
  • Defined list of characters recognised by the computer
  • Each character is represented by a unique binary number
20
Q

ASCII, Extended ASCII, UNICODE

A
  • ASCII: 2^7 (7 bits)
  • Extended ASCII: 2^8 (8 bits)
  • UNICODE: 2^24 (24 bits)
21
Q

What can images stored in binary be?

A
  • Bitmaps: constructed from coloured squares (pixels)
  • Vectors: created using mathematical equations to draw shapes
22
Q

What are pixels stored as?

23
Q

How can the number of colours be calculated?

A
  • 2^n
  • n is the number of bits per pixel
24
Q

What is colour depth?

A
  • Number of bits used to indicate the colour of a pixel
25
What results in a larger file size of an image?
- Greater colour depth - Greater resolution (width x height)
26
What is resolution?
- Number of pixels contained on a display monitor - Number of pixels on x axis times number of pixels on y axis
27
What is metadata? Give examples
Additional data about the file saved - Type of file - Data of creation - Creator of data - File size - Dimensions - Image resolution - Colour depth
28
What is the Analogue-to-Digital Converter (ADC)?
- Sound sampling device - Converts real-world analogue signals (sound waves) to a digital representation
29
What is bit depth?
- Number of bits needed to store each sample - Higher number of bits = greater quality of sound = larger file size
30
What is sample rate?
- Frequency the sound wave is measured per second - Higher samples per second = higher quality = larger file size
31
What is a sample?
- Measure of amplitude at a point in time
32
Why is compression used?
- Reduces size of file - Takes up less space - Maximises amount of data that can be stored on a device - Quicker when transferred over the Internet
33
What is lossy compression?
- Data is lost and cannot be recovered - Greatly reduces file size - Reduces quality of image/sound - Suitable for images, sound and video
34
What is lossless compression?
- No data is lost, encoded differently - Can be reverted into original format - Less effective in reducing file size - Suitable for documents and executable files (can be used in all though)
35
What is arithmetic overflow?
- Calculation producing an answer that has more bits than the CPU was expecting (insufficient bits to store) - Due to final carry bit - Leads to an inaccuracy
36
How to convert hexadecimal to denary?
- Digit 1 * 16 + Digit 2