Multiple Choice Questions
Before completing the book’s Coder/Hacker chapter exercises, take this multiple-choice pre-test from the end of the chapter.
Next, visit the Coder and Hacker Chapter exercises page for more.
1: Which of the following is appropriate to graph a single categorical variable?
- Histogram
- Bar chart
- Boxplot
- Scatterplot
2: Which of the following is appropriate to graph a single continuous variable?
- Waffle chart
- Histogram
- Bar chart
- Pie chart
3: A mosaic plot is used when graphing
- the relationship between two continuous variables.
- the relationship between one continuous and one categorical variable.
- the relationship between two categorical variables.
- data that are not normally distributed by group.
4: Which of the following is not a recommended type of graph?
- Pie chart
- Bar chart
- Waffle chart
- Density plot
5: Density plots, histograms, and boxplots can all be used to
- examine frequencies in categories of a factor.
- examine the relationship between two categorical variables.
- determine whether two continuous variables are related.
- examine the distribution of a continuous variable.