计算机网络第一章作业参考答案.docx

上传人:b****4 文档编号:11722568 上传时间:2023-03-31 格式:DOCX 页数:9 大小:20.42KB
下载 相关 举报
计算机网络第一章作业参考答案.docx_第1页
第1页 / 共9页
计算机网络第一章作业参考答案.docx_第2页
第2页 / 共9页
计算机网络第一章作业参考答案.docx_第3页
第3页 / 共9页
计算机网络第一章作业参考答案.docx_第4页
第4页 / 共9页
计算机网络第一章作业参考答案.docx_第5页
第5页 / 共9页
点击查看更多>>
下载资源
资源描述

计算机网络第一章作业参考答案.docx

《计算机网络第一章作业参考答案.docx》由会员分享,可在线阅读,更多相关《计算机网络第一章作业参考答案.docx(9页珍藏版)》请在冰豆网上搜索。

计算机网络第一章作业参考答案.docx

计算机网络第一章作业参考答案

计算机网络第一章作业参考答案

2.

Theperformanceofaclient-serversystemisstronglyinfluencedbytwomajornetworkcharacteristics:

thebandwidthofthenetwork(thatis,howmanybits/secitcantransport)andthelatency(thatis,howmanysecondsittakesforthefirstbittogetfromtheclienttotheserver).Giveanexampleofanetworkthatexhibitshighbandwidthbutalsohighlatency.Thengiveanexampleofonethathasbothlowbandwidthandlowlatency.

Answer:

1,、Ifthedistanceistoofarifbandwidthisverybig,butthedelayisalsoveryobvious,suchasthetransatlanticcable.

2,、Ontheotherhand,ifjusttransportinabuildingevenifbandwidthisverylow,wecanreceivemessageimmediately.

3.

Besidesbandwidthandlatency,whatotherparameterisneededtogiveagoodcharacterizationofthequalityofserviceofferedbyanetworkusedfor(i)digitizedvoicetraffic?

(ii)videotraffic?

(iii)financialtransactiontraffic?

Answer:

P55~57,

i,、Soundtransmissionrequiresacorrespondingfixedtimeslot,sothearrivalofinformationisveryimportant。

ii,、Videorequestissmooth,thereforethepacketlossrateisveryimportant

iii,、Financialbusinessflowneedstobereal-timeandhighsafetyrequirement,soneedtochecktheerrorrate。

10.

Whataretworeasonsforusinglayeredprotocols?

Whatisonepossibledisadvantageofusinglayeredprotocols?

Answer:

Throughthelayeredprotocolcanmakethedesignproblemisdividedintosmallermanageableparts.Alayerprotocolchangehasnoimpactontheotherlayerprotocol.

Disadvantage:

Eachlayerwillprocesstheinformation,finallymaycausedelayordistortionofinformation.Therearesomeduplicatedfunctionsindifferentlayers,forexample,DLLandTL.11.

whatistheprincipaldifferencebetweenconnectionlesscommunicationandconnection-orientedcommunication,Giveoneexampleofaprotocolthatuses

(i)connectionlesscommunication;

(ii)connection-orientedcommunication.

Answer:

P57-59,

First:

connectionorientedcommunicationisdividedintothreephases,thefirstistoestablishaconnection,inthisstage,sendsarequestforestablishingaconnection.Onlywhentheconnectionissuccessfullyestablished,tobegintransmissionofdata,whichisthesecondphase.Then,whenthedatahasbeentransmitted,toreleasetheconnection.Withouttheconnectionofcommunicationnotsomuchstage,itdirectdatatransmission.

Second:

connection-orientedcommunicationwithdataofkeepingorder,andconnectionlesscommunicationscannotbeguaranteedtoreceivedataandsenddatainorder.

Example,

Videocallisaconnectionorientedcommunication,

Mailisaconnectionlesscommunication。

14.

InFig.1-19,aserviceisshown.Areanyotherservicesimplicitinthisfigure?

Ifso,where?

Ifnot,whynot?

Answer:

ServiceisprovidedbytheklayertoK+1layer.ServicesmusthavethelowerKisprovided,namely,theKserviceisprovidedbyk-1layer.

16.

whichoftheOSIlayersandTCP/IPlayershandleseachofthefollowing:

(a)Dividingthetransmittedbitstreamintoframes.

(b)Determiningwhichroutethroughthesubnettouse.

Answer,

(a)、DatalinklayerinOSImodelandLinkLayerinTCPmodel

(b)、NetworklayerinOSImodelandInternetLayerinTCPmodel

17.

Iftheunitexchangedatthedatalinkleveliscalledaframeandtheunitexchangedatthenetworkleveliscalledapacket,doframesencapsulatepacketsordopacketsencapsulateframes?

Explainyouranswer.

Answer,

Framesencapsulatepackets.Whenapacketarrivesatthedatalinklayer,theentirepacket,includingpackethead,andallofthecontentdata,areusedastheframedataarea.Or,thewholepackageputinanenvelope(frame),(ifcanbeloaded.).

18.

Asystemhasann-layerprotocolhierarchy.ApplicationsgeneratemessagesoflengthMbytes.Ateachofthelayers,anh-byteheaderisadded.Whatfractionofthenetworkbandwidthisfilledwithheaders?

Answer:

hn/(hn+m)*100%.

19.

ListtwowaysinwhichtheOSIreferencemodelandtheTCP/IPreferencemodelarethesame.Nowlisttwowaysinwhichtheydiffer.

Answer:

Similarities:

Bothareindependentoftheprotocolstackconcept;layer’sfunctionsaresimilartoo.

Differences:

OSIbetterdistinguishbetweentheservice,interfaceandtheconceptofagreement,sothanTCP/IPhasbetterconceal,canmakeiteasiertoreplace;OSIisfirsttheconceptofsomemodel,andthentotherealizationoftheagreement,andTCP/IPisthefirstagreement,andthenestablishthedescriptionoftheagreementofthemodel.

Numberleveldifference:

TCP/IPdoesn’thavesessionlayerandpresentationlayer,OSIdoesnotsupportnetworkinterconnection.OSIinnetworklayersupportconnectionlessandconnection-orientedcommunication,andinthetransportlayeronlyconnection-orientedcommunication,andTCP/IPnetworklayerinonlyonekindofcommunicationmode(connectionless),butinthetransportlayersupporttwomodes.

20.

WhatisthemaindifferencebetweenTCPandUDP?

Answer:

TCPisaconnection-oriented,whileUDPisadatagramservice.

TCPisreliable,whileUDPisunreliable.

25.

Animageis1024×768pixelswith3bytes/pixel.Assumetheimageisuncompressed.Howlongdoesittaketotransmititovera56-kbpsmodemchannel?

Overa1-Mbpscablemodem?

Overa10-MbpsEthernet?

Over100-MbpsEthernet?

OvergigabitEthernet?

Answer:

Theimageis1024×768×3bytes=2359296bytes=18874368bits.AccordingtoT=C/BW

In56000bits/secspeed,transmissionrequires337.042seconds.In1000000bits/sec,about18.874seconds.

In10000000bits/sec,about1.8874seconds.

In100000000bits/sec,about0.18874second.

28.

Listtwoadvantagesandtwodisadvantagesofhavinginternationalstandardsfornetworkprotocols.

Answer:

Advantages:

1、ifeveryoneusesstandard,soeveryonecanwithanyotherpeople;2、extensiveuseofstandardswillleadtoeconomiesofscale,suchastheproductionoflarge

scaleintegratedcircuitchip.

Disadvantages,

1、inordertoachievestandardizationoftenleadtopoorstandards;2、oncethestandardiswidelyused,itwillbeverydifficulttomakeachange,eveniffoundnew

andbettermethodsortechnologies,alsohardtoreplace.

29.

Supposethealgorithmsusedtoimplementtheoperationsatlayerkischanged.Howdoesthisimpactoperationsatlayersk?

1andk+1?

Answer:

Noeffect.

Theinternalprocessingofeachlayerisindependent.

30.

Supposethereisachangeintheservice(setofoperations)providedbylayerk.Howdoesthisimpactservicesatlayersk-1andk+1?

Answer:

TheK+1layerWillbeaffected,becausetheservicesareprovidedbythelowertoupperlayer,suchasklayerprovidedservicestok+1layer,andklayer’sserviceisprovidedbythek-1layer.

33.

Makealistofactivitiesthatyoudoeverydayinwhichcomputernetworksareused.Howwouldyourlifebealteredifthesenetworksweresuddenlyswitchedoff?

Answer:

1、Chatonthenet;

2、Querydata;

3、Transactionprocessing;

4、ReceiveandsendE-mail;

5、Listeningtomusic、Seeamovie

Ifthesenetworksweresuddenlyswitchedoff,IthinkIwillhavetodoalotofthingsfacetoface,andcan’tdomanythings.

37.

TheInternetismadeupofalargenumberofnetworks.TheirarrangementdeterminesthetopologyoftheInternet.AconsiderableamountofinformationabouttheInternettopologyisavailableonline.UseasearchenginetofindoutmoreabouttheInternettopologyandwriteashortreportsummarizingyourfindings.

Answer:

1、Computerconnectionwayiscalled"networkTopology"(Topology).Networktopologyisreferswiththetransmissionmediainterconnectionallsortsofequipmentofthephysicallayout,

especiallycomputerdistributionpositionsoastohowandcablethroughthem.Designanetwork,shouldbebasedontheactualconditionsofchoosingthecorrecttopologymode.Eachtopologyhasitsownadvantagesanddisadvantages.

2、classification,

1,、Starstructure

StarstructureistopointtoeachworkstationBywayofstarconnectionintonetwork.networkA

centralnode,othernode(workstation,server)andthecentralnodedirectlyconnected,thiskindofstructurewiththecentralnodeasthecenter,soalsoknownasCentralizednetwork.Ithasthefollowingcharacteristics:

simplestructure,easytomanagement;Controlissimpleandconvenient,easytomeshing;Networkdelaytimeislesser,transmissionerrorisrelativelylow.Butthe

Abilityispoor.shortcomingisobvious:

thehighcostandlowreliability,Resourcessharing

StarTopologicalstructureThemainadvantagesare:

1.Easytomanagementmaintenance;

2.Reconfigureflexible;

3.Convenientfaultdetectionandisolation

2,、Ringstructure

RingstructurebynetworkInsomenodeThroughthepoint-to-pointlinkendtoformaclosedring,

thiskindofstructuremakepublictransmissioncablecompositionringtypejoint,thedataintheloop,alongtheadirectionineachnodetransmission,informationfromonenodetoanothernode.

RingstructureHasthefollowingfeatures:

informationflowinthenetisalongthefixeddirection,twonodesonlyaroad,thesimplifiedpathChoiceofcontrol;Looponthenodearebootstrap

control,thecontrolsoftwareSimple;Becauseinformationsourceintheloopisserialthrougheachnode,whenringnodetoomuch,willbeaffectedInformationtransmissionrate,andmakethenetworkresponsetimeextension;Loopisclosed,noteasytoexpand,Reliabilityislow,anodefailure,willcauseparalysiswhich;Maintenancedifficult,tobranchnodefaultlocationMoredifficult.

Theadvantagesanddisadvantagesofringtopologyis:

advantageisbecauseeachnodeareat

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 人文社科 > 法律资料

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1