SE 4C03 Winter Midterm Test Answer Key. Instructor: Kartik Krishnan

Similar documents
SE 4C03 Winter Sample Midterm Test. Instructor: Kartik Krishnan

SE 4C03 Winter Final Examination Answer Key. Instructor: William M. Farmer

Department of Computer Science and Engineering. COSC 4213: Computer Networks II (Fall 2005) Instructor: N. Vlajic Date: November 3, 2005

CS164 Final Exam Winter 2013

Software Engineering 4C03 Answer Key

1. (10 points): For each of the following, choose exactly one best answer.

Internet Protocols (chapter 18)

TCP/IP and the OSI Model

CSE 123: Computer Networks Fall Quarter, 2013 MIDTERM EXAM

Midterm I of Computer Communication , Winter 2004 Electrical and Computer Engineering Department, University of Windsor

TCP/IP THE TCP/IP ARCHITECTURE

CCNA Access List Questions

05 Transmission Control Protocol (TCP)

ITEC 3210 M - Applied Data Communications and Networks. Professor: Younes Benslimane, Ph.D.

CS 421: COMPUTER NETWORKS SPRING FINAL May 16, minutes

Just enough TCP/IP. Protocol Overview. Connection Types in TCP/IP. Control Mechanisms. Borrowed from my ITS475/575 class the ITL

ECE 461 Internetworking Fall Quiz 1

Your Name: Your student ID number:

ICS 451: Today's plan

THE HONG KONG POLYTECHNIC UNIVERSITY. Department of Computing. This is an open-book examination.

Internetworking/Internetteknik, Examination 2G1305 Date: August 18 th 2004 at 9:00 13:00 SOLUTIONS

CS 421: COMPUTER NETWORKS SPRING FINAL May 24, minutes. Name: Student No: TOT

EE122 - Midterm 1 Examination EECS-UC Berkeley October 2000

IP: Addressing, ARP, Routing

Vorlesung Kommunikationsnetze

CS 421: COMPUTER NETWORKS FALL FINAL January 10, minutes

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

COMPUTER NETWORK. Homework #3. Due Date: May 22, 2017 in class

cs144 Midterm Review Fall 2010

CIS-331 Final Exam Fall 2015 Total of 120 Points. Version 1

ECE 461 Internetworking Fall Quiz 1

Sirindhorn International Institute of Technology Thammasat University

IP : Internet Protocol

Department of Computer Science and Engineering. Final Examination. Instructor: N. Vlajic Date: April 15, 2011

Department of Computer Science and Engineering. CSE 3214: Computer Network Protocols and Applications Instructor: N. Vlajic Date: Feb 23, 2016

CS 349/449 Internet Protocols Midterm Exam Winter /21/2003

TDTS04 Computer networks and distributed systems Final Exam: 14:00-18:00, Thursday, March 20, 2014

User Datagram Protocol (UDP):

Computer Science 3CN3 and Software Engineering 4C03 Final Exam Answer Key

The Internet. 9.1 Introduction. The Internet is a global network that supports a variety of interpersonal and interactive multimedia applications.

Question 7: What are Asynchronous links?

Defining Networks with the OSI Model. Module 2

University of Toronto Faculty of Applied Science and Engineering. Final Exam, December ECE 461: Internetworking Examiner: J.

TCP /IP Fundamentals Mr. Cantu

ICS 351: Networking Protocols

b. Suppose the two packets are to be forwarded to two different output ports. Is it

Putting it all together

CS 421: Computer Networks SPRING MIDTERM II May 5, minutes

CIS 632 / EEC 687 Mobile Computing

MID II Tuesday, 1 st April 2008

EE 610 Part 2: Encapsulation and network utilities

14-740: Fundamentals of Computer and Telecommunication Networks

Chapter 6. The Protocol TCP/IP. Introduction to Protocols

Introduction. IP Datagrams. Internet Service Paradigm. Routers and Routing Tables. Datagram Forwarding. Example Internet and Conceptual Routing Table

Applied Networks & Security

CSE 123: Computer Networks Fall Quarter, 2017 MIDTERM EXAM

TCP/IP Overview. Basic Networking Concepts. 09/14/11 Basic TCP/IP Networking 1

CS 485/ECE 440/CS 585 Fall 2011 Midterm

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

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

PLEASE READ CAREFULLY BEFORE YOU START

1-1. Switching Networks (Fall 2010) EE 586 Communication and. October 25, Lecture 24

Network Layer (4): ICMP

The Internetworking Problem. Internetworking. A Translation-based Solution

To make a difference between logical address (IP address), which is used at the network layer, and physical address (MAC address),which is used at

The Network 15 Layer IPv4 and IPv6 Part 3

Part 4. Wide Area Networks (WAN)

Network Protocols. Transmission Control Protocol (TCP) TDC375 Autumn 2009/10 John Kristoff DePaul University 1

Introduction to Internetworking

ARP, IP. Chong-Kwon Kim. Each station (or network interface) should be uniquely identified Use 6 byte long address

Lecture 8. Network Layer (cont d) Network Layer 1-1

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

Chapter 7. Local Area Network Communications Protocols

TSIN02 - Internetworking

Washington State University CptS 455 Sample Final Exam (corrected 12/11/2011 to say open notes) A B C

SEN366 (SEN374) (Introduction to) Computer Networks

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

CCNA 1 Chapter 6 v5.0 Exam Answers 2013

Tutorial 9. SOLUTION Since the number of supported interfaces is different for each subnet, this is a Variable- Length Subnet Masking (VLSM) problem.

MODULE: NETWORKS MODULE CODE: CAN1102C. Duration: 2 Hours 15 Mins. Instructions to Candidates:

CSCI Networking Name:

(a) Client server model (b) MAN (c) Interfaces and services. [4+6+6] FirstRanker

A Previous Final Examination

ch02 True/False Indicate whether the statement is true or false.

Chapter 4 Network Layer: The Data Plane

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

Interconnecting Networks with TCP/IP. 2000, Cisco Systems, Inc. 8-1

The Netwok 15 Layer IPv4 and IPv6 Part 3

Lecture 8. Basic Internetworking (IP) Outline. Basic Internetworking (IP) Basic Internetworking (IP) Service Model

Network Layer PREPARED BY AHMED ABDEL-RAOUF

MID-TERM EXAM TCP/IP NETWORKING Duration: 2 hours With Solutions

First Exam for ECE671 Spring /22/18

IP Basics Unix/IP Preparation Course June 29, 2010 Pago Pago, American Samoa

OSI Network Layer. Network Fundamentals Chapter 5. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

Lecture 8. Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1

Data Communication Prof. A. Pal Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture 34 TCP/ IP I

CS610 Computer Network Final Term Papers Solved MCQs with reference by Virtualians Social Network

CS 458 Internet Engineering Spring First Exam

Sirindhorn International Institute of Technology Thammasat University

Network Layer: Internet Protocol

Transcription:

Name Student number SE 4C03 Winter 2004 Midterm Test Answer Key Instructor: Kartik Krishnan You have 50 minutes to complete this test consisting of 6 pages and 18 questions. The test is open book and class notes. Do not consult anyone or anything else. Circle the best answer for the multiple choice questions, and write the answer to the other questions in the answer sheets provided, clearly labelling the question number. Be succinct and to the point. Good luck! 1. [3 pts.] A token ring network is a connection-oriented technology. Is this statement true or false? True. False. 2. [3 pts.] Slow-start refers to the slow increase in the congestion window after congestion. Is this statement true or false? True. False. 3. [3 pts.] A given TCP port number can be shared by multiple connections on the same machine. Is this statement true or false? True. False. 4. [3 pts.] Routers use the destination computer IP address, when forwarding a packet. Is this statement true or false? True. False. 5. [3 pts.] The purpose of the ICMP protocol is not to make IP more reliable? True. False. 1

6. [5 pts.] ARP is a protocol. IP. (c) TCP. Network Interface Layer. (d) connection oriented. 7. [5 pts.] In the TCP protocol, what is considered as a possible indicator of traffic congestion? An unacknowledged TCP segment. More than 5 dropped TCP packets. (c) The reception of an ICMP source quench message. (d) All of the above. 8. [5 pts.] If an Internet host is running TCP/IP and IP forwarding is turned off, then The host does not need a routing table. The host cannot send IP datagrams to other Internet hosts. (c) IP datagrams cannot enter and then exit the host. (d) All of the above. 9. [5 pts.] A router must always handle datagrams of up to 1500 bytes. 576 bytes. (c) Minimum MTU. (d) 4470 octets. 10. [5 pts.] The basic unit of transfer in UDP is a Packet. Segment. (c) Datagram. (d) Frame. 2

11. [5 pts.] Suppose that a process would like to transmit one octet of data to another process using UDP. How many UDP datagrams would normally be needed to perform the transmission? 1. 2. (c) 4. (d) 8. 12. [5 pts.] Silly window syndrome can be avoided by Karn s algorithm. Nagle s algorithm. (c) Count-to-infinity. (d) Fragmenting the IP datagram. 13. [5 pts.] An ICMP control message is generated for the following. An ICMP packet is lost. The TCP connection times out. (c) Incorrect UDP header. (d) Time exceeded for a datagram. 14. [5 pts.] Explain with exactly one sentence the purpose of the loopback network interface. Answer: The loopback network interface enables TCP/IP to be utilized on a computer with no physical network interfaces. 15. [5 pts.] What kind of a handshake is needed by TCP to terminate a connection?. Why? Answer: A four-way handshake is required to terminate a TCP connection. This is because TCP is a full-duplex, i.e., 2-way communication, and both communicating sides must shut down independently. 16. [5 pts.] Suppose that there is a TCP connection between A and B and that A has just sent five TCP segments S 1,..., S 5 to B whose sequence number fields contain 34456, 34578, 34672, 34790, 35155, respectively. After receiving S 1, S 2, S 4 but not S 3, S 5, B sends a TCP segment T to A. What number will be in acknowledgement number field of T? Answer: 34672. 3

17. [10 pts.] Consider a subnet whose subnet address is 202.111.96.0 and whose subnet mask is 255.255.224.0. How many IP addresses are members of this subnet? Answer: 2 5+8 = 2 13. How many class networks are subsets of this subnet? Answer: 2 5 class C networks. 18. [20 pts.] Consider a portion of the hypothetical Class B computer network with IP address 140.252.0.0 at McMaster University shown in Figure 1. The hosts shown are the various department servers, including a gateway router 140.252.104.1. Some of the hosts have two IP addresses as shown. The link between OPT and CAS is via a dialup line. The upper and lower ethernet interfaces are eth0 and eth1 respectively. How many subnets do you see?. subnet masks?. What are the corresponding Let us say that all host machines are configured to act as routers. Recall that a route in a subnet routing table has the form (a, m, r, i) where: a is the address of a subnet S. m is the mask of S. r is an IP address for the next hop (r = for direct routes). i is an interface. Write down the routing table for host EE, including its loopback interface lo, as a list of (a, m, r, i) tuples. Use default or host-specific routes as necessary, and keep the number of indirect routes as small as possible. 4

TO INTERNET.104.1 MATH CHEM MAN GW.1.92.1.32.1.11.1.4 ETHERNET DIALUP LINE.1.183.13.66 OPT CAS EE ENG.13.65.13.35.13.33..13.34 ETHERNET HYPOTHETICAL COMPUTER NETWORK IN MCMASTER UNIVERSITY CLASS B NETWORK WITH IP ADDRESS 140.252.0.0 Figure 1: Hypothetical Class B network at Mac. 5

Answer: There are 3 subnets: Subnet 140.252.13.64 with subnet mask 255.255.255.224 consisting of hosts with IP addresses 140.252.13.65 and 140.252.13.66. Subnet 140.252.1.0 with subnet mask 255.255.255.0 consisting of all the hosts attached to interface eth0. Subnet 140.252.13.32 with subnet mask 255.255.255.224 consisting of all the hosts attached to interface eth1. (127.0.0.0, 255.0.0.0,, lo) (140.252.13.32, 255.255.255.224,, eth1) (140.252.1.0, 255.255.255.0, 140.252.13.34, eth1) (140.252.13.65, 255.255.255.255, 140.252.13.35, eth1) (default, 0.0.0.0, 140.252.13.34, eth1) The second to last route is a host route; please note the use of the subnet mask 255.255.255.255 for this purpose. 6