Docsity

Midterm Exam Solutions - Mobile and Wireless Computing | CS 441, Exams of Wireless Networking

Toggle sidebar
bg1
CS 441 โ€“ Fall 2008
MOBILE & WIRELESS COMPUTING
Department of Computer Science
Midterm Exam - Solutions
10/13/2008
Name
Clearly show all your work where requested. For partial credit, do not leave any
question empty.
Q1)(10pts) a) _Packet Switching_ can be done either by datagram or virtual circuit.
b) PPP is at the __data link ___ layer of TCP/IP model.
c) Two types of routing are ___link state___ and __distance vector___
d) Key elements of a protocol are __syntax__, _semantics_ and _timing_
e) Internet uses ___RIP____ and ___OSPF______ for routing
Q2)(20pts) a) Determine and list what TCP/IP layers are to be followed when a
packet is to be sent from S to D in the following figure.
Host S
Application Application
TCP TCP
IP IP IP
Link Link Link Link
Physical Physical Physical Physical
Layer 2
Hub
Router
Host D
b) Explain the differences between port number, IP and MAC addresses
and tell at which layers they are used.
Port numbers: Used to identify processes at the Transport layer
IP address: Used to identify hosts and determine routes at the Network
layer
MAC address: Used to identify network interfaces, Data Link layer
1
pf3
pf4

Partial preview of the text

Download Midterm Exam Solutions - Mobile and Wireless Computing | CS 441 and more Exams Wireless Networking in PDF only on Docsity!

CS 441 โ€“ Fall 2008

MOBILE & WIRELESS COMPUTING

Department of Computer Science

Midterm Exam - Solutions

Name

Clearly show all your work where requested. For partial credit, do not leave any question empty.

Q1)(10pts) a) Packet Switching can be done either by datagram or virtual circuit. b) PPP is at the __data link ___ layer of TCP/IP model. c) Two types of routing are ___ link state ___ and __ distance vector ___ d) Key elements of a protocol are syntax, semantics and _ timing _ e) Internet uses ___ RIP ____ and ___ OSPF ______ for routing

Q2)(20pts) a) Determine and list what TCP/IP layers are to be followed when a packet is to be sent from S to D in the following figure.

Host S

Application Application TCP TCP IP IP IP Link Link Link Link Physical Physical Physical Physical

Layer 2 Hub

Router Host D

b) Explain the differences between port number, IP and MAC addresses and tell at which layers they are used.

Port numbers: Used to identify processes at the Transport layer IP address: Used to identify hosts and determine routes at the Network layer MAC address: Used to identify network interfaces, Data Link layer

Q3)(10pts) a) List three challenges associated with wireless networks in general.

Wireless communication Poor Resources Mobility

b) What is the difference between isotropic and directional antennas?

Isotropic radiates signals in all directions while directional antennas focuse in one particular direction.

Q4)(20 pts) a) Let Pt, Pd, Pi denote the received power from a node which sits within the transmission range, detection range and interference range respectively for a particular node. Which of the following will be true? Why?

1) Pt > Pd > Pi 2) Pt < Pd < Pi 3) Pd > Pt > Pi 4) Pi > Pd > Pt 5) None can be concluded.

The closer a node is, the higher the signal strength will be (attenuation, fading, etc)

b) What is multi-path propagation?

Reception of a signal at different times with different strengths due to reflection, refraction, scattering, etc.

Q7)(15pts) a) Compare and contrast distributed and centralized MAC protocols for wireless networks?

Distributed: Scalable, no single point of failure, flexible, not easy to implement, may not perform well

Centralized: Not scalable, single point of failure, easy to implement, good performance.

b) Briefly describe the carrier sensing in IEEE 802.11 standard?

In two ways: Physical and Virtual. Virtual is done through NAVs.

c) What is the difference between PCF and DCF?

Point Coordination Function: No contention

Distributed Coordination Function: For multiple nodes contending to capture a channel.