# SD212 HW 06

## [name] Type your name on the next line


## [Q1]
> **Sign up for the info challenge.**

> As we mentioned in class, every SD212 student will be participating
> in the
> [UMD/USNA Info Challenge](https://ischool.umd.edu/about/info-challenge-initiative/challenge/),
> which is a (hopefully) fun and useful way to connect our data
> science skills to real-world datasets and to work with external
> mentors.

> Note that you will all be *assigned to teams* within
> SD212, after signing up.

> [Fill in the Google form to sign up if you haven't already](https://docs.google.com/forms/d/e/1FAIpQLSdCKh8esuEMmTJYm_E95iwquS9_pX5zi3JHtr9nfdjG3ZjaOw/viewform).

> Answer "yes" to this problem to indicate that you've completed and
> submitted that form.



## [Q2]
> Read [TLCL Chapter 6 "Redirection"](https://learning.oreilly.com/library/view/the-linux-command/9781492071235/xhtml/ch06.xhtml)

> Answer "yes" to indicate that you did the reading.



## [Q3]
> What is "standard error"?

> (a) An error message indicating a program does not work properly
> (b) A special location (default goes to the screen) where status
>     messages are printed
> (c) A file in the directory `/var/log` where a program's error
>     messages are stored
> (d) A terminal that is used for debugging when a program crashes



## [Q4]
> Assume `congress.txt` is a file that contains information on elected
> representatives like

>     firstname,lastname,state,party

> What would the following pipeline do?

>     cat congress.txt | cut -d',' -f3 | sort | uniq | wc -l

> (a) Get the number of different states in the file
> (b) Get the number of felines that have been elected to office
> (c) Print out all party affiliations in sorted order
> (d) Show how many members of each party are represented



