Skip to content
KALANBLON
Show contents

Chapter 7 of 7 · 10 min

Quiz: count and show

Filtering, counting, scaling and presenting honestly: last quiz of this course. You need 70% correct answers to pass it.

Quiz

7 questions · pass mark: 70%

  1. 1.What does this code do? big = [] ; for s in sales: if s["price"] > 100000: big.append(s)

    One answer

  2. 2.Complete to count the sales of each brand, starting from 0 for a new brand.

    Complete the code

    counters[brand] = counters.____(brand, 0) + 1
  3. 3.The data contains “Tecno”, “tecno” and “TECNO”. How many categories will a dictionary of counters create without cleaning?

    One answer

  4. 4.What does "█" * 4 give?

    One answer

  5. 5.The largest value is 200 and the longest bar is 40 cells. How many cells for a value of 50?

    One answer

  6. 6.A bar chart starts at 90 instead of 0. What is the problem?

    One answer

  7. 7.Rice is sold 12 times at 4,500 CFA francs, phone credit 18 times at 1,000 CFA francs. Which statements are correct? (several answers)

    Several answers possible

Your progress is saved on this device. Create a free account to keep your progress on all your devices.