Lesson 1 of 0
In Progress

Session 11: My Friends List

Objectives

After this lesson, students will be able to:

  • Understand the concept of mutable sequence types in Python.
  • Appreciate the use of a list to conveniently store a large amount of data in memory.
  • Create, access & manipulate list objects.
  • Use various functions & methods to work with a list.
  • Prepare a coding project to create a friends list.
Introduction

In this session, students will be learning about lists, how lists can be used in different applications. Students would also be learning about what is meant by lists in python, manipulating a list.

Students are given introduction to the concept of lists in python. They are taught about what is meant by list, why list is used and how to create a list. Students are then taught about manipulating a list. Finally, we give them a step-by-step guide to make a project on creating a friends list in Pictoblox python interface.

Activity
  • Creating a project that uses lists to create a friends list and perform various operations on it.

Teaching Resources
PicoBlox Code
TitleDescriptionFile
My friends ListThis project demonstrates how friends list can be created and various operations can be performed on it using the concept of lists in python.https://learn.edustream.ae/wp-content/uploads/2022/06/CL9_CH11_My-friends-list.sb3
Timeline
TitleApproximate DurationProcedureReference Material
List in python5
  1. Access and play the List in python Lecture Slide.
  2. Explain what is list ?
  3. Describe why a list is used ?
  4. Explain how to create a list.

Lecture Slide

Manipulating a list10
  1. Discuss about manipulating a list.
  2. Describe about List indexing in python.
  3. Discuss about List slicing in python.
  4. Explain about changing the list elements in python.

Lecture slide

Activity: My friends list20
  1. Ask students to open the PictoBlox on their computer.
  2. Demonstrate the procedure given in the My friends list Activity Sheet to the students.
  3. Ask the students to follow the instructions to create the project.
  4. At the end of the activity, the teacher must check if all the students have created the project and provide feedback accordingly.

PictoBlox file, Lecture Slide and Activity sheet

Concluding the lecture5
  1. Make sure that all the students save their script properly before closing PictoBlox.
  2. Give a summary of the points covered in the lecture.

Lecture Slide

Things to Remember
Before Class
  1. Make sure each PC has the latest version of PictoBlox installed and running.
During Class
  1. Make sure they write the script by selecting the appropriate sprite.
  2. Make sure they use the right palettes of Pictoblox Python interface for different functions while writing the code.
After Class
  1. Make sure students save their codes/scripts.
  2. Make sure they shut down the PC/Laptops.