Weekly App Usage Analysis
Use a 1D list and loops to total, find the max and min, and count high-usage days — without sum(), max() or min().
Four longer programming challenges on 1D arrays, totaling, max/min and counting. Each challenge is on its own page. Try it yourself, then press Show solution.
Use a 1D list and loops to total, find the max and min, and count high-usage days — without sum(), max() or min().
Loop through quiz scores to find the average, highest and lowest scores, and count how many students passed.
Open challenge 2Use two parallel lists — days and temperatures — to find the hottest and coldest days, the average temperature, and pleasant days.
Open challenge 3Use parallel arrays for weekdays and steps to total activity, find peak and lowest days, and count low-activity days.
Open challenge 4