Chapter 08 Programming
Teacher
盧萱 Lu Hsuan
Target Learners
14 to 16 year olds (especially preparing for Cambridge IGCSE assessment)
Lesson Introduction
This chapter will be divided into 3 units and 6 videos.
Class 01: 01-Programming Concepts-01
Class 02: 01-Programming Concepts-02
Class 03: 01-Programming Concepts-03
Class 04: 01-Programming Concepts-04
Class 05: 02-Array
Class 06: 03-File Handling
Program practice
In each video, there are one or two program exercises for students to practice.
Lesson Objectives
Students will learn about:
Programming concepts
Use of variables
Input and output
Selection
Iteration
Totalling and counting
String handling
Operators – arithmetic, logical and Boolean
Procedures and functions including the use of:
Parameters
Local and global variables
Library routines
Creating a maintainable program
Arrays: including one- and two-dimensional arrays, use of indexes, use of iteration for reading from and writing to arrays
File handling: including opening, closing, reading from and writing to data and text files
Lesson Videos
Class 01: 01-Programming Concepts-01
Learning Objectives
How to install Python on your computer
Understand what variables are and common data types
Understand input and output methods in Python
Class 02: 01-Programming Concepts-02
Learning Objectives
Understand the concept of selection, including how to use if, elif, and else in Python
Understand the concept of iteration, including how to use for loop and while loop in Python
Understand the concepts of totaling and counting in Python
Class 03: 01-Programming Concepts-03
Learning Objectives
Understand the commonly used functions of string data type in Python
Understand the concepts of Arithmetic, Logical, and Boolean, including how to use them in Python
Class 04: 01-Programming Concepts-04
Learning Objectives
Understand the differences between procedures and functions, including how to use them in Python
Understand the concept of library routines, including commonly used library routines in Python
Understand how to write a maintainable program, including naming rules and comment methods
Class 05: 02-Array
Learning Objectives
Understand the concepts of one-dimensional arrays and two-dimensional arrays and how to use them in Python
Class 06: 03-File Handling
Learning Objectives
Understand how to handle files in Python, including opening, closing, and using files for reading and writing
Reference
Textbook: Cambridge IGCSETM, Computer Science 0478, Chapter 8 (page 299 - 336)