---
# System prepended metadata

title: The Assignment

---

# The Assignment

# Part 1: Even more ads!

<div class="alert alert-info part" data-startline="75" data-endline="79" data-position="5336" data-size="184">
<p data-position="5344" data-size="0"><span data-position="5344" data-size="15">Learning Goals:</span></p>
<ul>
<li class="" data-startline="68" data-endline="68" data-position="5092" data-size="0"><span data-position="5362" data-size="53">Practice writing functions that take tables as inputs</span></li>
<li class="" data-startline="69" data-endline="70" data-position="5181" data-size="0"><span data-position="5418" data-size="23">Practice testing tables</span></li>
<li class="" data-startline="77" data-endline="77" data-position="5362" data-size="0"><span data-position="5444" data-size="72">Work with library functions that create plots and charts of tabular data</span></li>
</ul>
</div>

## Part 1A: Multiple ads
*Note: Remember to use the [CS0111 `Table` documentation](https://hackmd.io/@cs111/table), not the official documentation. **If your code uses constructs named sieve or extend (without functions), for example, you are using the wrong version.***

In the last homework, we handled a growing collection of data by using a `Row` for a customer’s data. This week, we want to handle a larger number of customers themselves, by having a multi-row Table of customers as the input to `show-ad`.

Since there will be many customers, we’ll give each customer an ID number that we can use for reference. ID numbers are unique, but besides that, they can be any number.

The code in `hw4-helper.arr` contains some Tables and functions for various parts of the homework, but in this part we’ll use CUSTOMERS and show-ad.

