Introduction to Python Computer Studies Primary 5 Third Term Lesson Notes Week 9

Subject: Computer Studies

Class: Primary 5

Term: Third Term

Week: 9

Topic: Introduction to Python

Sub-topic: Use of Python and Simple Syntax Command

Duration: 45 minutes

Behavioural Objectives:

  • Students will understand the basics of Python programming language.
  • Students will learn the practical uses of Python in creating programs and software.
  • Students will be able to write and execute simple Python commands.

Key Vocabulary Words:

  1. Python
  2. Programming language
  3. Syntax
  4. Command
  5. Software
  6. Program

Learning Resources and Materials:

  • Textbooks: Lagos State Scheme of Work for Primary 5 Computer Studies
  • Computers or tablets with Python installed
  • Visual aids: Examples of Python code and output
  • Worksheets on Python syntax and commands

Building Background / Connection to Prior Knowledge:

  • Review with students the concept of writing and executing commands on computers.
  • Introduce the idea of programming languages and their uses.

Embedded Core Skills:

  • Problem-solving
  • Logical thinking
  • Communication

Content:

  1. Introduction to Python as a programming language.
  2. Explanation of the practical uses of Python in creating software and programs.
  3. Demonstration of simple Python syntax commands and their execution.

Introduction to Python:

  1. What is Python? 🐍
    • Python is a programming language used to create software and applications.
  2. Use of Python: 💻
    • Python is used in various fields like web development, data analysis, and artificial intelligence.
  3. Simple Syntax Commands:
    • Commands in Python are easy to understand and use.
    • Example: Printing “Hello, World!” on the screen:
      python

      print("Hello, World!")

Class Activity Discussion about Introduction to Python:

  1. What is Python?
    • Python is a type of computer language used to create programs and software.
  2. Where do we use Python?
    • Python is used in many places, like making websites, analyzing data, and creating games.
  3. What is a simple Python command?
    • A simple Python command is something like printing words on the screen or adding numbers together.
  4. Why is Python important to learn?
    • Learning Python helps us understand how computers work and lets us create cool things like games and websites.
  5. What can we create with Python?
    • We can create games, make websites, and even analyze data using Python.
  6. Is Python difficult to learn?
    • No, Python is not difficult to learn. It’s actually quite easy and fun!
  7. How do we start learning Python?
    • We can start learning Python by writing simple commands and practicing every day.
  8. What is a Python script?
    • A Python script is a set of instructions written in Python language to tell the computer what to do.
  9. Can we use Python to make games?
    • Yes, we can use Python to make fun games that we can play on the computer.
  10. What kinds of things can we do with Python besides making games?
    • We can use Python to analyze data, create websites, and even control robots!
  11. How do we write a simple Python command to print “Hello, World!” on the screen?
    • We write print("Hello, World!") and when we run it, it will show “Hello, World!” on the screen.
  12. What is syntax in Python?
    • Syntax in Python is like the grammar we use when writing sentences. It tells the computer how to understand our commands.
  13. Can we use Python to do math calculations?
    • Yes, we can use Python to add, subtract, multiply, and divide numbers just like we do in math class.
  14. Why do people use Python for web development?
    • People use Python for web development because it’s easy to learn, has a lot of powerful tools, and lets us build websites quickly.
  15. What do we need to start writing Python code?
    • We just need a computer and a text editor, like Notepad or Visual Studio Code, to start writing Python code.

Evaluation

  1. What is Python?
    • a) A programming language
    • b) A cooking ingredient
    • c) A type of snake
    • d) A country in Africa
  2. Where is Python used?
    • a) In the kitchen
    • b) In web development
    • c) In swimming pools
    • d) In outer space
  3. What kind of commands does Python have?
    • a) Difficult commands
    • b) Simple commands
    • c) Boring commands
    • d) Random commands
  4. How can you print “Hello, World!” in Python?
    • a) write(“Hello, World!”)
    • b) display(“Hello, World!”)
    • c) show(“Hello, World!”)
    • d) print(“Hello, World!”)
  5. What can you create using Python?
    • a) A cake
    • b) A robot
    • c) A website
    • d) A tree
  6. What field uses Python for data analysis?
    • a) Cooking
    • b) Gardening
    • c) Medicine
    • d) Programming
  7. Which statement describes Python’s syntax?
    • a) Easy to understand
    • b) Difficult to understand
    • c) Impossible to understand
    • d) Boring to understand
  8. What is a Python script?
    • a) A type of snake
    • b) A piece of paper
    • c) A program written in Python
    • d) A secret message
  9. What does Python help you create?
    • a) Games
    • b) Songs
    • c) Recipes
    • d) Skyscrapers
  10. What can you do with Python in web development?
    • a) Build websites
    • b) Build bridges
    • c) Build bicycles
    • d) Build rockets
  11. What can Python be used for besides web development?
    • a) Making sandwiches
    • b) Analyzing data
    • c) Climbing mountains
    • d) Painting pictures
  12. Which option shows the correct way to start a Python script?
    • a) begin Python
    • b) start Python
    • c) Python start
    • d) # Python
  13. What does Python use to execute commands?
    • a) Magic
    • b) A wand
    • c) A computer
    • d) A broom
  14. What makes Python different from other programming languages?
    • a) It’s the oldest language
    • b) It’s the hardest language
    • c) It’s the easiest language
    • d) It’s the most colorful language
  15. What is a common greeting used when learning Python?
    • a) Hello, Python!
    • b) Hi, Java!
    • c) Hey, C++!
    • d) Hola, Ruby!

Presentation:

  • Show examples of Python code and explain each line to the students.
  • Use visual aids to illustrate the output of different Python commands.
  • Encourage student participation by asking questions and inviting them to write and execute Python commands.

Teacher’s Activities:

  • Presenting information about Python programming language.
  • Demonstrating how to write and execute simple Python commands.
  • Guiding students through hands-on activities on computers or tablets.

Learners’ Activities:

  • Participating in class discussions.
  • Practicing writing Python commands on computers or tablets.
  • Completing worksheets to reinforce learning.

Assessment:

  • Observing students’ participation and engagement during activities.
  • Reviewing completed worksheets to assess understanding of Python syntax and commands.

Evaluation Questions:

  1. What is Python?
  2. Give an example of where Python is used.
  3. What does syntax mean in Python?
  4. How can you write a simple Python command?
  5. What is the output of print("Hello, World!")?
  6. Can you name one thing you can create using Python?
  7. What is the importance of Python in computer studies?
  8. How do you start learning Python?
  9. Why is it important to understand Python syntax?
  10. What can you do with Python besides writing programs?

Conclusion :

The class teacher gives out a very detailed lesson plan presentation and he or she goes round to mark and does the necessary corrections

Computer Studies Primary 5 Third Term Lesson Notes