Question: 1. Create a Python script that computes the number of songs that can be stored on a flash drive in a digital music player. Background

1. Create a Python script that computes the number of songs that can be stored on a flash drive in a digital music player.

Background information: >the default bit sampling rate for ripping a CD into the iTunes AAC music format is 256 kbps for data sampling purposes, 'k' is 10^3 the 'b' stands for bit, the fundamental digital storage unit 'kbps' then is 1000 bits / second of encoded music >the average song lasts 4 minutes >flash drives range in size from from 2GB to 160GB for storage purposes, 'G' is 2^30 the 'B' stands for byte, a digital storage unit consisting of 8 bits

Compute: Using the above data, create a Python script that reports the average number of songs an 8GB flash drive can hold.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!