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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started