AP Statistics Quiz: Representing A Categorical Variable With Graphs
20 questions · exam conditions
0:00
Representing A Categorical Variable With GraphsQuestion 1 of 20

A survey asked 300 office workers to state their preferred type of office plant. The responses were categorized as Flowering, Succulent, Foliage, and No Preference. If a bar chart is created to represent the data, what would the labels on the horizontal axis represent?

The number of office workers, from 0 to 300.
The percentages of workers in each category.
The categories of plant preference.
The different offices included in the survey.
← Back to quizzes

AP Statistics Quiz

AP Statistics Quiz: Representing A Categorical Variable With Graphs

Practice Representing A Categorical Variable With Graphs in AP Statistics with focused quiz questions that help you check what you know, review explanations, and build confidence with test-style prompts.

What this quiz covers

This quiz focuses on Representing A Categorical Variable With Graphs, giving you a quick way to practice the rules, question types, and explanations that matter most for AP Statistics.

How to use this quiz

Try each quiz question before looking at the correct answer. Use the explanations to review missed ideas, then come back to similar questions until the pattern feels familiar.

All questions

Question 1

A survey asked 300 office workers to state their preferred type of office plant. The responses were categorized as Flowering, Succulent, Foliage, and No Preference. If a bar chart is created to represent the data, what would the labels on the horizontal axis represent?

  1. The number of office workers, from 0 to 300.
  2. The percentages of workers in each category.
  3. The categories of plant preference. (correct answer)
  4. The different offices included in the survey.

Explanation: In a bar chart for a single categorical variable, the horizontal axis (or vertical axis, in a horizontal bar chart) is used to label the distinct categories of that variable. In this case, the categories are Flowering, Succulent, Foliage, and No Preference.

Question 2

A marketing firm surveyed 500 shoppers about their primary reason for choosing a particular grocery store. The reasons were categorized as Price, Convenience, Quality, and Service. Which of the following graphical displays is most appropriate for visualizing the distribution of these reasons?

  1. A bar chart, because the variable 'reason' is categorical and this graph displays the frequency for each category. (correct answer)
  2. A histogram, because it shows the shape of the distribution by grouping shopper responses into bins.
  3. A dotplot, as it can represent each of the 500 individual shopper responses as a separate point.
  4. A stem-and-leaf plot, because it is useful for showing the distribution of a variable with a small to moderate number of observations.

Explanation: A bar chart is the appropriate graphical display for a single categorical variable. The variable 'reason' has distinct categories (Price, Convenience, etc.), and a bar chart effectively shows the count or proportion in each category. Histograms, dotplots, and stem-and-leaf plots are used for quantitative data, not categorical data.

Question 3

A city official wants to display the sources of city tax revenue for the past year. The sources are Property Tax, Sales Tax, Income Tax, and Other Fees. Which of the following graphs would be best to emphasize each source's contribution to the total revenue?

  1. A pie chart, because it visually represents parts of a whole. (correct answer)
  2. A histogram, because tax revenue is a quantitative variable.
  3. A side-by-side bar chart, to compare each revenue source to the others.
  4. A dotplot, to show the distribution of the different revenue amounts.

Explanation: A pie chart is specifically designed to show how a whole amount is divided into parts. It is ideal for displaying the proportion of the total tax revenue that comes from each categorical source, thus emphasizing each source's contribution to the whole.

Question 4

To compare the favorite type of movie (Action, Comedy, Drama, Sci-Fi) for samples of high school students and middle school students, a segmented bar chart is created. If the sample sizes for the two groups are different, which type of scaling on the vertical axis is most appropriate for a fair comparison?

  1. Frequency (count), because it shows the raw number of students in each category.
  2. Relative frequency (percent), because it accounts for the different sample sizes. (correct answer)
  3. Cumulative frequency, because it shows the total number of students up to that category.
  4. Standardized score (z-score), because it adjusts for the mean and standard deviation.

Explanation: When comparing distributions of a categorical variable for two or more groups with different sample sizes, using relative frequencies (percentages) is essential. This standardizes the distributions, allowing for a fair comparison of the proportions in each category, regardless of the difference in the total number of individuals in each group.

Question 5

A sociologist wants to compare the distribution of educational attainment (e.g., high school, bachelor's degree, master's degree) for residents of two different cities. Which graphical display would be most effective for a direct comparison between the two cities?

  1. A single bar chart showing the combined educational attainment for both cities.
  2. Two separate pie charts, one for each city's educational attainment.
  3. A side-by-side bar chart showing the educational attainment categories for each city. (correct answer)
  4. A histogram of educational attainment, treating the categories as numerical values.

Explanation: A side-by-side bar chart is designed to compare the distribution of a categorical variable across two or more groups. It places the bars for each city next to each other for each category, allowing for easy comparison. A combined bar chart (A) would lose the city-to-city comparison. Two pie charts (B) make direct comparison of categories difficult. A histogram (D) is inappropriate for categorical data.

Question 6

A university dining hall recorded the entrée choice for a random sample of 180 lunches on a Tuesday (categorical variable). The bar chart shows counts: Pizza 46, Salad 39, Sandwich 51, Pasta 28, Stir-fry 16. Which statement is supported by the graph?

  1. In this sample, Sandwich was chosen more often than any other entrée. (correct answer)
  2. Exactly 51% of all students at the university prefer sandwiches.
  3. Stir-fry is the least preferred entrée among all university students, with certainty.
  4. Because Pasta has a count of 28, 28% of lunches at the dining hall are pasta every day.
  5. The graph shows that fewer than half of the sampled lunches were Pizza or Salad combined.

Explanation: Addressing the AP Statistics skill of representing categorical variables with graphs, this question requires interpreting bar charts from random samples while avoiding population overstatements. The chart details entrée counts for 180 lunches, with Sandwich at 51 having the tallest bar, showing it was chosen most often in this sample. Choice A supports this directly from the graph, contrasting with choice B's false exact 51% for all university students (51/180 ≈ 28.3%, and it's an inference error). Choice E distracts by claiming fewer than half were Pizza or Salad combined (46+39=85/180 ≈ 47.2%, which is less, but it's sample-specific, not the claim's wording). Mini-lesson: Use bar graphs to visualize categorical frequencies; identify modes by tallest bars, explain distractors like percentage miscalculations, and remember sample graphs describe the sample—population inferences need statistical tools like margins of error.

Question 7

A city transportation department recorded the primary commute mode for a convenience sample of 200 riders entering a downtown area during one morning (categorical variable). The bar chart shows counts: Car 96, Bus 54, Train 28, Bike 14, Walk 8. Which statement is supported by the graph?

  1. Car is the most common commute mode in this observed sample. (correct answer)
  2. Exactly 54% of all downtown commuters take the bus.
  3. Because Walk has a count of 8, 8% of the city's residents walk to work.
  4. The graph shows that more than half of all city commuters use public transportation.
  5. The distribution indicates that biking is more common than taking the train in the city overall.

Explanation: This question tests the AP Statistics skill of representing categorical variables with graphs, emphasizing careful interpretation of bar charts from non-random samples like convenience samples. The bar chart shows commute mode counts for 200 riders, with Car having the highest bar at 96, supporting that it is the most common in this observed sample. Choice A accurately reflects this sample-specific pattern, whereas choice B incorrectly infers an exact 54% (from the bus count) to all downtown commuters, which isn't justified by the data. A key distractor is choice D, which claims more than half use public transportation, but combining Bus (54) and Train (28) gives 82/200=41%, less than half, and it overgeneralizes to the city. For a mini-lesson, bar graphs for categorical data visualize category frequencies; distinguish between sample observations and population inferences, as samples may not represent the whole due to bias or variability. Verify patterns by comparing bar heights directly for counts.

Question 8

A fitness center tracked the membership plan selected by 90 new members during a promotional week (categorical variable). The bar chart shows counts: Monthly 27, Quarterly 18, Annual 33, Student 7, Family 5. Which statement is supported by the graph?

  1. In this promotional-week group, Annual was the most commonly selected plan. (correct answer)
  2. Because Annual has 33, 33% of all members at the fitness center have annual plans.
  3. Family plans are unpopular in the entire community since only 5 people selected them.
  4. Monthly plans are less common than quarterly plans among all future members because 27 is larger than 18.
  5. The graph shows that most new members chose either Student or Family plans.

Explanation: This AP Statistics question focuses on representing categorical variables with graphs, particularly bar charts from specific groups like promotional-week members. The chart provides plan counts for 90 members, with Annual at 33 as the tallest bar, showing it as most commonly selected in this group. Choice A is supported, while choice B misinterprets the count of 33 as 33% for all members (33/90 ≈ 36.7%, and overgeneralized). A distractor is choice D, stating monthly less common than quarterly (27>18, contradictory) among future members. Mini-lesson: Bar graphs illustrate categorical distributions; reference bar heights for frequency comparisons, address distractors with logical inconsistencies, and limit interpretations to the data's context without assuming population representation.

Question 9

A school counselor surveyed a random sample of 120 students at Central High about their preferred after-school activity (categorical variable). The bar chart shows the number of students in each category: Sports 38, Part-time job 22, Clubs 28, Family responsibilities 18, Other 14. Which statement is supported by the graph?

  1. In this sample, Sports is the most common preferred after-school activity. (correct answer)
  2. About 38% of all Central High students prefer Sports as their after-school activity.
  3. Because Clubs has a bar height of 28, about 28% of students at Central High prefer Clubs.
  4. Family responsibilities is the least common preference among all Central High students.
  5. The distribution proves that most students at Central High do not participate in any after-school activity.

Explanation: This question assesses the skill of representing a categorical variable with graphs in AP Statistics, focusing on interpreting bar charts of sample data without overgeneralizing to the population. The bar chart displays counts for preferred after-school activities from a random sample of 120 students, with Sports having the tallest bar at 38, indicating it is the most frequent choice in this sample. Choice A correctly states this observation about the sample, while other options make unsupported inferences, such as choice B's erroneous claim of 'about 38%' for all students, which misinterprets the count as a percentage and extrapolates beyond the sample. A common distractor here is choice C, which assumes the count of 28 for Clubs directly translates to 28% of the population, ignoring the total sample size and sampling variability. In a mini-lesson on categorical graphs, remember that bar charts show frequencies or relative frequencies for categories; when based on a sample, they support statements about that sample but not definitive population claims unless the sample is representative and statistical inference is applied. Always calculate percentages correctly by dividing the category count by the total sample size.

Question 10

A community clinic asked a random sample of 100 patients which appointment type they scheduled (categorical variable). The bar chart shows counts: Checkup 33, Vaccination 21, Sick visit 27, Follow-up 14, Other 5. Which statement is supported by the graph?

  1. In this sample, checkups were the most common appointment type. (correct answer)
  2. Exactly 33% of all people in the community schedule checkups at this clinic.
  3. Other appointments never happen at the clinic because the count is small.
  4. Sick visits are less common than follow-ups in the population because 27 is close to 14.
  5. The graph shows that vaccinations are the majority of appointments at the clinic overall.

Explanation: For the AP Statistics skill of representing categorical variables with graphs, this question involves interpreting sample-based bar charts cautiously. The chart shows appointment types for 100 patients, with Checkup's bar at 33 being the highest, meaning it was most common in this sample. Choice A correctly states this, while choice B errs with 'exactly 33%' for the community (33/100=33%, but not generalizable). Choice D distracts by inferring sick visits are less common than follow-ups population-wide (27>14, opposite, and invalid). Mini-lesson: Bar graphs depict categorical data frequencies; identify key patterns like the mode via bar heights, debunk distractors involving misread counts or overgeneralizations, and note that random samples allow potential inference but require statistical analysis for population claims.

Question 11

A principal asked a random sample of 140 teachers which grade level they primarily teach (categorical variable). The bar chart shows counts: Grade 9: 29, Grade 10: 34, Grade 11: 41, Grade 12: 26, Mixed grades: 10. Which statement is supported by the graph?

  1. In this sample, Grade 11 had the largest number of teachers. (correct answer)
  2. Exactly 41% of all teachers at the school primarily teach Grade 11.
  3. Mixed grades is the least common teaching assignment in all high schools.
  4. Because Grade 12 has 26, about 26% of the district's teachers teach Grade 12.
  5. The graph shows that Grade 9 and Grade 12 combined are more common than Grade 11 in the population with certainty.

Explanation: In AP Statistics, this question evaluates the skill of using graphs for categorical variables, interpreting bar charts without population overreach. The chart shows grade level counts for 140 teachers, with Grade 11 at 41 having the largest bar, indicating the most teachers in this sample. Choice A accurately reflects the sample, unlike choice B's 'exactly 41%' for all school teachers (41/140 ≈ 29.3%, and inference issue). Choice E distracts by claiming Grade 9 and 12 combined (29+26=55>41) are more common population-wide, but it's a comparison error and generalization. Mini-lesson: Bar graphs display category counts; spot patterns like the highest bar for modes, clarify distractors with faulty math or extrapolations, and remember samples describe themselves—use statistics for broader claims.

Question 12

A wildlife researcher set up cameras at one trail for 30 nights to record the most frequently observed animal species each night (categorical variable). The bar chart shows counts of nights: Deer 11, Raccoon 7, Fox 5, Coyote 4, Rabbit 3. Which statement is supported by the graph?

  1. Deer was the most frequently observed species (as the most common nightly observation) at this trail during the study. (correct answer)
  2. About 11% of all animals in the forest are deer.
  3. Rabbits are never present on the trail because their bar is the smallest.
  4. Coyotes are more common than foxes in the entire forest ecosystem.
  5. Because the total is 30 nights, each bar represents a percentage of the forest's animal population.

Explanation: This AP Statistics question focuses on the skill of using graphs to represent categorical variables, interpreting bar charts of observational data without inferring to broader populations. The chart shows nights each animal was most observed over 30 nights, with Deer's bar at 11 being the highest, meaning it was the most common nightly observation in this study. Choice A correctly identifies this sample pattern, while choice B inaccurately claims 11% for all forest animals, miscalculating (11/30 ≈ 36.7%) and overgeneralizing. A notable distractor is choice D, assuming coyotes are more common than foxes ecosystem-wide based on counts (4 vs. 5), but 4<5, and it's invalid extrapolation. Mini-lesson: Bar graphs for categorical data illustrate frequency distributions; reference bar heights for comparisons within the data set, but recognize that study-specific results don't automatically apply to larger contexts due to potential biases. Total the counts (here 30) to understand the base for proportions.

Question 13

A bookstore manager wants to understand customer preferences. Over one weekend, the manager asked 150 customers (not randomly selected) which genre they were primarily shopping for (categorical variable). The bar chart shows counts: Fiction 52, Mystery 31, Nonfiction 29, Fantasy 24, Poetry 14. Which statement is supported by the graph?

  1. In this weekend sample, Fiction was the most common genre customers reported shopping for. (correct answer)
  2. About 52% of all the bookstore's customers prefer Fiction.
  3. Poetry is the least popular genre among all residents of the town.
  4. Because Mystery has a count of 31, Mystery accounts for 31% of yearly sales.
  5. The graph shows that fewer than half of all customers shop for Fiction or Mystery combined.

Explanation: In AP Statistics, this question evaluates representing categorical variables with graphs, particularly distinguishing sample findings from population generalizations in bar charts. The chart presents genre counts from 150 non-randomly selected customers, with Fiction's bar at 52 being the tallest, indicating it as the most common in this weekend sample. Choice A properly limits the statement to the sample, unlike choice B, which wrongly asserts 52% for all customers without basis for inference. Choice D is a distractor that misinterprets the Mystery count of 31 as 31% of yearly sales, confusing count with proportion and extending to unrelated data. A mini-lesson: Bar graphs display categorical data distributions via bar heights representing counts or percentages; for samples, describe visible patterns like the mode (most frequent category) but avoid population claims without proper sampling methods and confidence intervals. Calculate actual percentages, such as Fiction's 52/150 ≈ 34.7%, to check claims.

Question 14

A streaming service analyzed a random sample of 250 user accounts and recorded the primary device used to watch content (categorical variable). The bar chart shows counts: Smart TV 110, Phone 68, Laptop 42, Tablet 20, Game console 10. Which statement is supported by the graph?

  1. In this sample, Smart TVs were the most common primary device for watching content. (correct answer)
  2. About 110% of users watch primarily on Smart TVs.
  3. Exactly 68% of all users of the service watch primarily on phones.
  4. Game consoles are more popular than tablets among all users because both bars are small.
  5. The graph shows that fewer than half of all users (in the population) watch on Smart TVs.

Explanation: This AP Statistics question tests representing categorical variables with graphs, focusing on bar chart interpretation from random samples. The chart lists device counts for 250 users, with Smart TV at 110 as the tallest bar, showing it as the most common primary device in the sample. Choice A is backed by the graph, contrasting choice C's 'exactly 68%' for phones in all users (68/250=27.2%, wrong and overgeneralized). A clear distractor is choice B, absurdly stating 'about 110%' (impossible, as percentages can't exceed 100%). Mini-lesson: Bar graphs visualize categorical frequencies; reference visible patterns like maximum counts, explain errors in distractors such as impossible percentages, and emphasize that sample data supports sample statements—population extensions need inferential methods.

Question 15

A tech support center categorized 160 customer calls from one afternoon by the main issue type (categorical variable). The bar chart shows counts: Password reset 44, Software bug 36, Billing 30, Hardware 26, Other 24. Which statement is supported by the graph?

  1. Password reset was the most common issue type among the calls recorded that afternoon. (correct answer)
  2. About 44% of all customers of the company call about password resets.
  3. Billing issues are rare in general because the Billing bar is shorter than the Software bug bar.
  4. Hardware issues occur more often than software bugs for the company overall.
  5. The distribution proves that most customers have trouble with their passwords.

Explanation: This question in AP Statistics examines representing categorical variables with graphs, stressing accurate bar chart reading without unwarranted generalizations. The bar chart categorizes 160 calls, with Password reset at 44 as the tallest bar, indicating it was the most common issue in the recorded calls. Choice A is supported by this visible pattern, unlike choice B's 'about 44%' for all customers (44/160=27.5%, and it's an extrapolation). A distractor is choice D, claiming hardware issues occur more often than software bugs overall (26 vs. 36, actually less, and population-wide). Mini-lesson: Bar graphs show categorical distributions through bar heights for counts; reference patterns like the highest frequency, avoid confusing counts with percentages, and limit conclusions to the data presented, as samples may not reflect populations fully.

Question 16

When constructing a bar chart to display the distribution of a categorical variable, which of the following is a key feature that distinguishes it from a histogram?

  1. The bars on a bar chart must be of equal width and have gaps between them. (correct answer)
  2. The vertical axis on a bar chart must represent relative frequencies, not counts.
  3. The bars on a bar chart must be ordered according to their frequency.
  4. A bar chart can only be used when the sample size is greater than 30.

Explanation: A bar chart represents distinct categories, so the bars are separated by gaps to emphasize that the data are not continuous. The bars should also be of equal width so that only their height represents the frequency or relative frequency. Histograms have bars that touch (for continuous data with no gaps in bins) and represent ranges of quantitative data.

Question 17

A bar chart displays the number of students enrolled in five different elective courses at a high school: Art (85 students), Music (110 students), Drama (60 students), Computer Science (115 students), and Creative Writing (50 students). Which of the following is a correct conclusion based on this chart?

  1. Drama and Creative Writing together have more students than Music.
  2. Computer Science is the most popular elective course among the five options shown. (correct answer)
  3. The total number of students taking electives at the high school is 420.
  4. The five elective courses are equally popular among the students.

Explanation: The bar for Computer Science would be the tallest, representing 115 students, which is the highest number among the five electives listed. Therefore, it is the most popular of the five. (A) is incorrect because Drama and Creative Writing have 60 + 50 = 110 students, which is equal to, not more than, Music. (C) is incorrect because we only know the enrollment for these five electives, not all electives at the school. (D) is incorrect as the enrollment numbers are clearly different.

Question 18

A relative frequency bar chart was created to show the distribution of blood types (A, B, AB, O) for a random sample of 250 patients. The bar corresponding to Type O blood has a height of 0.44. How many patients in the sample had Type O blood?

  1. 44 patients
  2. 110 patients (correct answer)
  3. 125 patients
  4. The number cannot be determined without the frequency counts.

Explanation: The height of the bar in a relative frequency bar chart represents the proportion of observations in that category. To find the number of patients, multiply the relative frequency by the total sample size: 0.44×250=1100.44 \times 250 = 110.

Question 19

An environmental agency created a bar chart showing the number of endangered species in five different categories: Mammals, Birds, Reptiles, Amphibians, and Fish. What information is provided by the height of each bar in this chart?

  1. The proportion of all endangered species that falls into that category.
  2. The average number of individuals remaining for species in that category.
  3. The total number of species that were counted in that particular category. (correct answer)
  4. The relative risk of extinction for species within that specific category.

Explanation: In a frequency bar chart, the height of each bar corresponds to the number of observations (frequency or count) for that category. In this context, it represents the total number of species classified within each category (e.g., the number of mammal species that are endangered).

Question 20

A pie chart is used to display the proportions of a city's budget allocated to different departments (e.g., Public Safety, Education, Parks). If the slice for Education represents 35% of the budget, what does this value represent?

  1. The probability that a randomly selected city employee works in Education.
  2. The proportion of the total budget that is allocated to the Education department. (correct answer)
  3. The total dollar amount, in millions, allocated to the Education department.
  4. The number of residents who voted for the Education budget allocation.

Explanation: A pie chart displays the proportion of a whole that falls into each of several categories. The 35% value directly represents the fraction of the total city budget allocated to Education. The other options represent different quantities that are not directly shown by this percentage.