What is Python?
Welcome to coding! In this lesson, you will be given an introduction to Python, a High Level coding language.
National Standards Alignment
OVERVIEW
Activity Overview:
Welcome to coding! In this lesson, you will be given an introduction to Python, a High Level coding language.
Meta description
- Subject Area: Computer Science, Technology
- Grade Level : 9-12
- Computer Science Domains:
- Algorithms and Programming
- Computer Science Principles:
- Communicating About Computing
- Materials:
- Desktop with IDE installed.
Lesson Plan
Overview
Welcome to coding! In this lesson, you will be given an introduction to Python, a High Level coding language.
ASSESSMENT PRE/POST-TEST
Sonya wants to write a program to pack her suitcase automatically. Describe how Sonya should use for/while loops and/or if/else statements to write code for the following: a. Packing a number shirts (num_shirts) into her suitcase. b. Packing a number pairs of pants (num_pants) if the temperature is less than 50 degrees, otherwise packing a number pairs of shorts (num_shorts).
Why might a computer need to organize variables/objects into specific data types/categories?
OBJECTIVES
Students will be able to - Identify Python Code Students will be able to - Use Python for basic script writing / manipulation Students will be able to - Use Jupyter Notebooks to manage their code
CATCH/HOOK
A presentation with cool, trendy pictures of code, anime, and hackers.
ACTIVITY INSTRUCTIONS
First lesson is the introduction, which will be given via powerpoint/slideshow with group Q&A and one on one discussion throughout the lesson. What is python, how do you use it, what are variables, for, else, if, when, loops, etc. Why is it important, what can YOU do with it.
Supplements
Any items in this section are the property & under the license of their respective owners.
REVIEW
Give a taste or small sample of the next lesson, which will be the hands on guided lesson through using python on a local machine.
STANDARDS
| Type | Listing |
|---|---|
| CS Domains | Algorithms and Programming |
| CS Principles | Communicating About Computing |