Lesson 19: Bugs and Features
Overview
Question of the Day: How can we create a plan to address bugs and features in our prototype?
Teams have at this point developed an app prototype that has gone through multiple iterations and rounds of user testing. With the information and guidance gained from the last round of user testing, each student has the opportunity to plan for and implement improvements to the team app. Depending on the time you have available, and student interest, you can run the cycle of testing and iteration as many times as you see fit.
Purpose
While improvement can mean adding programmatic functionality, it can also mean a more eye-catching design, more informative text copy, better uniformity of iconography, or any number of other non-programming related features. Encourage each student to find the elements of app design that interest them and focus on that for their personal improvements.
At this point in the development process, you can choose to spend as much time as you like iterating and testing. There is no further time budgeted for testing after this iteration, but feel free to use the previous two lessons as a guideline for cycling through further iterations.
Assessment Opportunities
-
Analyze user feedback and test results on a computational artifact
Activity Guide: The left side of the T-chart on the first page should include at least four descriptions of things that happened in the test, and the right side should list a reasonable interpretation of the descriptions.
-
Categorize and prioritize the issues according to impact and ease of implementation
Student poster: The chart should include several improvements to the app, categorized according to urgency and ease of implementation.
Agenda
Warm Up (5 min)
Activity (35 min)
Wrap Up (5 min)
View on Code Studio
Objectives
Students will be able to:
- Analyze user feedback and test results on a computational artifact
- Categorize and prioritize the issues according to impact and ease of implementation
Preparation
- Print one copy of the activity guide for each team
- Set out sticky notes for each team
- (Optional) Have poster paper or a large whiteboard area prepared for each team
Links
Heads Up! Please make a copy of any documents you plan to share with students.
For the Teachers
- Unit 4 The Design Process - Slides
- Bugs and Features - Exemplar
For the Students
- Bugs and Features - Activity Guide
Teaching Guide
Warm Up (5 min)
Discussion Goal
Goal: Students can use this prompt to remind themselves of the user feedback from yesterday and as a transition into the main activity.
Getting Prepared
Distribute: Make sure each team has their materials available, especially the Digital Prototype User Testing activity guide from yesterday.
Journal
Prompt: Based on your user testing yesterday, what are some issues you discovered in your apps?
Discuss: Have students journal individually first, then share in their teams.
Remarks
Based on our feedback from yesterday, we’re going to take some time to do one last round of improvements on our prototypes. However, before we get started, we’re going to spend today looking at a new way to analyze our feedback from yesterday and prioritize which tasks we want to incorporate into our next prototype. One of our first tasks is grouping our feedback into two categories: a bug or a feature.
Question of the Day: How can we create a plan to address bugs and features in our prototype?
Activity (35 min)
Vocab: introduce the following vocabulary terms:
- Bug - Part of a program that does not work correctly.
- Feature - Part of a program that adds functionality for the user
Teaching Tip
Reducing Printed Materials: This Activity Guide can be completed online or as a journal activity.
Remarks
When testing your program, your users may have identified bugs in your prototype. These could be programming bugs, where an event didn’t work the way you expected. Or these could be design bugs, where a piece of text was too small or the design of a screen wasn’t very clear. Your users may have also given you feedback requesting new features for your app that may be worth investigating. Let’s see if we can classify our feedback as either a bug fix or a feature request.
Distribute: Sticky notes and a copy of the activity guide for each team. Optionally, also distribute poster paper to each group or provide a large whiteboarding area for teams to work at.
Bugs & Features
Teaching Tip
Deja Vu: The chart on this activity is identical to the one from yesterday’s activity guide. If students had enough time to complete the chart yesterday, they don’t need to re-copy it onto this activity guide. However, if students continued to test the app at home with their family or members of their community, then they can use the chart on today’s activity guide to summarize that feedback.
Interpreting User Feedback
Do This: Teams start by completing a T chart that will help connect specific user testing observations to the potential bugs or missing features they reveal. They should rely on their notes from yesterday’s lesson when testing with another user. This information will be the basis of a brainstorming session to create a list of bugs and features the team would like to focus on in the next activity.
Circulate: Monitor students as they create their list, ensuring all voices within the team are heard and acknowledged. Look for clear connections between the observations students made as their users tested their apps, and the changes they want to make to their apps based on those observations.
Teaching Tip
Including All Team Members: It's tempting to focus solely on bugs that are the cause of, or can be solved with, code. Remind students that there are many roles and skillsets on a software development team, and not all bugs and features are dealt with by programmers. Inconsistent color, confusing text, and counterintuitive layouts are all potential bugs that are important to deal with.
This is an opportunity to let students with other skillsets shine and make a strong contribution to their apps, so make the extra effort to help highlight those students.
Brainstorming Session
Do This: Once teams have organized all of their feedback into the T chart, they can move into the brainstorming phase. Directions for this stage are in the activity guide and on the slide:
- The top of the sticky note should say BUG or FEATURE.
- The middle of the sticky note should be a description of what the bug or features is.
- The bottom of the sticky should have a quick estimate of how long (in minutes) it will take to fix this bug or implement this feature.
Circulate: Monitor students as they create their sticky notes. Help answer questions students may have on whether a task is a bug or a feature. It’s okay if this distinction isn’t always clear, as long as teams can make a best guess. Also help teams determine time estimates for each task - small changes to design elements may not take very long, but entirely new features requiring new screens could take a significant amount of class time.
Bug and Feature Analysis
Discussion Goal
Goal: Students should realize that urgent goals should be higher priority than non-urgent goals, and that easier fixes will probably get done faster than harder fixes. This means the upper-left quadrant is the first group teams will probably tackle. After that, teams may debate which quadrant is more important - urgent fixes that are harder to implement, or non-urgent fixes that are easier to implement. It’s worth discussing the pros and cons of both approaches, since teams will have to make this decision tomorrow when implementing their changes.
Do This: On the second page of the activity guide, students will categorize the post-its they generated in their brainstorm. For each sticky note, discuss whether it is urgent or not, and whether it seems to be easy or difficult to implement. Based on that discussion, place the sticky in the appropriate quadrant. Optionally, you can have teams re-create this chart on poster paper or a large whiteboard and organize their sticky notes there.
Circulate: Monitor students as they categorize their post-its. The goal is to think intentionally about both urgency and complexity, which will further help them prioritize their work when they begin implementing these changes.
Prompt: Now that you have your bugs and features categorized, which of the four categories should you tackle first? Which should be the last?
Discuss: Have students share in their teams first, then facilitate a class discussion by asking each group to share their thoughts with the class.
Remarks
You all have come up with a really organized plan to start making your changes tomorrow. This is a similar process to what real software developers do when updating their apps - they collect feedback and categorize it so they know what changes they will make and how long each change will take. Tomorrow we’ll pick which post-its we want to focus on and update our apps
Wrap Up (5 min)
Discussion Goal
Goal: Students should make a connection between this organization process and different tasks they have outside of class. Some examples may include:
- Deciding which homework assignments to prioritize
- Deciding which chores to complete at home
- Deciding how to plan for an event, such as a birthday party or school event
If possible, connect this process to strategies related to stress management and not being overwhelmed. When faced with a lot of work all at once, writing each piece down in bite-sized steps is a good strategy for getting started on large projects and managing stress.
Collect: Collect all the materials from each team in a safe storage location. Try to keep the post-its organized from today’s activity. If teams used a whiteboard for their post-it notes, consider having them take a picture of how they organized their post-its.
Journal
Prompt: This process of organizing tasks and categorizing into a chart is used a lot when designing new apps. What are some other tasks this process could be used for in your life outside of class?
Discuss: Have students journal individually first, then have students share in their teams before asking a few students to share with the class.
- Lesson Overview
- Teacher Overview
- Student Overview
- App User Testing Analysis - Exemplar (PDF | DOCX)
- App Project: Bugs and Features
- Teacher Overview
- Student Overview
Implementing Features and Fixes Individually
Because App Lab is difficult for large groups of students to work on simultaneously, we have students work on implementing features and fixes individually or in pairs. The benefit of this approach is that it allows the team as a whole to explore more potential features than if they were working all on the same app, but it also means that each team member's app will diverge further from the others as more changes are made.
As an optional extension activity you could provide a day of work for students to share their changes with each other and attempt to integrate all of the added features into a single app.
Keeping Track of Changes
The more features students add to their app, the more likely they are to introduce new unforeseen bugs. To ensure that students always keep the most recent working copy of their app, encourage them make a remix before adding any new features. Make sure students leave the remix alone and return to this level to do their programming - this will ensure that when they go to submit their app for your review it is the most recent version.
Improving and Iterating
You've put your app in front of users, gathered feedback, and identified bugs and new features - time to do something about it.
Do This
Each team member is going to implement select features and bug fixes on their own version of the team's app. Start by selecting a sticky note from the To Do column of your team's chart and moving it to the Doing column. For each sticky you tackle:
- Add a comment to the top of your program describing the feature or bug fix you are implementing
- Work on your iteration until it works. Try to stay focused on only the single feature or bug that you've selected.
- When done, move your sticky to the Done column, pick a new one, and start the process over.
Standards Alignment
View full course alignment
CSTA K-12 Computer Science Standards (2017)
AP - Algorithms & Programming
- 2-AP-13 - Decompose problems and subproblems into parts to facilitate the design, implementation, and review of programs.
- 2-AP-14 - Create procedures with parameters to organize code and make it easier to reuse.
- 2-AP-15 - Seek and incorporate feedback from team members and users to refine a solution that meets user needs.
- 2-AP-16 - Incorporate existing code, media, and libraries into original programs, and give attribution.
- 2-AP-17 - Systematically test and refine programs using a range of test cases.
- 2-AP-18 - Distribute tasks and maintain a project timeline when collaboratively developing computational artifacts.
- 2-AP-19 - Document programs in order to make them easier to follow, test, and debug.
CS - Computing Systems
- 2-CS-01 - Recommend improvements to the design of computing devices, based on an analysis of how users interact with the devices.
DA - Data & Analysis
- 2-DA-09 - Refine computational models based on the data they have generated.
IC - Impacts of Computing
- 2-IC-22 - Collaborate with many contributors through strategies such as crowdsourcing or surveys when creating a computational artifact.