Introduction to Computer Programming 2019-02: Difference between revisions
(Created page with "== Class Information== {|class="wikitable" ! !Class Info |- | '''Class''' || ETA00086 - 컴퓨터 프로그래밍 기초, ETA00087 컴퓨터 프로그래밍 기초 실습 |-...") |
No edit summary |
||
Line 25: | Line 25: | ||
|- | |- | ||
| || Email: insight at gnu dot ac dot kr | | || Email: insight at gnu dot ac dot kr | ||
|} | |||
=== Part I - Python === | |||
{|class="wikitable" | |||
|- | |||
! colspan="2" style="background: Turquoise; text-align:left;"| Week - 1 Python | |||
|- | |||
! style="text-align:left;"| Lecture : 05/09/2019 (Thu) '''Introduction''' | |||
! style="text-align:left;"| Lab : 06/09/2019 (Fri) '''Variables''' | |||
|- | |||
| style="vertical-align: top;"| '''Course Overview''' | |||
* First, we will go through the course overview, and what you have to do to succeed in this class. [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_rec/Day_D01_00_syllabus.pdf Course Overview] | |||
<br> '''Reading:''' | |||
<br> * On computation and on difference with spoken lanuage and computer language [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_rec/ICP_D01_01_computation.pptx [pptx] ] [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_pdf/ICP_D01_01_computation.pdf [pdf] ] | |||
<br> * Abstract view on python [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_rec/ICP_D01_02_python.pptx [pptx] ] [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_pdf/ICP_D01_02_python.pdf [pdf] ] | |||
<br> * Introduction to Flow Diagram [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_rec/ICP_D01_03_Flowdiagram.pptx [pptx] ] [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_pdf/ICP_D01_03_Flowdiagram.pdf [pdf] ] | |||
<br> '''Workbook:''' | |||
<br> * In class workbook for understanding the concepts of compution (recommend to use github) [http://open.gnu.ac.kr/lecslides/2018-2-introProg/py_ws/WS_01_language.ipynb notebook] | |||
| style="vertical-align: top;"| '''Reading:''' | |||
* Variables, operations, and expressions [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_rec/ICP_D02_01_variables.pptx [pptx] ] [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_pdf/ICP_D02_01_variables.pdf [pdf] ] | |||
<br> '''Workbook:''' | |||
<br> * In class workbook for understanding the concepts of compution (recommend to use github) [http://open.gnu.ac.kr/lecslides/2018-2-introProg/py_ws/WS_02_var.ipynb notebook] | |||
|- | |||
| colspan="2"| '''Video:''' | |||
* Spyder 실행하고 간단한 프로그램 작성하기 (11 min) [[https://www.youtube.com/watch?v=BEnYSxMD9hM&list=PLWm33cHVRby6FzafIXpZLxMTIIjBTN49I watch]] | |||
<br> * Spyder 에서 작성한 코드 파일로 저장하기, 불러오기, 실행하기 (10 min) [[https://www.youtube.com/watch?v=YNaDj-BeM8g&list=PLWm33cHVRby6FzafIXpZLxMTIIjBTN49I&index=2 watch]] | |||
<br> * python에서 변수 사용, 생성하기, 그리고 활용하는 예 (8 min) [[https://www.youtube.com/watch?v=_LLC3Cnc8Bw&index=4&list=PLWm33cHVRby6FzafIXpZLxMTIIjBTN49I&t=0s watch]] | |||
<br> * Python의 연산자 종류와 사용 예 (10 min) [[https://www.youtube.com/watch?v=_T2MD7-Sk6A&t=0s&list=PLWm33cHVRby6FzafIXpZLxMTIIjBTN49I&index=5 watch]] | |||
|- | |||
! colspan="2" style="background: Turquoise; text-align:left;"| Week - 2 Python | |||
|- | |||
! style="text-align:left;"| Lecture : 12/09/2019 (Thu) ''Chuseok(추석)''' | |||
! style="text-align:left;"| Lab : 13/09/2019 (Fri) ''Chuseok(추석)''' | |||
|- | |||
| style="vertical-align: top;"| '''National Holiday''' | |||
| style="vertical-align: top;"| '''National Holiday''' | |||
|- | |||
! colspan="2" style="background: Turquoise; text-align:left;"| Week - 3 Python | |||
|- | |||
! style="text-align:left;"| Lecture : 19/09/2019 (Thu) '''For Loop''' | |||
! style="text-align:left;"| Lab : 20/09/2019 (Fri) '''input function''' | |||
|- | |||
| style="vertical-align: top;"| '''Reading:''' | |||
* for loop is a important building block, and widely used [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_rec/ICP_D03_01_for.pptx [pptx] ] [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_pdf/ICP_D03_01_for.pdf [pdf] ] | |||
<br> * In python, range function controls the number of iterations in for loop [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_rec/ICP_D03_02_range.pptx [pptx] ] [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_pdf/ICP_D03_02_range.pdf [pdf] ] | |||
<br> * flow diagram for the for loop and list [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_rec/ICP_D03_03_flow_list.pptx [pptx] ] [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_pdf/ICP_D03_03_flow_list.pdf [pdf] ] | |||
<br> '''Workbook:''' | |||
<br> * In class workbook for understanding the concepts of for loop (recommend to use github) [http://open.gnu.ac.kr/lecslides/2018-2-introProg/py_ws/WS_03_for.ipynb notebook] | |||
| style="vertical-align: top;"| '''Reading:''' | |||
* Introducing user interaction with input function [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_rec/ICP_D04_01_input.pptx [pptx] ] [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_pdf/ICP_D04_01_input.pdf [pdf] ] | |||
<br> '''Workbook:''' | |||
<br> * In class workbook for understanding the concepts of input (recommend to use github) [http://open.gnu.ac.kr/lecslides/2018-2-introProg/py_ws/WS_04_input.ipynb notebook] | |||
|- | |||
| colspan="2"| '''Video:''' | |||
* for 문장과 range 함수의 활용 (10 min) [[https://www.youtube.com/watch?v=IcIRxcYHH-I&t=0s&list=PLWm33cHVRby6FzafIXpZLxMTIIjBTN49I&index=6 watch]] | |||
<br> * input 함수의 활용과 입력한 값의 형의 이해 (9 min) [[https://www.youtube.com/watch?v=HQ06_ThCMkY&t=0s&index=7&list=PLWm33cHVRby6FzafIXpZLxMTIIjBTN49I watch]] | |||
|- | |||
! colspan="2" style="background: Turquoise; text-align:left;"| Week - 4 Python | |||
|- | |||
! style="text-align:left;"| Lecture : 26/09/2019 (Thu) '''if conditions''' | |||
! style="text-align:left;"| Lab : 27/09/2019 (Fri) '''while loop''' | |||
|- | |||
| style="vertical-align: top;"| '''Reading:''' | |||
* Evaluation of expression and logical operators [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_rec/ICP_D05_01_TF.pptx [pptx] ] [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_pdf/ICP_D05_01_TF.pdf [pdf] ] | |||
<br> * Controlling flow of a program with if and else [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_rec/ICP_D05_02_flow_cond.pptx [pptx] ] [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_pdf/ICP_D05_02_flow_cond.pdf [pdf] ] | |||
<br> * Introducing randomness to a program [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_rec/ICP_D05_03_random.pptx [pptx] ] [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_pdf/ICP_D05_03_random.pdf [pdf] ] | |||
<br> '''Workbook:''' | |||
<br> * In class workbook for understanding the concepts of flow of a program (recommend to use github) [http://open.gnu.ac.kr/lecslides/2018-2-introProg/py_ws/WS_05_cond.ipynb notebook] | |||
| style="vertical-align: top;"| '''Reading:''' | |||
* Another method of making a loop [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_rec/ICP_D06_01_while.pptx [pptx] ] [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_pdf/ICP_D06_01_while.pdf [pdf] ] | |||
<br> * flow diagram for while function [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_rec/ICP_D06_02_flow_while.pptx [pptx] ] [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_pdf/ICP_D06_02_flow_while.pdf [pdf] ] | |||
<br> '''Workbook:''' | |||
<br> * In class workbook for understanding the concepts of while loop (recommend to use github) [http://open.gnu.ac.kr/lecslides/2018-2-introProg/py_ws/WS_06_while.ipynb notebook] | |||
|- | |||
| colspan="2"| '''Video:''' | |||
* if 문장으로 조건 비교하여 실행하기 (15 min) [[https://www.youtube.com/watch?v=Czlotwgg0P0&t=46s&list=PLWm33cHVRby6FzafIXpZLxMTIIjBTN49I&index=8 watch]] | |||
<br> * for 문과 유사한 기능의 while문으로 반복 동작을 더 정교하게 조정하기 (7 min) [[https://www.youtube.com/watch?v=bSXZttF79xM&t=0s&index=9&list=PLWm33cHVRby6FzafIXpZLxMTIIjBTN49I watch]] | |||
|- | |||
! colspan="2" style="background: Turquoise; text-align:left;"| Week - 5 Python | |||
|- | |||
! style="text-align:left;"| Lecture : 03/10/2019 (Thu) | |||
! style="text-align:left;"| Lab : 04/10/2019 (Fri) '''Custom Functions''' | |||
|- | |||
| '''추석 연휴''' | |||
| style="vertical-align: top;"| '''Reading:''' | |||
* Dividing the code into functions to reduce the duplicate codes [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_rec/ICP_D07_01_func.pptx [pptx] ] [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_pdf/ICP_D07_01_func.pdf [pdf] ] | |||
<br> * Example of using function [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_rec/ICP_D07_02_func_ex.pptx [pptx] ] [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_pdf/ICP_D07_02_func_ex.pdf [pdf] ] | |||
<br> * flow diagram on function [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_rec/ICP_D07_03_flow_func.pptx [pptx] ] [http://open.gnu.ac.kr/lecslides/2018-2-introProg/slides_py_pdf/ICP_D07_03_flow_func.pdf [pdf] ] | |||
<br> '''Workbook:''' | |||
<br> * In class workbook for understanding the concepts of flow of a program (recommend to use github) [http://open.gnu.ac.kr/lecslides/2018-2-introProg/py_ws/WS_07_function.ipynb notebook] | |||
|- | |||
| colspan="2"| '''Video:''' | |||
* 함수의 작성의 문법과 활용의 예와 자기 자신을 다시 부르는 재귀함수의 예 (11 min) [[https://www.youtube.com/watch?v=eWNhiCgqR94&list=PLWm33cHVRby6FzafIXpZLxMTIIjBTN49I&index=10&t=0s watch]] | |||
|- | |||
! colspan="2" style="background: Turquoise; text-align:left;"| Week - 6 Python | |||
|- | |||
! style="text-align:left;"| Lecture : 10/10/2019 (Thu) '''Review''' | |||
! style="text-align:left;"| Lab : 11/10/2019 (Fri) '''Exam I''' | |||
|- | |||
| style="vertical-align: top;"| '''Workbook:''' | |||
* Practice before the exam [http://open.gnu.ac.kr/lecslides/2018-2-introProg/py_ws/WS_08_overall.ipynb notebook] | |||
| style="vertical-align: top;"| '''Exam''' | |||
* Place : 407-101 | |||
* Time : 16:00-18:00 | |||
|} | |} |
Revision as of 13:46, 18 July 2019
Class Information
Class Info | |
---|---|
Class | ETA00086 - 컴퓨터 프로그래밍 기초, ETA00087 컴퓨터 프로그래밍 기초 실습 |
Lecturer | Seongjin Lee |
Time and Place | A & B Group (Theory): 407-508 Thursday 14:00-16:00 |
A Group (Practice): 407-203, Friday 14:00-16:00 | |
B Group (Practice): 407-203, Friday 16:00-18:00 | |
1st Exam | on 11-Oct Friday 16:00-18:00 in 407-101 |
2nd Exam | on 15-Nov Friday 16:00-18:00 in 407-101 |
3rd Exam | on 13-Dec Friday 16:00-18:00 in 407-101 |
Office Hour | Tuesday: 11:00-12:00 |
Contacts | Office: 407-314 |
Email: insight at gnu dot ac dot kr |
Part I - Python
Week - 1 Python | |
---|---|
Lecture : 05/09/2019 (Thu) Introduction | Lab : 06/09/2019 (Fri) Variables |
Course Overview
* First, we will go through the course overview, and what you have to do to succeed in this class. Course Overview
|
Reading:
* Variables, operations, and expressions [pptx ] [pdf ]
|
Video:
* Spyder 실행하고 간단한 프로그램 작성하기 (11 min) [watch]
| |
Week - 2 Python | |
Lecture : 12/09/2019 (Thu) Chuseok(추석)' | Lab : 13/09/2019 (Fri) Chuseok(추석)' |
National Holiday | National Holiday |
Week - 3 Python | |
Lecture : 19/09/2019 (Thu) For Loop | Lab : 20/09/2019 (Fri) input function |
Reading:
* for loop is a important building block, and widely used [pptx ] [pdf ]
|
Reading:
* Introducing user interaction with input function [pptx ] [pdf ]
|
Video:
* for 문장과 range 함수의 활용 (10 min) [watch]
| |
Week - 4 Python | |
Lecture : 26/09/2019 (Thu) if conditions | Lab : 27/09/2019 (Fri) while loop |
Reading:
* Evaluation of expression and logical operators [pptx ] [pdf ]
|
Reading:
* Another method of making a loop [pptx ] [pdf ]
|
Video:
* if 문장으로 조건 비교하여 실행하기 (15 min) [watch]
| |
Week - 5 Python | |
Lecture : 03/10/2019 (Thu) | Lab : 04/10/2019 (Fri) Custom Functions |
추석 연휴 | Reading:
* Dividing the code into functions to reduce the duplicate codes [pptx ] [pdf ]
|
Video:
* 함수의 작성의 문법과 활용의 예와 자기 자신을 다시 부르는 재귀함수의 예 (11 min) [watch] | |
Week - 6 Python | |
Lecture : 10/10/2019 (Thu) Review | Lab : 11/10/2019 (Fri) Exam I |
Workbook:
* Practice before the exam notebook |
Exam
* Place : 407-101 * Time : 16:00-18:00
|