Extracting Information from Data

Help Questions

AP Computer Science Principles › Extracting Information from Data

Questions 1 - 2
1

In the scenario described, a retail chain stores sales transactions to track monthly performance across product categories. Each receipt becomes one record with fields Month (Jan–Apr), Category (Electronics), and Amount (USD), and the totals are summed by month for reports. Data is collected automatically from the point-of-sale system and used to plan inventory. Based on the dataset provided, what trend can be observed in monthly Electronics sales totals? Totals: Jan $42,000; Feb $39,000; Mar $45,000; Apr $51,000.

Sales peak in February and then steadily decline.

Sales dip in February, then rise through April.

Sales are highest in January and lowest in April.

Sales remain the same across all four months.

Explanation

This question tests AP Computer Science Principles skills, specifically extracting and interpreting information from data. Data extraction involves identifying relevant patterns and trends from structured datasets, essential for making informed decisions. In the dataset provided, Electronics sales show a dip from $42,000 in January to $39,000 in February, followed by consistent growth through March ($45,000) and April ($51,000), highlighting a V-shaped recovery pattern. Choice B is correct because the data clearly indicates sales decrease in February then rise steadily through April, demonstrating understanding of non-linear trends in time series data. Choice A is incorrect because it claims sales peak in February when February actually shows the lowest sales figure at $39,000, misinterpreting the data completely. This error often occurs when students read data too quickly or confuse months. To help students: Teach them to create simple line graphs to visualize trends over time. Practice identifying turning points and recovery patterns in business data. Watch for: students who only compare adjacent months rather than viewing the complete trend, or those who assume all trends must be linear.

2

In the scenario described, a social media team logs weekly post performance to plan future content. Data is collected from the platform’s insights page and stored as one row per week with columns Week, PostsPublished, and TotalShares. The purpose is to predict future sharing if posting stays consistent. Based on the data, what prediction can be made about total shares next week if 4 posts are published? Data: 1 post→40 shares; 2→85; 3→120; 4→165.

Total shares will likely be about 120.

Total shares will likely be about 85.

Total shares will likely be about 165.

Total shares will likely be about 40.

Explanation

This question tests AP Computer Science Principles skills, specifically extracting and interpreting information from data. Data extraction involves identifying relevant patterns and trends from structured datasets, essential for making informed decisions. In the dataset provided, there's a clear linear relationship where each additional post generates approximately 40-45 additional shares, with 4 posts yielding 165 shares, highlighting predictable content performance patterns. Choice B is correct because the data clearly indicates a consistent pattern where 4 posts generate 165 total shares, demonstrating understanding of linear extrapolation in social media metrics. Choice A is incorrect because it suggests only 85 shares for 4 posts, which would represent the value for 2 posts according to the data pattern, showing confusion about how to read or extend the trend. This error often occurs when students misread data points or fail to recognize linear relationships. To help students: Teach them to identify patterns by calculating the change between consecutive data points. Practice making predictions by extending observed patterns one step further. Watch for: students who guess randomly instead of following the mathematical pattern, or those who confuse which value corresponds to which number of posts.