Computer network questions for final exam preparation 21/08/2017

Similar documents
RAJIV GANDHI COLLEGE OF ENGINEERING AND TECHNOLOGY

Faculty of Science and IT Course title. Pre-requisite/corequisite

INSTITUTE OF AERONAUTICAL ENGINEERING Autonomous Dundigal, Hyderabad

CSCI Networking Name:

Computer Networks. Dr. Abdel Ilah ALshbatat Dept. of Communication and Computer Engineering Faculty of Engineering Tafila Technical University

MOCK EXAMINATION. Computer Networks

Lecture 19. Principles behind data link layer services Framing Multiple access protocols

Student ID: CS457: Computer Networking Date: 5/8/2007 Name:

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

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

Chapter 3 Review Questions

Introduction... xiii Chapter 1: Introduction to Computer Networks and Internet Computer Networks Uses of Computer Networks...

Networks Homework # 2

Link Layer and LANs. CMPS 4750/6750: Computer Networks

CS 455/555 Intro to Networks and Communications. Link Layer

Saraswati College of Engineering, Kharghar

Student ID: CS457: Computer Networking Date: 5/8/2007 Name:

Chapter 5 Link Layer and LANs

University of Southern California EE450: Introduction to Computer Networks

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

Code No: RR Set No. 1

The Link Layer and LANs. Chapter 6: Link layer and LANs

Lecture 8 The Data Link Layer part I. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

CSC 401 Data and Computer Communications Networks

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

Chapter 5: Link layer

COMPUTER NETWORK Model Test Paper

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

King Fahd University of Petroleum and Minerals College of Computer Sciences and Engineering Department of Computer Engineering

UNIVERSITY QUESTIONS

CSC 4900 Computer Networks: The Link Layer

Subject Name: Computer Network Subject Code:

Transport Layer. Chapter 3: Transport Layer

Goals and topics. Verkkomedian perusteet Fundamentals of Network Media T Circuit switching networks. Topics. Packet-switching networks

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE)

Network Layer PREPARED BY AHMED ABDEL-RAOUF

FINAL EXAM REVIEW PLEASE NOTE THE MATERIAL FROM LECTURE #16 at the end. Exam 1 Review Material

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

Layer 2 functionality bridging and switching

6 Computer Networks 6.1. Foundations of Computer Science Cengage Learning

Electrical and Computer Engineering Technology

CS164 Final Exam Winter 2013

B.Sc. (Hons.) Computer Science with Network Security B.Eng. (Hons) Telecommunications B.Sc. (Hons) Business Information Systems

Network Layer: Control/data plane, addressing, routers

Position of IP and other network-layer protocols in TCP/IP protocol suite

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

SYLLABUS. osmania university CHAPTER - 3 : MEDIUM ACCESS CONTROL (MAC) SUBLAYER Standards, Bluetooth, Bridges and Routers.

Networking: Network Layer

3. (a) Explain WDMA protocol. (b) Explain wireless LAN protocol. [8+8]

Lecture 16: Network Layer Overview, Internet Protocol

CS 4390 Computer Networks. Transport Services and Protocols

Chapter V: Link Layer

5105: BHARATHIDASAN ENGINEERING COLLEGE NATTARMPALLI UNIT I FUNDAMENTALS AND LINK LAYER PART A

BVRIT HYDERABAD College of Engineering for Women Department of Information Technology. Hand Out

Transport Layer. Gursharan Singh Tatla. Upendra Sharma. 1

Data Link Layer: Multi Access Protocols

CS1302 / Computer Networks

Chapter 6 The Link Layer and LANs

ECS 152A Computer Networks Instructor: Liu. Name: Student ID #: Final Exam: March 17, 2005

IP Address Assignment

Chapter 5 OSI Network Layer

Link Layer and LANs 안상현서울시립대학교컴퓨터 통계학과.

Lecture 6 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Chapter 4 Network Layer: The Data Plane

QUESTION BANK UNIT-I

COMP 361 Computer Communications Networks. Fall Semester Final Examination: Solution key

Data Networks. Lecture 1: Introduction. September 4, 2008

ECE 4450:427/527 - Computer Networks Spring 2017

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

4.2 Virtual Circuit and Datagram Networks

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

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

CCM 4300 Lecture 5 Computer Networks, Wireless and Mobile Communications. Dr Shahedur Rahman. Room: T115

ECSE-4670: Computer Communication Networks (CCN) Informal Quiz 3

===================================================================== Exercises =====================================================================

Network Layer. For this purpose the network layer should:

INSTRUCTIONS TO CANDIDATES

Introduction to the Transport Layer

Code No: RR Set No. 1

IT4405 Computer Networks (Compulsory)

TCP/IP THE TCP/IP ARCHITECTURE

ECSE 414 Fall 2014 Final Exam Solutions

Frames, Packets and Topologies

CS 421: COMPUTER NETWORKS SPRING FINAL May 16, minutes

QUESTION BANK EVEN SEMESTER

Lecture 3. The Network Layer (cont d) Network Layer 1-1

Chapter 5 Link Layer and LANs

Links Reading: Chapter 2. Goals of Todayʼs Lecture. Message, Segment, Packet, and Frame

PLEASE READ CAREFULLY BEFORE YOU START

Lecture 8 Link Layer: functionality, error detection, media access algorithm

PSD2A Computer Networks. Unit : I-V

Informal Quiz #01: SOLUTIONS

Topics. Link Layer Services (more) Link Layer Services LECTURE 5 MULTIPLE ACCESS AND LOCAL AREA NETWORKS. flow control: error detection:

ECE 333: Introduction to Communication Networks Fall 2002

Review for Chapter 4 R1,R2,R3,R7,R10,R11,R16,R17,R19,R22,R24, R26,R30 P1,P2,P4,P7,P10,P11,P12,P14,P15,P16,P17,P22,P24,P29,P30

BABU MADHAV INSTITUTE OF INFORMATION TECHNOLOGY, UTU 2017

Internet protocol stack

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

Computer Networks. Today. Principles of datalink layer services Multiple access links Adresavimas, ARP LANs Wireless LANs VU MIF CS 1/48 2/48

Midterm Review EECS 122. University of California Berkeley

Transcription:

Computer network questions for final exam preparation 21/08/2017 Chapter 3 1. What does UDP provide in addition to IP? Answer: provides two services not provided by the IP layer. - It provides port numbers to help distinguish different user requests and, optionally, and a checksum capability to verify that the data arrived intact. 2. What is protocol data unit (PDU) and what do we call it in (physical layer, data link layer, Network layer, and transport layer) Answer: look to ch3 slide 7 3. What is Multiplexing and demultiplexing Answer: look to ch 3 slide 10 4. Suppose a process in Host C has a UDP socket with port number 6789. Suppose both Host A and Host B each send a UDP segment to Host C with destination port number 6789. Will both of these segments be directed to the same socket at Host C? If so, how will the process at Host C know that these two segments originated from two different hosts? Answer: Yes, both segments will be directed to the same socket. For each received segment, at the socket interface, the operating system will provide the process with the IP addresses to determine the origins of the individual segments. 5. Suppose that a Web server runs in Host C on port 80. Suppose this Web server uses persistent connections, and is currently receiving requests from two different Hosts, A and B. Are all of the requests being sent through the same socket at Host C? If they are being passed through different sockets, do both of the sockets have port 80? Discuss and explain. Answer: For each persistent connection, the Web server creates a separate connection socket. Each connection socket is identified with a four-tuple: (source IP address, source port number, destination IP address, destination port number). When host C receives and IP datagram, it examines these four fields in the datagram/segment to determine to which socket it should pass the payload of the TCP segment. Thus, the requests from A and B pass through different sockets. The identifier for both of these sockets has 80 for the destination port; however, the identifiers for these sockets have different values for source IP addresses. Unlike UDP, when the transport layer passes a TCP segment s payload to the application process, it does not specify the source IP address, as this is implicitly specified by the socket identifier. 6. Describe why an application developer might choose to run an application over UDP rather than TCP.

Answer: An application developer may not want its application to use TCP s congestion control, which can throttle the application s sending rate at times of congestion. Often, designers of IP telephony and IP videoconference applications choose to run their applications over UDP because they want to avoid TCP s congestion control. Also, some applications do not need the reliable data transfer provided by TCP. 7. Consider a TCP connection between Host A and Host B. Suppose that the TCP segments traveling from Host A to Host B have source port number x and destination port number y. What are the source and destination port numbers for the segments traveling from Host B to Host A? Answer: Source port number y and destination port number x. Chapter 4 1. Let s review some of the terminology used in this textbook. Recall that the name of a transport-layer packet is segment and that the name of a link-layer packet is frame. What is the name of a network-layer packet? Answer: A network-layer packet is a datagram Recall that both routers and link-layer switches are called packet switches. What is the fundamental difference between a router and link-layer switch? Answer: A router forwards a packet based on the packet s IP (layer 3) address. A link-layer switch forwards a packet based on the packet s MAC (layer 2) address. 2. What is the difference between routing and forwarding? Answer: The key differences between routing and forwarding is that forwarding is a router s local action of transferring packets from its input interfaces to its output interfaces, and forwarding takes place at very short timescales (typically a few nanoseconds), and thus is typically implemented in hardware. Routing refers to the network-wide process that determines the end-to-end paths that packets take from sources to destinations. Routing takes place on much longer timescales (typically seconds), and is often implemented in software. 3. What are the two most important network-layer functions in a datagram network? What are the three most important network-layer functions in a virtual circuit network? Answer: The main function of the data plane is packet forwarding, which is to forward datagrams from their input links to their output links. For example, the data plane s input ports perform physical layer function of terminating an incoming

physical link at a router, perform link-layer function to interoperate with the link layer at the other side of the incoming link, and perform lookup function at the input ports. 4. What does the Network layer consist of? Look to chapter 4 slide 7 5. What does IP datagram format (IPv4) consist of? Look to chapter 4 slides 20-35 6. Look to the example in slide 40-42 7. Do routers have IP addresses? If so, how many Answer: Yes. They have one address for each interface 8. What is the 32-bit binary equivalent of the IP address 223.1.3.27? Answer: 11011111 00000001 00000011 00011100. 9. What is the Class-based Addressing (A, B, C, D, and E) Answer: Chapter 4 slide 44-50 10. How many subnets are there in the following figure? 11. There are three subnets

12. What are LAN Topologies(Physical)? advantages and disadvantage 1) Bus 2) Star 3) Ring 4) Switched 5) Daisy chains 6) Hierarchies Answers: slides 66-93 13. What are WAN Topologies(Physical)? advantages and disadvantage Answer: chapter 4 slides 94-114 Chapter 5 1. What does the Network layer consist of? Answer: chapter 5 slide 7 2. Review the examples of Dijsktra s algorithm (slides 14-19); you must understand, the process and steps of forward table generation 3. Review Distance vector algorithm (slides 22-28) Chapter 6 What is Address Resolution Protocol How to Detect and Correct Errors? What is Parity Checking of Error Detection What is Channel partitioning MAC protocols: TDMA

What is Channel partitioning MAC protocols: FDMA What is CSMA, CSMA/CD, CSMA/CA, Aloha, slotted and pure unslotted Aloha