COMP9021 Principles of Programmi
COMP9021 Principles of Programming WEEK1 Optional:
python安装,interactive coding,IDLE,terminal常见操作
COMP9021 Principles of Programming WEEK1:
shell commands,Jupyter,Turing machine,file open操作(with open('') as f ),split(),join(),enumerate()
COMP9021 Principles of Programming WEEK2 Optional :
python运行,print()
COMP9021 Principles of Programming WEEK2:
异常处理(try...except...raise),random(),choice(),PDF automated form filling,进制转化,string index,range(),len(),函数return元组拆分(f(*(2, 6)))
COMP9021 Principles of Programming WEEK3 Optional:
Testing Driven Development,__name__ == '__main__',doctest
COMP9021 Principles of Programming WEEK3:
set并集(|),set.add(),sqrt(),round(),continue,break,binary位操作(<<),python效率探讨,time(),list.append(),list.insert(),list.pop()
COMP9021 Principles of Programming WEEK4 Optional:
sort(),sorted(),lambda,filter(),for_else循环控制
COMP9021 Principles of Programming WEEK4:
deque(),identity,local and global variable,boundary条件的trick
COMP9021 Principles of Programming WEEK5 Optional:
函数嵌套,变化的input variable,Decorator,函数的attribute
COMP9021 Principles of Programming WEEK5:
local, nonlocal, global variable,file operation
COMP9021 Principles of Programming WEEK6 Optional:
Regular Expression
COMP9021 Principles of Programming WEEK6:
Recursion,Yield
COMP9021 Principles of Programming WEEK7 Optional:
Default argument,Recursion
COMP9021 Principles of Programming WEEK7:
class, define exception, DP
COMP9021 Principles of Programming WEEK8 Optional:
DP
COMP9021 Principles of Programming WEEK8:
LinkedList, Deque
COMP9021 Principles of Programming Lab1:
range(),格式化输出,seed(),randrange(),randint(),statistics模块的median, mean, pstdev,sort(key = ...),sorted(),Python Turtle drawing
COMP9021 Principles of Programming Lab2:
factorial(),整数不同位数读取操作,try..except,格式化输出
COMP9021 Principles of Programming Lab3:
list, dict
COMP9021 Principles of Programming Lab4:
格式输出,table变换
COMP9021 Principles of Programming Lab5:
file, list
COMP9021 Principles of Programming Lab6:
slicing, recursion
COMP9021 Jupyter Notebook Sheet on Python:
Type and classes,Literal representation
COMP9021 Principles of Programming Midterm exam 16s2:
列表,字典,元组,集合;排序,异常,条件,循环