Programming Practice (Python) -E2

Numbering Code U-LAS30 20042 SE11 Year/Term 2022 ・ First semester
Number of Credits 2 Course Type Seminar
Target Year All students Target Student For all majors
Language English Day/Period Tue.5/Thu.5
Instructor name THIES, Holger (Graduate School of Human and Environmental Studies Program-Specific Senior Lecturer)
Outline and Purpose of the Course This course is an introduction to the Python programming language for students without prior programming experience. Python is a beginner friendly programming language that is widely used in academic research and industry. In the course students will learn about basic programming concepts and how to write their own simple programs using Python.
Course Goals Students will learn the basics of programming using the Python programming language, including data types, conditionals and loops, basic data structures, functions and the fundamentals of object oriented programming.
They will also learn how to solve real-world problems by designing, writing and testing their own Python programs.
After attending the course students should be able to:
- Understand the fundamentals of programming (variables, control structures, data types, etc.)
- Understand and modify simple Python programs
- Design, implement and test their own simple programs
Schedule and Contents The course consists of 14 class sessions and one feedback session.
The tentative schedule is as follows:

Introduction (1 session)
- Computer hardware and programming languages
- Installing and using Python
- Editing, saving and running a script.

Basic syntax and data types (1 session)
- Variables, naming rules and comments
- Assignments and basic data types
- Input and Output

Control structures (2 sessions)
- Boolean values and Conditional statements
- Loops
- Logical and Bitwise Operations
- Lists and Collection data types

Functions (1 session)
- Writing and Calling Functions
- Function Inputs and Outputs
- Scope

Modules and packages (1 session)
- Concept of modules
- Importing modules
- Some important built-in modules

I/O and error handling (1 session)
- Reading data from a file
- Writing data to a file
- Error handling and exceptions

Object oriented programming with Python (2 sessions)
- Classes, Properties and Methods
- Inheritance

GUI application development (2 sessions)
- Learn how to write simple Graphical User Interfaces (GUIs)

Practice Project (3 sessions)
Students will use the knowledge acquired during the first part of the course to solve a small programming project.
They will be required to
- Select and define a problem
- Propose and implement a solution
- Test the solution

The precise course schedule and contents are subject to change depending on class progress.
Evaluation Methods and Policy Evaluation will be based on homework assignments (70%) and final project (30%).
Course Requirements This is a beginner course, no prior knowledge is required.
The course is practical: Students are required to write their own programs using the Python programming language.
It is recommended that students use their own computer and install the necessary software. Installation instructions will be given during the first lecture, no prior installation is necessary.
For students who do not have access to a programming environment, online services providing Python 3 in a web browser can be used instead.
Study outside of Class (preparation and review) Students should review the material after each class and solve weekly homework assignments.
Textbooks Textbooks/References No textbook is required. Relevant materials will be distributed in class.
References, etc. Learning Python, 5th edition, Mark Lutz, (O’Reilly Media, Inc.), ISBN:978-1449355739
Think Python: How to Think Like a Computer Scientist, 2nd edition, Allen B. Downey, (O’Reilly Media, Inc.), ISBN:978-1491939369
PAGE TOP