Preview Test: HW3. Test Information Description Due:Nov. 3

Similar documents
COMPUTER NETWORK. Homework #2. Due Date: April 12, 2017 in class

PROBLEMSAND EXERCISES

c. If the sum contains a zero, the receiver knows there has been an error.

Computer Networks. Homework #4: No Grading

Chapter 23 Process-to-Process Delivery: UDP, TCP, and SCTP 23.1

Transport Layer PREPARED BY AHMED ABDEL-RAOUF

MIDTERM EXAMINATION #2 OPERATING SYSTEM CONCEPTS U N I V E R S I T Y O F W I N D S O R S C H O O L O F C O M P U T E R S C I E N C E

Problem 7. Problem 8. Problem 9

Networking Technologies and Applications

Chapter 3 Review Questions

Lecture 20 Overview. Last Lecture. This Lecture. Next Lecture. Transport Control Protocol (1) Transport Control Protocol (2) Source: chapters 23, 24

file:///c:/users/hpguo/dropbox/website/teaching/fall 2017/CS4470/H...

PLEASE READ CAREFULLY BEFORE YOU START

PLEASE READ CAREFULLY BEFORE YOU START

CS164 Final Exam Winter 2013

23-3 TCP. Topics discussed in this section: TCP Services TCP Features Segment A TCP Connection Flow Control Error Control 23.22

ECE697AA Lecture 3. Today s lecture

The Transport Layer: TCP & Reliable Data Transfer

Chapter 24. Transport-Layer Protocols

CSC 4900 Computer Networks: TCP

COM-208: Computer Networks - Homework 3

Chapter 3: Transport Layer. Chapter 3 Transport Layer. Chapter 3 outline. Transport services and protocols

05 Transmission Control Protocol (TCP)

ICS 451: Today's plan. Sliding Window Reliable Transmission Acknowledgements Windows and Bandwidth-Delay Product Retransmission Timers Connections

Answers to Sample Questions on Transport Layer

TCP and Congestion Control (Day 1) Yoshifumi Nishida Sony Computer Science Labs, Inc. Today's Lecture

Practice Problems: P22, 23, P24, P25, P26, P27, P28, P29, P30, P32, P44 and P45. Hand-in the following: P27, P28, P32, P37, P44

CSE 123: Computer Networks

UNIT IV -- TRANSPORT LAYER

Lecture 3: The Transport Layer: UDP and TCP

Introduction to the Transport Layer

Computer Networks. Homework #3: Due 11 November 2015 (Wednesday) Just before Midterm#2!

Chapter 6. What happens at the Transport Layer? Services provided Transport protocols UDP TCP Flow control Congestion control

IS370 Data Communications and Computer Networks. Chapter 5 : Transport Layer

Communication Networks

TCP/IP-2. Transmission control protocol:

Transport Layer. Application / Transport Interface. Transport Layer Services. Transport Layer Connections

TCP : Fundamentals of Computer Networks Bill Nace

RSC Part III: Transport Layer 3. TCP

ECE 610: Homework 4 Problems are taken from Kurose and Ross.

Q U E S T I O N 3 In the current version of IP (IPv4), the use of TCP and UDP headers differ in which of the following ways?

Chapter 3: Transport Layer Part A

TCP: Flow and Error Control

Transport Layer (TCP/UDP)

Unit 2.

Announcements Computer Networking. Outline. Transport Protocols. Transport introduction. Error recovery & flow control. Mid-semester grades

ETSF05/ETSF10 Internet Protocols Transport Layer Protocols

Application. Transport. Network. Link. Physical

Guide To TCP/IP, Second Edition UDP Header Source Port Number (16 bits) IP HEADER Protocol Field = 17 Destination Port Number (16 bit) 15 16

User Datagram Protocol

The GBN sender must respond to three types of events:

Chapter 3 outline. 3.5 connection-oriented transport: TCP segment structure reliable data transfer flow control connection management

32 bits. source port # dest port # sequence number acknowledgement number not used. checksum. Options (variable length)

CSC 401 Data and Computer Communications Networks

I TCP 1/2. Internet TA: Connection-oriented (virtual circuit) Connectionless (datagram) (flow control) (congestion control) TCP Connection-oriented

Q23-5 In a network, the size of the receive window is 1 packet. Which of the follow-ing protocols is being used by the network?

Announcements. No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6

Internet transport-layer protocols. Transport services and protocols. Sending and receiving. Connection-oriented (TCP) Connection-oriented

a) Adding the two bytes gives Taking the one s complement gives

No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6

Outline. Connecting to the access network: DHCP and mobile IP, LTE. Transport layer: UDP and TCP

UNIT IV TRANSPORT LAYER

UNIVERSITY OF TORONTO FACULTY OF APPLIED SCIENCE AND ENGINEERING

Lecture 5. Transport Layer. Transport Layer 1-1

CS457 Transport Protocols. CS 457 Fall 2014

NWEN 243. Networked Applications. Layer 4 TCP and UDP

TCP/IP Protocol Suite 1

Topics. TCP sliding window protocol TCP PUSH flag TCP slow start Bulk data throughput

PLEASE READ CAREFULLY BEFORE YOU START

Computer Networking Introduction

TCP reliable data transfer. Chapter 3 outline. TCP sender events: TCP sender (simplified) TCP: retransmission scenarios. TCP: retransmission scenarios

Solution to Question 1: ``Quickies'' (25 points, 15 minutes)

Internet Networking recitation #10 TCP New Reno Vs. Reno

Computer Communication Networks Midterm Review

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 9

Transport Layer. Gursharan Singh Tatla. Upendra Sharma. 1

Computer Networking Introduction

Network Technology 1 5th - Transport Protocol. Mario Lombardo -

TSIN02 - Internetworking

CS321: Computer Networks Error and Flow Control in TCP

Correcting mistakes. TCP: Overview RFCs: 793, 1122, 1323, 2018, TCP seq. # s and ACKs. GBN in action. TCP segment structure

Programming Assignment 3: Transmission Control Protocol

User Datagram Protocol (UDP):

CS 640 Introduction to Computer Networks Spring 2009

Student ID: CS457: Computer Networking Date: 3/20/2007 Name:

Suprakash Datta. Office: CSEB 3043 Phone: ext Course page:

Chapter 23 Process-to-Process Delivery: UDP, TCP, and SCTP

10 minutes survey (anonymous)

OSI Transport Layer. objectives

Transport services and protocols. Chapter 3 outline. Internet transport-layer protocols Chapter 3 outline. Multiplexing/demultiplexing

Transport Over IP. CSCI 690 Michael Hutt New York Institute of Technology

CS 716: Introduction to communication networks th class; 7 th Oct Instructor: Sridhar Iyer IIT Bombay

ERROR AND FLOW CONTROL. Lecture: 10 Instructor Mazhar Hussain

CSCI Topics: Internet Programming Fall 2008

NT1210 Introduction to Networking. Unit 10

Lecture 08: The Transport Layer (Part 2) The Transport Layer Protocol (TCP) Dr. Anis Koubaa

Chapter 3: Transport Layer

TCP/IP. Chapter 5: Transport Layer TCP/IP Protocols

TSIN02 - Internetworking

CSE 4213: Computer Networks II

Transcription:

Preview Test: HW3 Test Information Description Due:Nov. 3 Instructions Multiple Attempts Not allowed. This test can only be taken once. Force Completion This test can be saved and resumed later. Question Completion Status: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Save and Submit QUESTION 1 UDP and TCP use 1s complement for their checksums. Suppose you have the following three 8- bit bytes: 01010011, 01100110, 01110100. What is the 1s complement of the sum of these 8- bit bytes? QUESTION 2 Suppose Host A sends one segment with sequence number 38 and 4 bytes of data over a TCP connection to Host B. In this same segment the acknowledgment number is necessarily 42. QUESTION 3 In TCP, the acknowledgement number that a host puts in a segment is the sequence number of the next byte the host is expecting from the sender. QUESTION 4 The size of the TCP rwnd never changes throughout the duration of the connection. QUESTION 5 The TCP segment has a field in its header for rwnd.

QUESTION 6 Suppose Host A sends two TCP segments back to back to Host B over a TCP connection. The first segment has sequence number 90; the second has sequence number 110. a. How much data is in the first segment? b. Suppose that the first segment is lost but the second segment arrives at B. In the acknowledgment that Host B sends to Host A, what will be the acknowledgment number? Write your answer with the above order. QUESTION 7 Pipelining requires which of the following transmitting many packets before receiving acknowledgements unique sequence numbers for each in-transit packet sender-side buffering of unacknowledged packets all of the above QUESTION 8 UDP has which of the following characteristics: three-way hand shake for connection establishment regulated send rate connection state at the server none of the above QUESTION 9 Given GBN protocol scenario in below diagram, describe what would happen for each of the numbered time ((10 through (5)) instants. Assume the sender s window size may hold 5 packets

10 points QUESTION 10 Given Selective-Repeat protocol scenario in below diagram, describe what would happen at each numbered ((1) through (6))time instants. Also, describe the contents of sender and receiver s windows at each of these time instants. When you describe the contents of the sender window s contents, identify the packets which are acknowledged. When you describe the contents of the receiver window s contents, identify the packets which are buffered but can t be delivered to the application. Assume the sender s and receiver s windows may hold 6 packets each.

QUESTION 11 The MSS is the maximum size of a TCP segment including headers. 12 points QUESTION 12 Suppose Host A is sending Host B a large file over a TCP connection. The number of unacknowledged bytes that A sends cannot exceed the size of the receive buffer. QUESTION 13 Over a TCP connection, suppose host A sends two segments to host B, host B sends an acknowledgement for each segment, the first acknowledgement is lost, but the second acknowledgement arrives before the timer for the first segment expires. Host A will retransmit the first segment Host A will retransmit the second segment

Host A will retransmit neither segments Host A will retransmit both segments QUESTION 14 Describe about threeway handshaking QUESTION 15 When a UDP segment arrives to a host, in order to direct the segment to the appropriate socket, the OS uses the source port number the destination port number the source IP address all of the above QUESTION 16 Consider the following diagram for connection oriented demultiplexing process. Fill out 4 numbered fields ((1) through (4)) with proper port numbers. QUESTION 17 TCP applies fast retransmit to a segment when 8 points the segment's timer expires when it receives three ACKs for an earlier segment

it estimates unusually large RTTs none of the above