- Understand what Task 4b requires
- Learn to evaluate against system and user requirements
- Provide specific examples from your code
- Justify future developments
- Write a high-scoring evaluation
What is Task 4b?
Task 4b is a written evaluation where you reflect on your Task 4a solution. You assess how well your code meets the requirements and suggest improvements.
What You Need to Do
- Evaluate how well your solution meets system requirements
- Evaluate how well your solution meets user requirements
- Justify how the solution could be further developed
- Support everything with specific examples from your code
- Save as PDF with correct filename
Structure Your Evaluation
Recommended Structure
- Introduction - Brief overview of what you built
- System Requirements - How you met each one
- User Requirements - How you met each one
- Future Developments - What could be improved
- Conclusion - Summary of success
Evaluating System Requirements
System requirements tell you WHAT functionality to add. Evaluate each one separately.
Requirement 1: Identify Trends for New/Used Sales
What to write about:
- How you did it: "I filtered the data using
df[df['New/Used'] == 'New']to separate new and used car sales" - What you calculated: "I used
groupby()to calculate total sales for each category" - How you showed trends: "I created a line graph showing sales over time for both categories"
- Why it works: "This clearly shows the trend that new car sales increased while used car sales remained stable"
Example paragraph:
"My solution successfully identifies trends for new and used car sales. I filtered the DataFrame using df[df['New/Used'] == 'New'] to separate the categories, then grouped by month using df['Date'].dt.to_period('M') to show trends over time. I displayed this as a line graph with two lines (one for new, one for used) which clearly shows that new car sales increased by 23% from September to October, while used car sales remained relatively stable. This meets the requirement by allowing users to see patterns in each category."
Requirement 2: Identify Trends for Different Salespeople
What to write about:
- How you grouped data: "I used
groupby('Salesperson')to analyze each salesperson's performance" - What metrics you calculated: "I calculated total sales, number of sales, and average sale value"
- How you visualized it: "I created a bar chart comparing total sales per salesperson"
- What patterns emerged: "The data shows Sarah Jones had the highest total sales at £337,000"
Requirement 3: Solution Must Be Secure
What to write about:
- Input validation: "I used try-except blocks to validate user menu choices"
- File handling: "I checked if the CSV file exists before attempting to read it"
- Error handling: "I handled ValueError exceptions when converting dates"
- Data validation: "I checked for missing values using
df.isnull()"
Example paragraph:
"My solution implements security through comprehensive error handling. I used try-except blocks around the file reading operation to catch FileNotFoundError if the CSV doesn't exist. For user input, I validate menu choices using try: int(choice) to ensure only valid numbers are accepted. I also handle date conversion errors with pd.to_datetime() wrapped in error handling. This prevents the program from crashing and protects against invalid input, meeting the security requirement."
Evaluating User Requirements
Requirement 1: Easy to Use
What to write about:
- Menu system: "I created a clear numbered menu with descriptive options"
- Input validation: "Invalid choices display helpful error messages"
- Clear prompts: "Each input prompt clearly explains what the user should enter"
- Loop structure: "The menu loops until the user chooses to exit"
Example paragraph:
"My solution is easy to use through a clear menu system. Users see numbered options (1-4) with descriptive labels like '1. Compare New vs Used Sales'. If they enter an invalid choice, the program displays 'Invalid option, please try again' and re-displays the menu. This makes the interface intuitive and prevents user confusion, meeting the ease-of-use requirement."
Requirement 2: Display Information Meaningfully
What to write about:
- Clear labels: "All graphs have titles, axis labels, and legends"
- Formatting: "Currency values display with £ symbol and thousand separators"
- Organization: "Results are grouped logically by category"
- Appropriate precision: "Averages show 2 decimal places for clarity"
Requirement 3: Textual, Numerical, and Graphical Output
What to write about:
- Textual: "I display summary messages like 'Total New Car Sales: £892,000'"
- Numerical: "I show tables with exact values using pandas DataFrames"
- Graphical: "I created bar charts for comparisons and line graphs for trends"
- Why each is appropriate: "Bar charts work best for comparing categories, line graphs show trends over time"
Example paragraph:
"My solution uses all three output types appropriately. For textual output, I display summary messages like 'Top Salesperson: Sarah Jones - £337,000'. For numerical output, I show detailed tables using groupby().agg() displaying totals, counts, and averages. For graphical output, I use bar charts to compare salespeople (as categories are best compared visually) and line graphs to show monthly trends (as time-series data needs to show progression). This variety ensures users can understand the data in multiple ways, meeting the requirement."
Technical Decisions to Discuss
Date Handling
What to mention:
- "I converted date strings to datetime objects using
pd.to_datetime(df['Date'], format='%d/%m/%Y')" - "This allowed me to extract months using
.dt.monthand group by time periods" - "Without conversion, dates would be treated as text and couldn't be sorted chronologically"
Choice of Visualizations
What to mention:
- "I used bar charts for comparing categories because they clearly show differences in magnitude"
- "I used line graphs for trends over time because they show progression and patterns"
- "I added values on top of bars using a loop to make exact figures visible"
- "I made line graph points bigger (
markersize=10) so trends are easier to see"
Data Structures
What to mention:
- "I used pandas DataFrames to store and manipulate the CSV data efficiently"
- "I used
groupby()instead of loops because it's faster and clearer" - "I created filtered subsets like
new_cars = df[df['New/Used'] == 'New']for specific analysis"
Calculations and Formatting
What to mention:
- "I used
.sum()for totals,.mean()for averages,.count()for quantities" - "I formatted currency with
f'£{value:,.2f}'to show 2 decimal places and commas" - "I rounded averages to 2 decimal places for readability"
Future Developments
Suggest realistic improvements with justification. Don't just list features - explain WHY they'd be useful.
Good Future Development Examples
1. Export to Excel
"A useful future development would be adding the ability to export results to Excel using df.to_excel(). This would allow users to save analysis results for presentations or further manipulation in spreadsheet software. Currently, users can only view results on screen, which limits their ability to share findings with management."
2. Date Range Selection
"The solution could be enhanced by allowing users to select custom date ranges for analysis. Currently, it analyzes all available data, but users might want to compare specific months or quarters. This could be implemented by prompting for start and end dates, then filtering with df[(df['Date'] >= start) & (df['Date'] <= end)]."
3. Comparison Features
"Adding the ability to compare individual salespeople side-by-side would be valuable. Users could select two salespeople and see their performance metrics (total sales, average sale, number of sales) displayed together. This would help identify best practices and training needs."
4. Predictive Analysis
"Implementing trend prediction using historical data would help with forecasting. By analyzing the rate of change in monthly sales, the system could predict next month's expected sales. This would support business planning and inventory management decisions."
5. More Detailed Breakdowns
"The solution could analyze sales by day of the week to identify patterns in when cars sell best. This would require extracting the day using df['Date'].dt.day_name() and grouping by it. This information could help optimize staffing levels."
What NOT to Suggest
- ❌ "Add more colors" - too vague, no justification
- ❌ "Make it faster" - not specific enough
- ❌ "Add a database" - too complex, not justified
- ❌ "Use AI" - unrealistic for this context
Writing Tips for High Marks
Use Specific Examples
- ✅ "I used
df.groupby('Car Model')['Value'].sum()to calculate totals" - ❌ "I grouped the data and calculated totals"
Explain WHY, Not Just WHAT
- ✅ "I used a bar chart because it clearly shows the difference in magnitude between categories"
- ❌ "I used a bar chart"
Link to Requirements
- ✅ "This meets the requirement for graphical output by providing a visual comparison"
- ❌ "I made a graph"
Be Honest About Limitations
- ✅ "While the solution works well for the current dataset, it could be improved by handling missing data more robustly"
- ❌ "My solution is perfect"
Example Evaluation Structure
Introduction (1 paragraph)
"I developed a sales analysis system for T-Learn Automotives that analyzes car sales data from a CSV file. The solution provides insights into new vs used car sales trends and individual salesperson performance through interactive menus and visualizations. This evaluation assesses how well the solution meets the system and user requirements and identifies potential improvements."
System Requirements
Cover each requirement with specific examples:
- State the requirement
- Explain how you met it with specific code examples
- Show the result/output
- Evaluate how well it works
User Requirements
Cover each requirement with specific examples:
- State the requirement
- Explain your implementation
- Give specific examples
- Evaluate effectiveness
Future Developments (Bullet Points)
List improvements as bullet points with brief justification:
- Export to Excel: Allow users to save results for presentations using
df.to_excel() - Date Range Selection: Let users choose specific time periods for analysis
- Salesperson Comparison: Compare two salespeople side-by-side
- Trend Prediction: Forecast future sales based on historical patterns
- Day of Week Analysis: Identify which days have highest sales
Conclusion (1 paragraph)
"Overall, my solution successfully meets all system and user requirements. It provides comprehensive analysis of sales trends through appropriate use of pandas for data manipulation and matplotlib for visualization. The menu system is intuitive, error handling ensures security, and outputs are clear and meaningful. The suggested future developments would enhance the solution's value by adding export capabilities and more detailed analysis options."
Common Mistakes to Avoid
Being Too Vague
- ❌ "I made graphs to show the data"
- ✅ "I created a bar chart using
plt.bar()showing total sales per car model, with values displayed on top of each bar for clarity"
Not Linking to Requirements
- ❌ "I added error handling"
- ✅ "I added try-except blocks to validate user input, which meets the security requirement by preventing invalid data from crashing the program"
No Justification for Future Developments
- ❌ "Add more features"
- ✅ "Adding Excel export would allow users to share analysis with management who may not have access to the Python program"
Listing Code Without Explanation
- ❌ Just showing code snippets
- ✅ Explaining what the code does and why you chose that approach
Checklist Before Submission
Content Checklist
- ☐ Evaluated ALL system requirements
- ☐ Evaluated ALL user requirements
- ☐ Included specific code examples
- ☐ Explained WHY you made each decision
- ☐ Suggested 3-4 future developments
- ☐ Justified each future development
- ☐ Linked everything back to requirements
Quality Checklist
- ☐ Used technical terminology correctly
- ☐ Wrote in clear paragraphs
- ☐ Checked spelling and grammar
- ☐ Used professional tone
- ☐ Included introduction and conclusion
Submission Checklist
- ☐ Saved as PDF
- ☐ Used correct filename: Task4b_Review_[Registration]_[Surname]_[FirstInitial]
- ☐ Saved in correct folder
Mark Scheme Breakdown
Band 3 (5-6 marks) - What You're Aiming For
- Comprehensive evaluation with thorough detail
- Well-supported judgements with specific examples
- Convincing rationale for future developments
- Shows thorough understanding of how solution meets requirements
Band 2 (3-4 marks) - Good But Not Excellent
- Mostly well-supported but some gaps
- Good understanding but not thorough
- Reasonably well-supported future developments
Band 1 (1-2 marks) - Needs Improvement
- Superficial or basic understanding
- Somewhat supported but lacking detail
- Simplistic rationale for developments
Final Tips
- Be specific: Use actual code examples and exact figures
- Be honest: Acknowledge limitations and areas for improvement
- Be technical: Use proper terminology (DataFrame, groupby, matplotlib, etc.)
- Be thorough: Cover every requirement in detail
- Be professional: Write clearly and check your work
- Be realistic: Suggest practical improvements, not fantasy features