年度 |
2024年度 |
開講部局 |
教養教育 |
講義コード |
30105001 |
科目区分 |
情報・データサイエンス科目 |
授業科目名 |
Starting Programming from Scratch[1総国] |
授業科目名 (フリガナ) |
|
英文授業科目名 |
Starting Programming from Scratch |
担当教員名 |
劉 少英 |
担当教員名 (フリガナ) |
リュウ ショウエイ |
開講キャンパス |
東広島 |
開設期 |
1年次生 後期 3ターム |
曜日・時限・講義室 |
(3T) 水1-4:オンライン |
授業の方法 |
講義 |
授業の方法 【詳細情報】 |
|
The teaching slides with the recorded voice explanation will be made available online. Students can access to the teaching slides during the class time and any other time. |
単位 |
2.0 |
週時間 |
|
使用言語 |
E
:
英語 |
学習の段階 |
1
:
入門レベル
|
学問分野(分野) |
25
:
理工学 |
学問分野(分科) |
02
:
情報科学 |
対象学生 |
undergraduate students who have not learned the Python programming |
授業のキーワード |
Programming, Programming language, Python, Computer software |
教職専門科目 |
|
教科専門科目 |
|
教養教育での この授業の位置づけ | This course is aimed at teaching the basic knowledge of programming in the Python programming language. |
---|
学習の成果 | Students are expected to master the basic concepts and skills in constructing programs using Python. They are also expected to learn the tool that can facilitate the programming activities. |
授業の目標・概要等 |
This course is expected to teach students the basic concepts and techniques for programming in Python. After a brief history of computing is explained, the basic concepts and components of a program in Python will be introduced. These include variables, types, various kinds of command statements, such as assignment, selection, and iteration statements. On the top of these basic concepts, the high level components, such as methods and classes, will also be introduced. To help students master both the Python language and the skills used for programming in Python, many examples will be explained and opportunities for students to apply the basic concepts and skills learned to the construction of interesting programs, such as small games, will be provided. |
授業計画 |
lesson1: Introduction. This part describes and explains the history of computers, the concept of programming, the programming language Python, and the benefits of learning programming.
lesson2: Introducing Google Colaboratory. This part discusses the development environment and editor for Python and explains the tool for writing Python programs called Google Colaboratory. Some basic things for using the Google Colaboratory, such as Login, Creating a notebook, and the first step to programming, will be explained.
lesson3: Variables and data types. This part explains how data are represented by typed variables in a program. It includes discussions of the variable names, the data types used to declare variables, and the rules of using variables. lesson4: Exercise on variables and data types. This part includes several problems for students to solve by applying the knowledge of programming learned from previous lectures. lesson5: Conditional branching. This part first explains what a conditional branching is, and then introduce the if statement and if-else statement as well as their combinations. lesson6: Exercise on conditional branching. This part includes several problems for students to practice the use of conditional branching by using if statement and if-else statement in programming. lesson7: Iterative process. This part explains what an iterative process is and why it is necessary through the example of processing a list. It will then introduce two iterative statements, for statement and while statement, for representing an iterative process. lesson8: Exercise on iterative process. Several problems will be provided for students to practice the for and while statements in programming. lesson9: Functions and scopes. This part introduces functions by describing what a function is and how a function is defined and called in a program. Recursive function for carrying out an iterative process is also discussed. lesson10: Exercise on functions and scopes. Several problems are provided for students to practice the use of functions and scopes, including the definition of a function, call a function, and recursive functions. lesson11: Creating a game. This part uses a "Hit and Blow" game program to explain how Python can be applied to write a relatively complex program. The steps of creating a game program are discussed. lesson12: Exercise on creating a game program. Students will be required to make a little more complex "Hit and Blow" game program in which the game program created in the previous lecture can be used. lesson13: Introduction to data analysis. This part introduces the basic concept of data analysis and the packages that can be used to construct programs for data analysis. Specifically, it includes the contents of modules and packages, numerical calculations with NumPy, and data analysis with Pandas.
lesson14: Exercise on data analysis. Several problems are provided for students to practice the basic techniques for writing programs for data analysis. The basic concepts and techniques discussed in the previous lecture will be used. lesson15: Machine learning experience. This part explains what artificial intelligence (AI) is and introduces briefly how AI has been developed so far. The focus of the present AI technology, machine learning (ML), and the technique for realizing it, called neural network (NW), are discussed. A simple example will be given to show how a ML program works.
Report
Understanding the basic concepts and keeping practice are the effective way to learn programming. |
教科書・参考書等 |
None |
授業で使用する メディア・機器等 |
|
【詳細情報】 |
The Microsoft teams, named "CS: Course on Starting Programming from Scratch", will be used to deliver the teaching slides and the related materials. |
授業で取り入れる 学習手法 |
|
予習・復習への アドバイス |
Always try to take time to review the most important content of each lesson. |
履修上の注意 受講条件等 |
None |
成績評価の基準等 |
Grading and evaluation will be done based on the final test. |
実務経験 |
有り
|
実務経験の概要と それに基づく授業内容 |
I have experienced teaching and research on several subjects, such as the Principle of Compiler, Programming languages Java and C++, Program Design, Formal Engineering Methods, Software Verification, and Software Engineering at 9 universities in China, UK, and Japan. |
メッセージ |
Seven-hour study and one-hour physical exercise a day will be more effective than only eight-hour study without exercise. |
その他 |
None |
すべての授業科目において,授業改善アンケートを実施していますので,回答に協力してください。 回答に対しては教員からコメントを入力しており,今後の改善につなげていきます。 |