Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1sample = 142 | Avolume_at_0_01s = 57 | |
| 2samples = [0, 40, 90, 40, 0] | Btimes = [0.00, 0.01, 0.02, 0.03] | |
| 3A sample is one volume measurement at one moment, stored as a whole number. | CThe time steps are not equal because the gap jumps from 0.01 to 0.04 between samples. Samples must be taken at equal time steps. | |
| 4Samples are taken at equal time steps, so each dot on the waveform is the same time apart. | DA list of samples taken at equal time steps, each one a dot on the waveform. | |
| 5sample = 12.5, 80, 33 | EOne sample is a single measurement of the sound's volume at one moment, stored as one whole number. | |
| 6times = [0.00, 0.01, 0.05, 0.06] | FA sample is only ONE measurement stored as one whole number. This line tries to store three values, one of them a decimal. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
sample — One measurement of a sound wave's volume at a single moment in time, stored as one whole number. Many samples taken at equal time steps are dots on the waveform.sample = round(6.7)samples = [2, 5, 9, 6, 3]
print(len(samples))for i in range(4):
t = i * 0.25
print(t)samples = [2, 5, 9, 6, 3]
print(samples[0])samples = [2, 5, 9, 6, 3]
for s in samples:
dot(s)