Lesson Plan - 1 Computer Science Python Basics Class: Period: Mode: Classroom/Lab Teacher: ____________________________________________________________________________________ Learning Support Assistant: ____________________________________________________________ Time: 160 min. S.M.A.R.T. Learning Objectives By the end of this session, students will be able to: 1.List the main features of Python programming language. 2. List advantages of Python. 3. Differentiate between interactive mode and script mode. 4. List common applications of Python. 5. Perform simple calculations with arithmetic operators. 6. Manipulate strings. 7. Add comments in the Python program. Resources Use the eContent to show the animated demos of the lesson wherever required. Session Conduction Engage: Inform: we have already learn various programming languages ranging from as simple as Scratch and as complex as JavaScript, etc. Now, we shall learn the most popular programming language named Python. Concept introduction: Ask: what are the strengths of a programming language that make it powerful and popular? Many programming languages have the features identical to Python then why Python is most popular today? The reason is that Python is the easiest language to learn and master. Let us see what are the other feature does Python have. Explain the features of Python and the terms “interpreter”, “compiler”, “open-source”, “platform independent”, “portable”, and “library”. Explain common applications of Python before demonstrating the practical aspects of Python. Concept Demo/Explanation: Demonstrate how to open Python IDLE. Show how a Python command prompt looks like as “>>>” and how simple commands can be executed on it.
Inform: This is interactive mode since the output or response to the commend issued is immediately displayed to the user. Explain how script mode is different from interactive mode. Demonstrate how a Python script is written, saved and executed. Using various arithmetic operators, show various examples how to use them. Demonstrate how comments can be added in Python. Show the students how letters of a string are treated by Python and how to manipulate string in different ways using indexing. Practical Application: Complete exercises in the Lab Activiy section in the end of the chapter. Home Assignments 1. Revise the topic covered. Evaluation After completing the lesson solve the exercises given at the end of the chapter.
Search
Read the Text Version
- 1 - 2
Pages: