Department of Computer Science and Engineering. CSE 3213: Computer Networks I (Summer 2008) Midterm. Date: June 12, 2008

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

CS321: Computer Networks Introduction to Computer Networks and Internet

Computer Communication Networks

CSE3213 Computer Network I

IT4405 Computer Networks (Compulsory)

UNIVERSITI TUN HUSSEIN ONN MALAYSIA FINAL EXAMINATION SEMESTER I SESSION 2009/10

CSE 461 MIDTERM REVIEW

Wireless Networks (CSC-7602) Lecture 1 (27 Aug 2007)

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

PLEASE READ CAREFULLY BEFORE YOU START

ET4254 Communications and Networking 1

The TCP/IP Architecture Jean Yves Le Boudec 2014

The TCP/IP Architecture Jean Yves Le Boudec 2014

Operating Systems CS 571

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

ECEN Final Exam Fall Instructor: Srinivas Shakkottai

Objectives. Learn how computers are connected. Become familiar with different types of transmission media

The TCP/IP Architecture. Jean Yves Le Boudec 2017

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

The TCP/IP Architecture. Jean Yves Le Boudec 2017

Faculty of Science Final Examination. Computer Science B Basics of Computer Networks

DATA COMMUNICATION AND NETWORKS

Transporting Voice by Using IP

PLEASE READ CAREFULLY BEFORE YOU START

Review of Network Technologies

CSC 4900 Computer Networks: Introduction

The TCP/IP Architecture. Jean Yves Le Boudec 2015

The TCP/IP Architecture. Jean Yves Le Boudec 2015

CHAPTER 17 - NETWORK AMD DISTRIBUTED SYSTEMS

CS513/EE506/CS4514 Intro to Local and Wide Area Networks WPI, Summer 2006

CSCI-1680 Physical Layer Link Layer I Rodrigo Fonseca

The TCP/IP Architecture. Jean Yves Le Boudec 2015

Module 15: Network Structures

Performance Evaluation of WiFiRe using OPNET

Lecture 3: Modulation & Layering"

CS348: Computer Networks Introduction to Computer Networks and Internet

Two hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE. M.Sc. in Advanced Computer Science. Date: Monday 2 nd June 2008.

Open Systems Interconnection Model

CSC Introduction to Computers and Their Applications. Background

TCOM 370 NOTES 99-1 NETWORKING AND COMMUNICATIONS

Digital Communication Networks

PLEASE READ CAREFULLY BEFORE YOU START

PLEASE READ CAREFULLY BEFORE YOU START

CHAPTER TWO LITERATURE REVIEW

Announcements. TAs office hours: Mohamed Grissa: Mohamed Alkalbani:

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

Module 1. Introduction. Version 2, CSE IIT, Kharagpur

UNIT - IV Ques.4 Ques.5

DE69/DC63 DATA COMMUNICATION & NETWORKS DEC 2013

EE-311 Data Communication & Networks

DC Assignment III. Communication via circuit switching implies that there is a dedicated communication path between two stations.

CS 428/528 Computer Networks Lecture 01. Yan Wang

Subject Data Communication. Subject Code 15CS46. Module 2 (Part 2) Multiplexing and Switching

EECS 122: Introduction to Communication Networks Final Exam Solutions

Imi :... Data:... Nazwisko:... Stron:...

Come & Join Us at VUSTUDENTS.net

Final Wednesday, 30 th July 2008

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

FINAL Tuesday, 20 th May 2008

Midterm Exam CSCE 232: Computer Networks Fall Instructions:

The following CompTIA Network+ domain objectives and examples are covered in this module:

CS 4453 Computer Networks Winter

Lecture 4. Data Transmission Modes and Switching. Data Transmission & Switching 1-1

Sirindhorn International Institute of Technology Thammasat University

CS 457 Multimedia Applications. Fall 2014

COMPUTER NETWORKS ANDREW S. TANENBAUM PROBLEM SOLUTIONS. Vrije Universiteit Amsterdam, The Netherlands FOURTH EDITION PRENTICE HALL PTR

Distributed System Chapter 16 Issues in ch 17, ch 18

Frequency: it refers to the number of periods in 1 s. It is formally expressed in Hertz (Hz)

end systems, access networks, links 1.3 network core

First Semester Examinations 2015/16 (Model Solution) INTERNET PRINCIPLES

PLEASE READ CAREFULLY BEFORE YOU START

COMS Introduction to Computers. Networking

Computer Communication EDA344, EDA343, DIT 420

Chapter 8 Switching 8.1

Mid Sweden University Dept. of IT and Media (ITM) Magnus Eriksson Tel , Jan 2009.

Chapter 8 OSI Physical Layer

A closer look at network structure:

CS 455. Week 9. Reading: 1. Data Communications and Networking Behrouz A Forouzan Edition: 4.

Review For Exam 2. Internetworking. Summary Questions. School of Business Eastern Illinois University. School of Business Eastern Illinois University

Module 16: Distributed System Structures. Operating System Concepts 8 th Edition,

LANCOM Techpaper IEEE n Indoor Performance

IT 352 : Lecture 1. Network Basics Review. Najwa AlGhamdi, MSc 2012 /1433

Switching, Mobile Phones, Cable, Beginning Data Link Layer. CS158a Chris Pollett Feb 21, 2007.

CMPE 344 Computer Networks Spring Foundations. Reading: Peterson and Davie,

Data Communication & Networks Final Exam (Fall 2008) Page 1 / 13. Course Instructors: Engr. Waleed Ejaz. Marks Obtained Marks

EL Wireless and Mobile Networking Spring 2002 Mid-Term Exam Solution - March 6, 2002

CSE 3214: Computer Network Protocols and Applications. Midterm Examination

Monitoring the Network (CPE and WBS)

This course prepares candidates for the CompTIA Network+ examination (2018 Objectives) N

Name KEY. CS513/ECE506 Spring 2013 Computer Networks Mid Term Exam March 12, 2013

Chapter 2 Communicating Over the Network

Next Steps Spring 2011 Lecture #18. Multi-hop Networks. Network Reliability. Have: digital point-to-point. Want: many interconnected points

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

PLEASE READ CAREFULLY BEFORE YOU START

CS 332: Computer Networks Introduction

INTRODUCTION DATA COMMUNICATION TELECOMMUNICATIONS SYSTEM COMPONENTS 1/28/2015. Satish Chandra satish0402.weebly.com

Internet Architecture and Protocol

Introduction to Communications Part One: Physical Layer Switching

VoIP / RoIP for Technicians

Transcription:

Department of Computer Science and Engineering CSE 3213: Computer Networks I (Summer 2008) Midterm Date: June 12, 2008 Name: Student number: Instructions: Examination time: 120 minutes. Write your name and student number in the above provided space. You are not allowed to use laptop, textbook, cell phone and any kind of electronic devices during the exam except calculator. Ensure that this examination has 10 pages and 23 questions. Answer the questions in the provided spaces. If you run out of room for an answer, continue on the back of the page. Good Luck! 1

Part I MC (1 mark each) 1. How can you verify that two hosts are connected and communicating properly? a. From a third host, run the ping command to each of the other hosts. b. From one host, run the ping command to the other host. c. Run the arp command on both hosts. d. Run the ipconfig command on both hosts. 2. The most common way to measure latency on data networks is by calculating packet s a. round trip time b. bend radius c. modulation d. fault tolerance 3. Voice over Internet Protocol (VoIP) provides the capability to: a. Transmit voice signals over a packet switched network b. Convert digital data to analog and sent it on a WAN c. Allow two computers to transfer files over analog lines d. Encrypts data between two devices on a IP network 4. is an application layer protocol. a. TCP b. UDP c. IP d. HTTP 5. A data packet travels from source to destination. At the destination, as the data packet moves from the lower to the upper layers, headers are. a. added b. removed c. modified d. none of the above 2

6. What is the bandwidth of a signal that ranges from 400 Hz to 4 KHz a. 400 Hz b. 360 Hz c. 3600 Hz d. 4000 Hz 7. What does it mean by the attenuation of 0 db between two points? a. Signal at point one is larger than signal at point two b. Signal at point one is equal to signal at point two c. Signal at point one is smaller than signal at point two d. Signal at point two is equal to zero 8. The first step in converting analog to digital is. a. sampling b. quantizing c. line coding d. modulation 9. Which of the following statements is true? a. Digital data can be transmitted by using analog signal b. Analog data can be transmitted by using digital signal c. The higher the SNR the better the received signal quality d. All of the above 10. Which of the followings does not relate to noise (transmission impairments)? a. Modulation b. Quantization c. Latency d. Electromagnetic 3

Part II 11. List two applications that require reliable transport and two applications that do not require reliable transport. (4marks) Required reliability Online bank transaction FTP Web page Do not required reliability Internet radio DNS 12. Which OSI layer is responsible for the following? (3 marks) a. Determining the best path to route packets Network layer b. Providing end-to-end communications with reliable service Transport layer c. Providing node-to-node communications with reliable service Data link layer 4

13. Suppose the population of the world is 6 billion, and that there is an average of 1000 communicating devices per person. How many bits are required to assign a unique host address to each communicating device? Suppose that each device attaches to a single network and that each network on average has 10000 devices. How many bits are required to provide unique network ids to each network? (6 marks) log 2 (6 x 10 9 x 10 3 ) = 42.44 43 bits are required to assign a unique host address to each communicating device. log 2 ((6 x 10 9 x 10 3 ) / 10,000) = 29.2 30 bits are required to provide unique network ids to each network. 5

14. What are a physical address, a network address, and a domain name? (3 marks) The physical address is the unique hardware address (MAC address) that identifies an interface of a machine on a physical network such as a LAN. Physical addresses are used in the data link layer. A network address is a machine s logical address on a network. The network address is used in the network layer. IP address is a network address used in the Internet Domain names are used to identify a host (or computer) on the Internet, since names are easier to remember than numbers (i.e. IP address). The DNS system is used to translate between domain names and IP addresses. E.g. the domain name for the network address 130.63.92.30 is www.cse.yorku.ca. 15. How long does it take to send a file of 640,000 bits from host A to host B over a circuitswitched network? (4 marks) All links are 1.536 Mbps. Each link uses TDM with 24 slots/sec. 500 msec to establish end-to-end circuit For a TDM link, time is divided into frames of fixed duration and each frame is divided into a fixed number of time slots. When the network establishes a connection across a link, the network dedicates one time slot in every frame to the connection. These slots are dedicated for the sole use of that connection, with a time slot available for use (in every frame) to transmit the connection's data. Each circuit has a transmission rate of (1.536 Mbps)/24 = 64 Kbps, so it takes (640bits)/(64 Kbps) = 10 seconds to transmit the file. To this 10 seconds we add the the circuit establishment time, giving 10.5 seconds to send the file. Note that the transmission time is independent of the number links: the transmission time would be 10 seconds if the end-to-end circuit passes through one link or one-hundred links. 6

16. In theory, which switching technique (circuit or packet) allows more users within a network? Explain in detail. (5 marks) Packet switching versus circuit switching Packet switching allows more users to use network! 1 Mb/s link each user: 100 kb/s when active active 10% of time circuit-switching: N users 10 users packet switching: 10 users or less no problem >10 users queuing delay but still possible to support 11+ users 1 Mbps link 24 17. List at least four reasons of the use of layers? (4 marks) Layering simplifies design, implementation, and testing by partitioning overall communications process into parts Protocol in each layer can be designed separately from those in other layers Protocol makes calls for services from layer below Layering provides flexibility for modifying and evolving protocols and services without having to change layers below Monolithic non-layered architectures are costly, inflexible, and soon obsolete 7

18. What are the network transmission impairments that degrade the quality of stream information? (3 marks) Delay: Is information delivered in timely fashion? Jitter: Is information delivered in sufficiently smooth fashion? Loss: Is information delivered without loss? If loss occurs, is delivered signal quality acceptable? 19. Temperature is one of the significant factors in agriculture. Monitoring temperature values can be done with the use of wireless sensor networks. If we knew that the maximum temperature variation is 3 degrees Celsius in half an hour, what would be the minimum time interval that the temperature data are recorded? Hint: Nyquist Theorem (7 marks) 3 degrees per half an hour 6 degrees/hour the Nyquist rate is 12 samples/hour sampling period is 5 minutes (time interval) 8

20. Consider an analog repeater system in which the signal has power σ 2 and each stage adds x noise with powerσ 2. For simplicity assume that each repeater recovers the original signal n without distortion but that the noise accumulates. Find the SNR (expression in db) after n repeater links. (5 marks) After n stages, the signal power is σx2and the noise power is nσn2, so the SNR is: SNR db = 10 log 10 σ 2 x /n σ 2 n = 10 log 10σ 2 x / σ 2 n +10 log 101/n = 10 log 10 σ 2 x / σ 2 n 10 log 10n 21. Suppose that a low-pass communications system has a 1 MHz bandwidth. What is an attainable bit rate using 8-level pulses? What is the Shannon capacity of this channel if the SNR is 20 db? (6 marks) Nyquist pulses can be sent over this system at a rate of 2 million pulses per second. Eight-level signalling carries 3 bits per pulse, so the bit rate is 6 Mbps. The Shannon capacities are: C = 1000000 log 2 (1 + 100) = 6.6 Mbps. 9

22. What is line coding and why do we need to study different line coding schemes? (4 marks) Mapping of binary information sequence into the digital signal that enters the channel Ex. 1 maps to +A square pulse; 0 to A pulse Line code selected to meet system requirements: Transmitted power: Power consumption = $ Bit timing: Transitions in signal help timing recovery Bandwidth efficiency: Excessive transitions wastes bw Low frequency content: Some channels block low frequencies long periods of +A or of A causes signal to droop Waveform should not have low-frequency content Error detection: Ability to detect errors helps Complexity/cost: Is code implementable in chip at high speed? 23. Encode the following bit stream using Unipolar NRZ and Polar NRZ 10011000. In general, which technique requires less average power? (6 marks) 10