Python語言程式入門Introduction to Programming in Python
Responsive image
老師: 周百祥
助教: 張博堯, 柯詠詠, 簡佩如, 李福昌
基本資訊
課程代碼
11220CS135800
課程名稱
Python語言程式入門Introduction to Programming in Python
學分
3
學期
1122
單位
資工系 (CS)
班級
一年級
修課人數
82 人
老師
助教
課程說明
課程簡介
Catalog Description
This course introduces fundamental programming concepts in the Python (≥3.7) language and related environment. Fundamental concepts include overview of computer systems, Python environment setup, Python language overview, command line interface, numbers, string formatting, sequences, dictionaries and sets, control flow, exception, file, function, recursion, object orientation, inheritance, polymorphism, iterables, and modules. The programming environment will be primarily text-based in Unix environment, although graphical user interface (IDLE) and web-based (Jupyter) will also be demonstrated.
Course Introduction video(EN)

本課程使用Python(≥3.7)語言與相關環境來介紹程式撰寫的基礎概念,包括電腦系統概觀、Python環境架設、文字指令介面、數目、字串格式化、序列、字典、集合、控制流程、例外、檔案、函式、遞迴、物件導向、繼承、多型、可迭代、與模組。程式環境以Unix文字介面為主,但也會示範圖型介面(IDLE)與網頁介面(Jupyter)。
 
Format
This course is classified as "asynchronous remote instruction" (非同步遠距教學). That means you are required to view the recorded lectures at your own time of convenience. We strongly suggest you view the lectures regularly in advance (ahead of schedule). Although the course is listed on M2 W3 W4, not all periods will be used.

W3 W4 (Wednesday 10:10 am-12:00 pm) will be reserved for tests, including quizzes once every two weeks and final exam.
M2 (Monday 9:00 am-9:50 am) will be reserved for Q&A, based on further announcement. Attendance will be optional.
Attendance is mandatory for the biweekly quizzes,
in-person program grading (by appointment with the TA), and
final exam.
本課程教學方式為非同步遠距教學。意思是, 學生必須自行觀看影片,定期甚至超前進度。課表時間為W3 W4 M2 但不會用到每一節。

W3 W4 (週三上午 10:10-12:00) 保留給考試用,包括每兩週一次的小考和上機考、期末考。
M2 (週一上午 9:00-9:50) 保留給回答用,有需要會公告,否則不必出席。

必須出席的時段為

每兩週一次的小考和上機考
程式評分 (與助教另外約)
期末考

Language of Instruction
The recorded lectures are given in Mandarin, with subtitles in both (traditional) Chinese and (American) English. The TAs use the language(s) as they deem appropriate. The lecture slides, exam questions, and materials are given in (mostly if not all) English.

教學影片使用華語,附加台灣正體中文與美式英語字幕。助教使用語言以方便自行決定。教材、考卷皆以英文為主。
課程大綱
Week 1 - introduction, environment setup
Week 2 - tour of Python
Week 3 - basic types, command-line application
Week 4 - command-line application (cont'd), strings
Week 5 - collections: sequence (list, tuple), set, dict
Week 6 - control constructs: if, while, for
Week 7 - exceptions, files
Week 8 - functions
Week 9 - recursion, functional programming
Week 10 - object-oriented programming part 1: class, method
Week 11 - object-oriented programming part 2: inheritance, operator overloading
Week 12 - generators, iterators
Week 13 - standard library part 1: data types, itertools
Week 14 - standard library part 2: regular expressions, Tkinter
 
先備能力

You need to have access to a computer capable of 

  • playing recorded lectures on Google Drive in a browser 
  • running a Unix-style command-line shell or IDLE to run Python 3.7 or later. 

本課程必需自備電腦,足夠

  • 使用瀏覽器在Google雲端硬碟觀看教學影片
  • 透過Unix風格的純文字指令介面或IDLE圖型介面執行含Python3.7以上版本
 
教科書
None required, but the instructor is making available an e-book based on the slides and bilingual captions.
 
參考網站
  • www.python.org
 
參考書籍
  • 洪維恩,《Python 教學手冊》,ISBN 9789863126881, 出版社:旗標科技股份有限公司
  • Paul Deitel, Harvey Deitel, Intro to Python for Computer Science and Data Science: Learning to Program with AI, Big Data and the Cloud, Global Edition, Pearson Education Limited, 2022. ISBN 10: 1-292-36490-4; ISBN-13: 978-1-292-36490-2.
成績說明
  • Assignments / 作業: 30% (code + demo / 程式撰寫 加上助教評分)
  • Quizzes / 小考: 30%  (once every two weeks, starting week 3 / 第三週開始,每兩週考一次)
  • Final / 期末考: 40% (written exam + Online Judge / 筆試、上機考)

Note: in case of discrepancy between the recording and the syllabus on the grading policy, the version posted on eeclass for the applicable semester shall prevail.

註:如果錄影和網頁課程大網的成績計算方式不同,以當學期eeclass上面的版本為正式標準。

QR Code
放大