
9.11. Multiple Choice Quiz App: List of Lists (Optional)¶
This lesson introduces the concept of a list of lists, where each item in the outer list (instead of being a number, boolean, or text value) is another list, or sublist. Students will also use a ListPicker component to display the answer choices (the sublist) to the user in a user-friendly way.
Professional Development
The Student Lesson: Complete the activities for Mobile CSP Lesson 9.11 Multiple Choice Quiz App: List of Lists.
Materials
- Computer lab
- Android devices or emulator
9.11.1. Learning Activities¶
Estimated Length: 45 minutes
- Hook/Motivation (10 minutes): Ask students: Why was the Presidents Quiz app difficult for some users to determine the correct answer? Explanation: Describe the student learning goals for today’s lesson. Refer to the Learning Objectives and have students take note that in today’s lesson the use of Lists will be heavily emphasized. In order to enhance the Presidents Quiz app and make it more challenging for users, a list of lists will be created to make multiple choice questions with different answer choices for each question.
- Experiences and Explorations (30 minutes): Have the students complete the List of Lists tutorial on their own. Make sure to identify new variables that can hold more than one value, a List of Lists.
- Rethink, Reflect and/or Revise (10 minutes): Discuss as a class how a list of lists was used and created in the tutorial. Have students complete a reflection in their portfolio (this may be assigned as homework). Have students try the interactive exercises, either individually or as a class.
9.11.2. Professional Development Reflection¶
Discuss the following questions with other teachers in your professional development program.