CS2911 Week 3, Lab Today Thursday Friday Review Muddiest Point Lab 3

Slides:



Advertisements
Similar presentations
Introduction 1-1 Chapter 3 Transport Layer Intro and Multiplexing Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley.
Advertisements

Computer Communication Digital Communication in the Modern World Transport Layer Multiplexing, UDP
TCP Sockets Reliable Communication. TCP As mentioned before, TCP sits on top of other layers (IP, hardware) and implements Reliability In-order delivery.
C Programming Lecture 3. The Three Stages of Compiling a Program b The preprocessor is invoked The source code is modified b The compiler itself is invoked.
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
SE-1021 Software Engineering II Week 8, Class 1 Return Exam Producing UML diagrams automatically in EA Poll Everywhere Files Tomorrow Week 6 HW due (if.
TCP Sockets Reliable Communication. TCP As mentioned before, TCP sits on top of other layers (IP, hardware) and implements Reliability In-order delivery.
CS2910 Week 1, Class 2 Today Announce Prof. Michael Vieau’s S-341 6p Thurs Wk 2 Assignment for tomorrow Data Encoding, Part 1 Parsing Data Muddiest Point.
CS2910 Week 1, Class 1 Today Introductions Class/Lab Layout Safety Review - Note about Lab Safety Review Announce Prof. Michael Vieau’s S-341 6p Thurs.
CS2910 Week 2, Class 1 Today Data Encoding, Part 1 Parsing Data Python Muddiest Point Lab 2 – Bring text In Class, Thursday: Quiz Week 6, Monday: Midterm.
CS2910 Week 5, Class 2 Today DNS Muddy Points More HTTP Headers Review for Midterm Exam This coming Monday: Midterm Exam SE-2811 Slide design: Dr. Mark.
CS2910 Week 2, Class 1 Today Return Lab 1 Muddiest Points Quiz Parsing Data in Python SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors:
CS2852 Week 7, Class 1 Today Binary Search Tree Implementing add Implementing find Return Quiz 4 (second attempt) Both sections are graded SE-2811 Slide.
CS2852 Week 6, Class 2 Today Class exercise: Implementing a recursive method Binary Search Trees Tomorrow: Quiz at start of lab Implementing a recursive.
CS2910 Week 4, Class 1 Today Encoding in Python – Review Quiz – Encoding in Python Introduction to HTTP SE-2811 Slide design: Dr. Mark L. Hornick Content:
Week 7, Class 1: The Command Pattern (cont.) Get Ready for Poll Everywhere Labs 2 & 3 returned Lab 7 due this evening at 11pm Quiz tomorrow at start of.
CS2910 Week 4, Class 2 Today Sit by someone you have not yet worked with this quarter. Learn his/her name if unknown. Turn on your laptop and start Wireshark.
CS2910 Week 3, Class 1 Today What is a protocol? Using TCP in Python Defining methods in Python Long procedure design SE-2811 Slide design: Dr. Mark L.
CS2910 Week 8, Class 2 Today Return Quiz Look at Schedule TCP implementation! Week 8, Monday Quiz on SMTP May include some questions requiring you to interpret.
NXT File System Just like we’re able to store multiple programs and sound files to the NXT, we can store text files that contain information we specify.
Ch. 23, 25 Q and A (NAT and UDP) Victor Norman IS333 Spring 2015.
CS2911 Week 6, Lab Today Quiz 3 Review Muddiest Point Finish Lab 6 Start Lab 7 Muddiest Point This week, Lab: Quiz at start of lab Week 7, Monday: Half-Exam.
CS2911 Week 3, Class 2 Today Return Lab 3 Afternoon section: Hand out Lab 4 Checklist Review Muddiest Point Questions on Lab 4? What is a protocol? The.
Chapter 3 Transport Layer
Chapter 3 Transport Layer
Transport Layer Slides are originally from instructor: Carey Williamson at University of Calgary Very minor modification are made Notes derived from “Computer.
Week 2 - Wednesday CS 121.
Slide design: Dr. Mark L. Hornick
Introduction to Python
CMSC201 Computer Science I for Majors Lecture 22 – Binary (and More)
SE-1011 Slide design: Dr. Mark L. Hornick Instructor: Dr. Yoder
CS2911 Week 6, Class 1 Today Map (dict) objects in Python
SE-1021 Software Engineering II
CS2911 Week 6, Class 1 Today This week, Lab: Quiz at start of lab
Slide design: Dr. Mark L. Hornick
Variables, Expressions, and IO
Slide design: Dr. Mark L. Hornick
Net 323 D: Networks Protocols
CS2911 Week 6, Class 1 Today Map (dict) objects in Python
CS2911 Week 4, Class 2 Today Next Thursday:
Chapter 3 Transport Layer
Engineering Innovation Center
Strings, Line-by-line I/O, Functions, Call-by-Reference, Call-by-Value
Slide design: Dr. Mark L. Hornick
File Handling Programming Guides.
SE-1021 Software Engineering II
First Python Program Professor Hugh C. Lauer CS-1004 — Introduction to Programming for Non-Majors (Slides include materials from Python Programming: An.
Net 323 D: Networks Protocols
4.1 Strings ASCII & Processing Strings with the Functions
Socket Programming.
CSCD 330 Network Programming
functions: argument, return value
CS2911 Week 8, Class 1 Today Week 8, Lab period Muddiest Point
CS2911 Week 5, Class 3 Today Week 6, Lab: Quiz at start of lab
SE-1011 Slide design: Dr. Mark L. Hornick Instructor: Dr. Yoder
SE-1021 Software Engineering II
Slide design: Dr. Mark L. Hornick
Slide design: Dr. Mark L. Hornick
CS2911 Week 6, Class 1 Today Map (dict) objects in Python
CS2911 Week 2, Class 3 Today Return Lab 2 and Quiz 1
CS2911 Week 3, Class 3 (And wk4-c1)
Slide design: Dr. Mark L. Hornick
SE-1011 Slide design: Dr. Mark L. Hornick Instructor: Dr. Yoder
SE-1011 Slide design: Dr. Mark L. Hornick Instructor: Dr. Yoder
Chapter 3 Transport Layer
Slide design: Dr. Mark L. Hornick
Intro to Computer Science CS1510 Dr. Sarah Diesburg
Exceptions and networking
Transport Layer Our goals:
Presentation transcript:

CS2911 Week 3, Lab Today Thursday Friday Review Muddiest Point Lab 3 6 May 2019 CS2911 Week 3, Lab Today Review Muddiest Point Lab 3 Lab 4 Muddiest Point Thursday Friday Quiz 2: Encoding in Python 17q1 3-1 1,2,5-9,11-15 17q1 v (started 1_1) Recall the raw representations of the ASCII characters '\r' (CR) and '\n' (LF) v(started 1_1) Recall the raw representations of the ASCII characters A, B, C, D, E, a, b, c, d, e, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 v(started 1_2) Convert a many-digit binary number to its big-endian and little-endian formats v(started 1_2) Give examples of common systems using the big-endian and little-endian formats v Describe the difference between a compiled an an interpreted language v Write a list literal in Python v Write a tuple literal in Python v Index into a tuple or list in Python v Describe the difference between lists and tuples   v Write if-statements in Python v Write a counting (for) loop in Python v Write a sentinel-value (while) loop in Python Write code that manipulates raw bytes in Python using ord(), chr(), int.from_bytes(), and i.to_bytes() Write code that interprets and formats strings using str() and int() (Write exceptions in Python) Declare a Python method Write a string literal in Python Write a bytes literal in Python CS2911 Dr. Yoder Dr. Josiah Yoder

CS2911 6 May 2019 Muddiest Point 3-1 Still feel confused about the differences between TCP and UDP. TCP vs UDP Are we writing the next_bytes method in our lab 3? Lab 3 Will we be expected to actually program a client and server in Python in class/lab Labs Where are all the python code coming from? Are they all from our notes? For example, I did not remember the to_bytes thing. [class 2-1, slide 33] class slides An IPv6 packet walks into a bar. Nobody talks to him joke Does 'host' mean client? terminology What happens if you do not close the socket? sockets Is the code from the slides today sort of what we need to gear towards in our lab code? Dr. Josiah Yoder

CS2911 6 May 2019 Muddiest Point 3-1 Could you walk the class through how to solve and write the Python code in the last exercise we did? Storing 2000 as a 2 byte big-endian raw binary number? encoding in python The great thing about TCP jokes is that you always get them. joke What kind of labs can we expect later in the course? Are we going to get into setting up a sever that can actually handle multiple clients at once? [Yes, but multithreading code is provided] Labs 4-10 Where is the socket located? Built into the application layer, or known by the socket? sockets A TCP packet walks in to a bar and says "I want a beer", barman says "you want a beer?" and TCP packet says "yes, a beer". Dr. Josiah Yoder

CS2911 6 May 2019 Muddiest Point 3-1 Confused as to the way TCP demultiplexes. How is it sure it is ordering all the packets, and how is it sure if a packet hasn't been delivered? Does it require a return? tcp implementation still lost in Python encoding in python? I'd tell you a UDP joke but I don't know if you'd get it joke Could you give more examples of coding in Python? [Please run example code from slides in Python Console] character what does listen_socket.accept() return? sockets from_bytes is still a little off to me, it doesn't seem to return what i expect yet encoding in python Does TCP make things easier for the application side of the client? Dr. Josiah Yoder

Questions about Lab 3? Design process How to implement in Python? CS2911 6 May 2019 Questions about Lab 3? Design process How to implement in Python? Protocol definition What your code should do Receive message Print to screen or write to file … Dr. Josiah Yoder

Questions about Lab 4? CS2911 Dr. Yoder

https://www.polleverywhere.com/free_text_polls/zIp2tH2IVWjXv4H CS2910 5/6/2019 What was the muddiest point? SE-2811 Dr. Josiah Yoder Dr. Josiah Yoder

CS2911 6 May 2019 Acknowledgement This course is based on the text Computer Networking: A Top Down Approach 7th edition Jim Kurose, Keith Ross Addison-Wesley Dr. Josiah Yoder