Back to 课程

Computer Science GCES OCR

0% Complete
0/0 Steps
  1. Cpu Architecture Performance And Embedded Systems Ocr
    5 主题
  2. Primary And Secondary Storage Ocr
    6 主题
  3. Data Storage And Compression Ocr
    12 主题
  4. Networks And Topologies Ocr
    6 主题
  5. Wired And Wireless Networks Protocols And Layers Ocr
    6 主题
  6. Identifying And Preventing Threats To Computer Systems And Networks Ocr
    2 主题
  7. Operating Systems And Utility Software Ocr
    2 主题
  8. Ethical Legal Cultural And Environmental Impact Ocr
    2 主题
  9. Computational Thinking Searching And Sorting Algorithms Ocr
    3 主题
  10. Designing Creating And Refining Algorithms Ocr
    5 主题
  11. Programming Fundamentals And Data Types Ocr
    5 主题
  12. Additional Programming Techniques Ocr
    7 主题
  13. Defensive Design And Testing Ocr
    6 主题
  14. Boolean Logic Diagrams Ocr
    2 主题
  15. Programming Languages And Integrated Development Environments Ides Ocr
    3 主题
  16. The Exam Papers Ocr
    2 主题
  17. Structuring Your Responses Ocr
    3 主题
课 Progress
0% Complete

Exam code:J277

Data Capacity & Calculating Capacity Requirements

What is data capacity?

  • Data capacity is the maximum amount of information that a storage device can hold

  • If you know the capacity of a storage device, you can calculate how much of different data types can be stored

  • Examples of data that could be stored include text, images and sound files

How do you calculate capacity requirements?

  • To calculate capacity requirements you need to:

    • Know the capacity of the storage device

    • Calculate the size of a file (formula)

    • Ensure the same units of data storage are used for capacity and size of the file, else convert between units to get them to be the same

    • Divide the capacity by size of the file being stored

capacities
  • The image above shows common capacities of storage devices such as hard drives (HDD), USB flash drives, solid state drives (SSD) and optical disks (CD)

Calculating file sizes

Text Files

(Bytes per character) x (Number of characters)

Size of text file = 

 

 

Bytes per character

1

Based on Extended ASCII character set being used (8 bits)

Number of characters

2000

Including spaces!

1 x 2000

=

2000 bytes = 2 KB

Image Files

(Resolution) x (Colour Depth)

Size of image file = 

 

 

Resolution

500 x 500

Resolution = Width x Height

Colour Depth

24 bits

24 bits = 3 bytes

(500×500) x 24

(500×500) x 3

=

=

6,000,000 bits

750,000 bytes = 75 KB

Sound Files

(Sample Rate) x (Duration in seconds) (Bit Depth)

Size of sound file = 

 

 

Sample Rate

10

Samples per second

Duration

30

Seconds

Bit Depth

4

Number of bits stored per sample

10 x 30 x 4

=

1200 bits = 150 bytes

Worked Example

Lyla is a social media influencer. She creates images to be shared on her social media accounts.

Each image has a fixed size of 3 MB. She is storing the images on a USB flash drive which has a capacity of 6 GB.
Calculate how many images can be saved on the storage device. Show your working [2]

How to answer this question:

  • Convert 6 GB to MB

  • Divide the capacity in MB by the files size in MB

Answer

  • 6 GB = 6 * 1000 = 6000 MB

  • 6000 / 3 = 2000 images

Responses

您的邮箱地址不会被公开。 必填项已用 * 标注