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

Similar documents
UNIT - IV Ques.4 Ques.5

CS 4453 Computer Networks Winter

Monash University SAMPLE EXAM. Faculty Of Information Technology. Computer Facilities and Network Management

Midterm Exam CSCE 232: Computer Networks Fall Instructions:

KINGS COLLEGE OF ENGINEERING

DCN Questions CHAPTER 1:- NETWORKING FUNDAMENTALS

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

CS/ECE 438: Communication Networks for Computers Spring 2018 Midterm Examination Online

FINAL Wednesday, 30 th July 2008

CPE 548 Exam #1 (50 pts) February 17, 2016

Electrical and Computer Engineering Technology

Dec-10 1.Problem : find minimum bandwidth 2.Problem : Sampling rate 3.Write a descriptive note on the three causes of transmission impairments.

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

Computer Facilities and Network Management BUS3150 Tutorial - Week 13

CS1302-COMPUTER NETWORKS UNIT I -DATA COMMUNICATION PART A

Links. CS125 - mylinks 1 1/22/14

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING B.E. ECE UNIT I DATA COMMUNICATION PART A

QUESTION BANK EVEN SEMESTER

DATA COMMUNICATIONS AND COMPUTER NETWORKS

15CS46: DATA COMMUNICATION QUESTION BANK. Explain the three criteria necessary for an effective and efficient Network. 5Marks

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala Set 4. September 09 CMSC417 Set 4 1

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

Physical and Link Layers. CS144 Review Session 6 November 6 th, 2008 Roger Liao Based on slides by Ben Nham

Your favorite blog : (popularly known as VIJAY JOTANI S BLOG..now in facebook.join ON FB VIJAY

Telematics. 5rd Tutorial - LLC vs. MAC, HDLC, Flow Control, E2E-Arguments

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

TIME SCHEDULE. 2 Physical Layer 15. Course General Outcomes: Sl. G.O On completion of this course the student will be able :

CSCI 1680 Computer Networks Fonseca. Exam - Midterm. Due: 11:50am, 15 Mar Closed Book. Maximum points: 100

Computer Network. Direct Link Networks Reliable Transmission. rev /2/2004 1

UNIT-II 1. Discuss the issues in the data link layer. Answer:

Link Layer Review. CS244A Winter 2008 March 7, 2008 Ben Nham

CS1302 / Computer Networks

ECE 650 Systems Programming & Engineering. Spring 2018

Today. Last Time. Motivation. CAN Bus. More about CAN. What is CAN?

Expected Time: 90 min PART-A Max Marks: 42

ECE 653: Computer Networks Mid Term Exam all

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

IT4405 Computer Networks (Compulsory)

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4021: Networks Discussion. Chapter 2.

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

Direct Link Networks. Lecture - Encoding & Framing 1. Areas for Discussion. Problems

Copyright of the University of East Anglia Version 1

University of Southern California EE450: Introduction to Computer Networks

Point-to-Point Links. Outline Encoding Framing Error Detection Sliding Window Algorithm. Fall 2004 CS 691 1

Computer Networks (Unit wise Questions)

Question 7: What are Asynchronous links?

The Link Layer II: Ethernet

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

Problem Set Name the 7 OSI layers and give the corresponding functionalities for each layer.

COMPUTER NETWORKS UNIT I. 1. What are the three criteria necessary for an effective and efficient networks?

Computer Networks รศ.ดร.อน นต ผลเพ ม. Assoc. Prof. Anan Phonphoem, Ph.D. Kasetsart University, Bangkok, Thailand

CSCI-1680 Link Layer I Rodrigo Fonseca

UNIVERSITY QUESTIONS

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

On successful completion of this course students should:

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

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

CSCI 466 Midterm Networks Fall 2011

Chapter 8 OSI Physical Layer

CCNA 1 Chapter 7 v5.0 Exam Answers 2013


RAJIV GANDHI COLLEGE OF ENGINEERING AND TECHNOLOGY

ENGI 4557 Digital Communications Practice Problems 2017 (Part 2)

5th Slide Set Computer Networks

Subject-Computer Networks, M.Sc.(CS) - III rd

Network Architecture

Exercises for the Lectures on Communication Networks

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

Wave Division Multiplexing. Circuit Switching (1) Switching Networks. Nodes. Last Lecture Multiplexing (2) Source: chapter8

COURSE OUTLINE. School of Engineering Technology and Applied Science. Computer Systems & Network Technology / Technician

Data and Computer Communications

Transmission SIGNALs

Exam in Computer Networks

TCOM 370 NOTES 99-1 NETWORKING AND COMMUNICATIONS

Chapter 15 Local Area Network Overview

Advanced Computer Networks. Rab Nawaz Jadoon DCS. Assistant Professor COMSATS University, Lahore Pakistan. Department of Computer Science

EE122 Midterm Exam UC Berkeley, Spring 1999

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4021: Networks Discussion. Chapter 1.

Data Communications and Networks

Defining Networks with the OSI Model. Module 2

QUESTION 1 QUESTION 2 QUESTION 3 QUESTION 4 QUESTION 5 QUESTION 6

Direct Link Networks. Framing. Lecture - Encoding & Framing 1. Problems. Areas for Discussion

BCS THE CHARTERED INSTITUTE FOR IT BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 5 Diploma in IT COMPUTER NETWORKS APRIL 2015 EXAMINERS REPORT

QUESTION BANK. network. List the seven layers and its functionality in OSI model. 7Marks

Data Communications SYLLABUS. Transmission Impairments, Transmission Media. Data-Digital Signals, Analog Data-analog Signals.

Final Wednesday, 30 th July 2008

Computer and Network Security

Chapter 3. The Data Link Layer

FINAL Tuesday, 20 th May 2008

Data Link Networks. Hardware Building Blocks. Nodes & Links. CS565 Data Link Networks 1

Chapter 3. Underlying Technology. TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

>>> SOLUTIONS <<< Answer the following questions regarding the basics principles and concepts of networks.

First Semester Examinations 2013/14 (Model Solution) INTERNET PRINCIPLES

ES623 Networked Embedded Systems

Name: Personnr: Include this page with your answers

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

CPE 448/548 Exam #1 (100 pts) February 14, Name Class: 448

Internetwork Basic. Possible causes of LAN traffic congestion are

Sirindhorn International Institute of Technology Thammasat University

Transcription:

Student Name: Student Number: Faculty of Science Final Examination Computer Science 308-435B Basics of Computer Networks Examiner: Prof. Hans Vangheluwe Friday, April 27 th, 2001 Associate Examiner: Prof. Tim Merrett 9:00 12:00 INSTRUCTIONS: 1. Answer all questions directly on the examination paper. 2. No notes, books, calculators, computers or other aids of any type are permitted. 3. Translation dictionaries may be used. 4. The exam has 20 questions on 15 pages. The total number of page, including this cover page, is 16. 5. Attempt all questions: partial marks are given for incomplete but correct answers. 6. Numbers between brackets [] denote the weight of each question. The exam is out of a total of 105 points. 7. Use the back of the last page as scrap (it will be ignored during grading). The rear of the other pages may be used as extra space to answer questions. Good luck!

308-435B Final 1 (1) [20] What is the purpose of layering in networks? Give an overview of all the layers of the OSI model. For each layer, describe briefly its function. Give the relationship between the TCP/IP and the OSI network models. (2) [2] What is the bitrate for a signal in which 10 bits last 20 µs? What is the duration of a bit for a signal with a bitrate of 5 Mbps? 308-435B Final 1

308-435B Final 2 (3) [14] Assume a data stream of ten 0s. Encode this stream using the following encoding schemes. Draw the encoding as voltages in function of time. All encodings should use the same time scale. Assume the last voltage before the data stream started was positive. 1. Unipolar. 2. Polar NRZ-L. 3. Polar NRZ-I. 4. Manchester. 5. Differential Manchester. 6. AMI. 7. B8ZS. 308-435B Final 2

308-435B Final 3 Briefly describe relative advantages and disadvantages of the different methods. (4) [3] Give 3 types of signal impairment. How does the electrical specification for sending data in EIA-232 deal with each? 1. 2. 3. (5) [2] Using the Nyquist theorem, calculate the sampling rate for an analog signal with frequencies from 2000 to 6000Hz. What is the bandwidth of the original signal? (6) [3] Calculate the baud rate for a 6000bps bit rate transmitted using 4-PSK. Explain 4-PSK. 308-435B Final 3

308-435B Final 4 (6) [6] Given 3 data streams: A (1.5 Mbps), B (4/3 Mbps), and C (2/3 Mbps). Use synchronous Time Division Multiplexing with frames containing 6 1-byte slots + 1 framing bit per frame to transmit these data streams. 1. Which technique needs to be used to properly put the data in the slots? 2. What is the bitrate (in Mbps) required of the communication channel between MUX and DEMUX? Give a description of your derivation. (7) [3] Given m bits of data and a checksum of r bits, derive a necessary relation between m and r for the checksum to be able to correct 1-bit errors. How many redundancy bits are required to encode 1001101 using Hamming code? Derive the Hamming code for the above bitstring. Number and store bits from the right (lower order 308-435B Final 4

308-435B Final 5 bits) (same as Forouzan). (8) [4] What is a sufficient condition on a CRC generator polynomial G x for detecting an odd number of transmission errors? Prove this. Describe the CRC process (on sender and receiver side). (9) [4] In the absence of errors, draw the evolution of sender and receiver sliding windows. Both are of size 6. 308-435B Final 5

308-435B Final 6 How many different numbers are used for the sliding windows? Draw the evolution if the following sequence of messages is sent (DATA from sender to receiver, ACK from receiver to sender): DATA0, DATA1, ACK2, DATA2, ACK3, DATA3, DATA4, DATA5, ACK6. (10) [4] Given the Petri Net model in Figure 1 Describe the scenario which gives rise to duplicate ACKnowledgements. Draw the evolution over time of the communication between sender and receiver. Relate this drawing to a sequence of transitions 308-435B Final 6

308-435B Final 7 Figure 1: Petri Net model of stop-and-wait protocol firing in the Petri Net. On the Petri Net, add places/transitions to count the total number of lost frames. 308-435B Final 7

308-435B Final 8 (11) [4] In the presence of errors, two types of sliding window data link protocols are used. Which are they? Explain both briefly and point out differences. (12) [4] What is data transparency? 308-435B Final 8

308-435B Final 9 How is data transparency achieved in character oriented protocols (BSC)? How is data transparency achieved in bit oriented protocols (HDLC) (give an algorithm)? (13) [4] In HDLC, what is the purpose of I-frames, S-frames, and U-frames? 308-435B Final 9

308-435B Final 10 (14) [4] Explain how CSMA/CD handles medium access on a multipoint link. Derive a formula for the maximum (collision domain) length L of a CSMA/CD (e.g., Ethernet) network segment given minimum frame size F, signal propagation velocity V, data rate D, (15) [4] What is the difference between an Ethernet Switch and an Ethernet Hub? 308-435B Final 10

308-435B Final 11 (16) [4] Explain how TDM can be used for switching. (17) [4] Explain the similarities and differences between a Circuit-Switched Connection and a Virtual-Circuit Connection. 308-435B Final 11

308-435B Final 12 (18) [4] Explain the differences between repeaters, bridges, routers and gateways. For each of these, specify at (upto) which level of the OSI model they operate. 308-435B Final 12

308-435B Final 13 (19) [10] Explain Distance Vector Routing. Construct a small example (no more than 4 networks) to illustrate the algorithm. (20) [4] Explain the operation of the TCP protocol by means of the state transition diagram given in Figure 2. 308-435B Final 13

308-435B Final 14 Figure 2: TCP/IP State Transition Diagram 308-435B Final 14

308-435B Final 15 (20) [4] What is I/O multiplexing used for? Describe the different uses of the select() function. Which data structure is used to select sockets? 308-435B Final 15