Introduction to Computer Networks Online

64
Introduction to Computer Networks Online Polly Huang EE NTU http://homepage.ntu.edu.tw/~pollyhuang [email protected] Polly Huang, NTU EE 1

Transcript of Introduction to Computer Networks Online

Page 1: Introduction to Computer Networks Online

Introduction to Computer NetworksOnline

Polly HuangEE NTU

http://homepage.ntu.edu.tw/[email protected]

Polly Huang, NTU EE 1

Page 2: Introduction to Computer Networks Online

Polly Huang, NTU EE 2

Vital Information

• Course : 電腦網路導論• Taught by : 黃寶儀• Class No. : EE4020

901E31110• Credit : 3 units

Page 3: Introduction to Computer Networks Online

Special Course

• Sponsored by NTU/MOE• Designed to promote

– Interaction (not just student-instructor)– Independent/team problem solving– Tolerance to different perspectives (justify

your own solutions/opinions)• Space limited

– due to course nature and resource constraintPolly Huang, NTU EE 3

Page 4: Introduction to Computer Networks Online

100% Online

• Lectures and Quizzes on YouTube• Quizzes and Q&A on Slack• Exams as Google Forms

Polly Huang, NTU EE 4

Page 5: Introduction to Computer Networks Online

Polly Huang, NTU EE 5

99% in English

• All Communication in English, including– Lectures– Homework– Exams– In/off-class interaction

• One slight exception– You may fall back to Chinese during the live

sessions if you are really short of words

Page 6: Introduction to Computer Networks Online

Polly Huang, NTU EE 6

Be Aware

• Credits are granted only when the English is comprehensible– Keep your words/sentences simple– The point is to communicate

Page 7: Introduction to Computer Networks Online

Add Code?

• Due to the online format– hopefully low 30s…

• First come, first serve – by email– State your name, dept, year

Polly Huang, NTU EE 7

Page 8: Introduction to Computer Networks Online

Polly is not nice!

Polly Huang, NTU EE 8

Page 9: Introduction to Computer Networks Online

Polly Huang, NTU EE 9

Semester Grade Histogram - 2004 Fall

0

5

10

15

20

25

30

0 20 40 60 80 100

Grade

# of

Stu

dent

s

Page 10: Introduction to Computer Networks Online

Polly Huang, NTU EE 10

Semester Grade Histogram - 2005 Fall

0

10

20

30

40

50

0 20 40 60 80 100Grade

# of

Stu

dent

s

Page 11: Introduction to Computer Networks Online

Polly Huang, NTU EE 11

Semester Grade Histgram - 2006 Fall

0

10

20

30

40

0 20 40 60 80 100

Grade

# of

Stu

dent

s

Page 12: Introduction to Computer Networks Online

Polly Huang, NTU EE 12

0

5

10

15

20

25

30

35

0 20 40 60 80 100

# of

Stu

dent

s

Grade

Semester Grade Histogram - 2007 Fall

Page 13: Introduction to Computer Networks Online

Polly Huang, NTU EE 13

0

5

10

15

20

25

30

35

40

0 20 40 60 80 100

# of

Stu

dent

s

Grade

Semester Grade Histogram - 2008 Fall

Page 14: Introduction to Computer Networks Online

Polly Huang, NTU EE 14

Grade

# of

Stu

dent

s

0

2

4

6

8

10

12

14

16

18

0 10 20 30 40 50 60 70 80 90 100

Semester Grade Histogram - 2009 Fall

Page 15: Introduction to Computer Networks Online

Polly Huang, NTU EE 15

0

2

4

6

8

10

12

0 10 20 30 40 50 60 70 80 90 100

Count

Grade

Semester Grade Histogram - 2012 Fall

Page 16: Introduction to Computer Networks Online

Polly Huang, NTU EE 16

0

2

4

6

8

10

12

0 10 20 30 40 50 60 70 80 90 100

Count

Grade

Semester Grade Histogram - 2014 Fall

Page 17: Introduction to Computer Networks Online

Polly Huang, NTU EE 17

0

1

2

3

4

0 10 20 30 40 50 60 70 80 90 100

Count

Grade

Semester Grade Histogram - 2015 Fall

Page 18: Introduction to Computer Networks Online

Polly Huang, NTU EE 18

0

2

4

6

8

10

12

0 10 20 30 40 50 60 70 80 90 100

Coun

t

Grade

Semester Grade Histogram - Fall 2016

Page 19: Introduction to Computer Networks Online

Polly Huang, NTU EE 19

0

2

4

6

8

10

12

14

16

18

0 10 20 30 40 50 60 70 80 90 100

Semester Grade Histogram - Fall 2018Co

unt

Grade

Page 20: Introduction to Computer Networks Online

Polly Huang, NTU EE 20

0

2

4

6

8

10

12

0 10 20 30 40 50 60 70 80 90 100

Coun

t

Grade

Semester Grade Histogram - Fall 2019

Page 21: Introduction to Computer Networks Online

Polly Huang, NTU EE 21

Page 22: Introduction to Computer Networks Online

Polly Huang, NTU EE 22

Page 23: Introduction to Computer Networks Online

Cautions• Socket Programming

– Go (or Golang)

• Quiz set– Adapted for the lecturing format– Interaction helps

• Exams– Online google form– Too long to complete

Polly Huang, NTU EE 23

Page 24: Introduction to Computer Networks Online

Please bear with us!

• Online participation– Stability is up to our ISPs– Not perfectly real time

• Lecture as videos on YouTube– Shorter video units– Easier to catch up

Polly Huang, NTU EE 24

Page 25: Introduction to Computer Networks Online

Why Go?

Polly Huang, NTU EE 25

Page 26: Introduction to Computer Networks Online

Polly Huang, NTU EE 26

Page 27: Introduction to Computer Networks Online

Polly Huang, NTU EE 27

Page 28: Introduction to Computer Networks Online

Open Source!

(polly’s bias)

Polly Huang, NTU EE 28

Page 29: Introduction to Computer Networks Online

Polly Huang, NTU EE 29

WWW SlackYouTube

Page 30: Introduction to Computer Networks Online

The Class Admin

Polly Huang, NTU EE 30

Page 31: Introduction to Computer Networks Online

Polly Huang, NTU EE 31

Roadmap• The essentials• Administrative Information• Content

– Course objective and scope– Schedule and topics

• Your responsibility & Grading policy– Homework– Quiz + Class participation– Exams

• Class material

Page 32: Introduction to Computer Networks Online

Polly Huang, NTU EE 32

The Essentials

• Course page– http://homepage.ntu.edu.tw/~pollyhuang/teach/intro

-cn-fall-21/

• Polly Huang– http://homepage.ntu.edu.tw/~pollyhuang– Click the ‘Teaching’ link– Then, click the ‘Fall 2021’ under the ‘Introduction to Computer

Networks’ category

Page 33: Introduction to Computer Networks Online

Polly Huang, NTU EE 33

Roadmap• The essentials• Administrative Information• Content

– Course objective and scope– Syllabus

• Your responsibility & Grading policy– Homework– Quiz + Class participation– Exams

• Class material

Page 34: Introduction to Computer Networks Online

Polly Huang, NTU EE 34

Lecture Info

• Location– YouTube

• Time– Wednesday, 13:20-14:10– Thursday, 10:20-12:10

Page 35: Introduction to Computer Networks Online

Polly Huang, NTU EE 35

The Instructor

• Polly Huang– Office: BL, Room 613– Phone: 3366-3599– Email: [email protected]– Homepage:

http://homepage.ntu.edu.tw/~pollyhuang

Page 36: Introduction to Computer Networks Online

Polly Huang, NTU EE 36

Office Hour

• Thursday 12:20-13:10– Or by appointment

• Via Slack, Meet, or in person (mask on)

Page 37: Introduction to Computer Networks Online

Polly Huang, NTU EE 37

The TA

• Polly as well XD

Page 38: Introduction to Computer Networks Online

Polly Huang, NTU EE 38

Roadmap• The essentials• Administrative Information• Content

– Course objective and scope– Schedule and topics

• Your responsibility & Grading policy– Homework– Quiz + Class participation– Exams

• Class material

Page 39: Introduction to Computer Networks Online

Polly Huang, NTU EE 39

Nature

• A first course on the Internet• Designed for EECS students

Page 40: Introduction to Computer Networks Online

Polly Huang, NTU EE 40

Prerequisite

• Must– Introduction to Computer Programming– Introduction to Computers (Science)

• Preferred– Data Structure and Computer Programming

Page 41: Introduction to Computer Networks Online

Polly Huang, NTU EE 41

Objectives

• Knowing the existence and the components of the Internet (what)

• Examining the mechanisms running in various components (how)

• Understanding the nature of the problems these mechanisms are trying to solve (why)

Page 42: Introduction to Computer Networks Online

Polly Huang, NTU EE 42

Scope

• The data network, a.k.a. the Internet

• By the layers– Application Layer, Transport Layer, Network

Layer, Link Layer• By the common functions across layers

– Mobile Wireless Networking, Multimedia Networking

Page 43: Introduction to Computer Networks Online

Polly Huang, NTU EE 43

Syllabus+Schedule: 1st 1/3

• W1 09/22- Class Admin, Overview• W2 09/29- Overview (PA#1 due 10/02)• W3 10/06- Application (PA#2 due 10/09)• W4 10/13- Application• W5 10/20- Application (PA#3 due 10/23)• W6 10/27- Exam #1 (10/28)

Page 44: Introduction to Computer Networks Online

Polly Huang, NTU EE 44

Syllabus+Schedule: 2nd 1/3

• W7 11/03- Transport (PA#4 due 11/06)• W8 11/10- Transport (PA#5 due 11/13)• W9 11/17- Transport (PA#6 due 11/20)• W10 11/24- Transport (PA#7 due 11/27)• W11 12/01- Exam #2 (12/02)

Page 45: Introduction to Computer Networks Online

Polly Huang, NTU EE 45

Syllabus+Schedule: 3rd 1/3

• W12 12/08- Network • W13 12/15- Network (PA#8 due 12/18)• W14 12/22- Network (PA#9 due 12/25)• W15 12/29- Network• W16 01/05- Exam #3 (01/06)

Page 46: Introduction to Computer Networks Online

46

Roadmap• The essentials• Administrative Information• Content

– Course objective and scope– Syllabus

• Your responsibility & Grading policy– Homework– Quiz & Class participation– Exams

• Class material

Polly Huang, NTU EE

Page 47: Introduction to Computer Networks Online

Polly Huang, NTU EE 47

Grading• Homework

– Programming assignments (35%)– PA1 (3%), PA2-PA9 (4%)

• Interaction– Pop-Up Quiz (30%)– Participation (5%)

• Exams– 3 exams (30%)– 10/28, 12/02, 01/06

Page 48: Introduction to Computer Networks Online

Polly Huang, NTU EE 48

Team vs. Individual• Teamwork

– Programming assignments (35%)– Pop-Up Quiz (30%)

• Individual– Participation (5%)– Exams (30%)

Page 49: Introduction to Computer Networks Online

Polly Huang, NTU EE 49

Team Up – Loners Allowed

• 1-3 students per team– No more

• Same members for – Programming Assignment– Pop-Up Quiz

• Break-up allowed– But be cautious of your decision

Page 50: Introduction to Computer Networks Online

Polly Huang, NTU EE 50

Homework Assignments

• 9 programming assignments– Unix and Go socket programming

• Submission all in electronic format

Page 51: Introduction to Computer Networks Online

Polly Huang, NTU EE 51

Programming Assignments

• Stage 1 – TCP socket– PA1: Unix commands– PA2: accessing file– PA3: file upload client– PA4: file upload server (1 upload)– PA5: looping server (multiple uploads)– PA6: concurrent server (parallel uploads)

Page 52: Introduction to Computer Networks Online

Polly Huang, NTU EE 52

Programming Assignments

• Stage 2 – Web server– PA7: web request interpreter– PA8: web response sender– PA9: secure web server– needs more self-help and creativity

Page 53: Introduction to Computer Networks Online

Polly Huang, NTU EE 53

In-Class Quizzes• Random quiz

– Problem related to the topics of the week– Given time to work in class– Posted on Slack, 1 channel per quiz

• To fulfill this requirement– Solve it in class (just speak or type)– Post your solutions on Slack by Saturday 18:00– First or unique sharing get extra points (5%)– Graded on completion rate (25%)

Page 54: Introduction to Computer Networks Online

Late assignment penalty

• ~1hrs: -10% • ~6hrs: -20%• ~12hrs: -40%• ~24hrs: -80%• Otherwise: -100%

Polly Huang, NTU EE 54

Page 55: Introduction to Computer Networks Online

Polly Huang, NTU EE 55

Class Participation

• Interaction counts– Remember to identify yourself

• Interaction includes– Interacting in lecture, online, email, etc– Interacting with polly/other students

• Graded on curve (scale to min/max of the class)

Page 56: Introduction to Computer Networks Online

Polly Huang, NTU EE 56

Exams• 3 exams (30%)

– Google Form– Google Meet

• In Q&A form• Old exams available from the class page• No early/makeup exams

Page 57: Introduction to Computer Networks Online

Polly Huang, NTU EE 57

Integrity

• Shall there be any cheating behavior involved– You receive 0 for the grade– The case reported to the department and the

university

Page 58: Introduction to Computer Networks Online

Gentle Reminder:

Polly is not nice!

Polly Huang, NTU EE 58

Page 59: Introduction to Computer Networks Online

Polly Huang, NTU EE 59

Roadmap• The essentials• Administrative information• Content

– Course objective and scope– Syllabus

• Your responsibility & Grading policy– Homework– Quiz + Class participation– Exams

• Class material

Page 60: Introduction to Computer Networks Online

Polly Huang, NTU EE 60

Class Material

• TextbookComputer Networking: A Top-Down Approach, 7/eJames F. Kurose & Keith W. Ross(8/e just out but few diffs)

• Go reference bookAn Introduction to Programming in GoCaleb Doxsey

Page 61: Introduction to Computer Networks Online

Polly Huang, NTU EE 61

Additional Material

• Lecture slides in pdf format• Lecture videos on YouTube• Everything else on Slack

• URLs available from the course page

Page 62: Introduction to Computer Networks Online

Polly Huang, NTU EE 62

Which is again here:

• Course page– http://homepage.ntu.edu.tw/~pollyhuang/teach/intro

-cn-fall-21/

• Polly Huang– http://homepage.ntu.edu.tw/~pollyhuang– Click the ‘Teaching’ link– Then, click the ‘Fall 2021’ under the ‘Introduction to Computer

Networks’ category

Page 63: Introduction to Computer Networks Online

Questions?

Or join the Slack group and post!

Polly Huang, NTU EE 63

Page 64: Introduction to Computer Networks Online

Quiz Time!

Polly Huang, NTU EE 64