SlideShare una empresa de Scribd logo
1 de 1
Descargar para leer sin conexión
EE 333, Communication Networks
Mid-Term Exam (2014-15S)
Maximum Marks = 30 Time = 2 hours
1. Your friend has designed a new ARQ technique which he/she wants to use to transmit data from A to
B. In this scheme, A transmits data in the form of blocks where each block has N packets. After A sends
all the N packets (in N consecutive slots), B tells A the sequence numbers of ALL the packets that it did
not receive correctly. A then repeats only those packets. B now tells A which of these packets were in
error and A then repeats only those packets. This process continues until B tells A that all packets of the
block have been received correctly. Once A hears this, it can go ahead and send the next block.
For the following, assume that the packet length is T (fixed), propagation delay is d in each of the links A-
B and B-A and that the ACK length is small enough to be neglected. Assume also that α is the probability
that a packet is correctly received at B and that the ACKs from B to A are always correctly received. We
also assume that A always has enough packets to send to B, i.e. it never runs out of packets to send
(a) For N=1, what is the average efficiency with which the A-B link can be used? [2]
(b) For N=2, what is the average efficiency with which the A-B link can be used? [4]
(c) For N=3, what is the average efficiency with which the A-B link can be used if we assume d=0 (only
for part (c))? [4]
For notational convenience, use b=d/T as the normalized propagation delay (in one direction)
2. (a) Using the CRC approach, a code word of n bits is generated using a generator polynomial of the
type g(x)=(1+x)P(x) where P(x) is chosen to be a Primitive Polynomial which exactly divides (xn
+1) but not
any (xm
+1) for m<n. [5]
For this code, show that Cyclically Right Shifting a code word by one bit will generate another valid code
word.
[Note: Please answer briefly and clearly. Garbled, confused and confusing answers will not be
considered.]
(b) The CRC-8 generator polynomial 8 2
( ) 1g x x x x    is used to encode a data word. The resultant
code word is 17 14 12 11 10 9 7 5 4 2
( ) 1C x x x x x x x x x x x x           
The receiver receives 17 14 12 11 8 7 5
( )C x x x x x x x x x        
Assume that the sender monitors its own transmission and can also see what the receiver will receive.
What can the sender say about whether or not the received code word ( )C x will be accepted by the
receiver as a code word without errors? [5]
Show all your steps – no marks for unsupported guess-work!
3. Consider a Slotted ALOHA system with three users where the transmission probability in a slot is q for
both “Thinking” and “Blocked” users. The system state is defined as the number of backlogged users
with jP =P{j backlogged users in the system}
(a) Draw the State Transition Diagram for the system clearly labelling the state transition probabilities in
the diagram. (You need not show the j→j type of transitions.) [4]
(b) Derive expressions for P1 and P2 in terms of q and P0. [3]
(c) What is the maximum throughput of this system and the value of q at which this is achieved? [3]

Más contenido relacionado

La actualidad más candente

Lattice Cryptography
Lattice CryptographyLattice Cryptography
Lattice CryptographyPriyanka Aash
 
CRC Error coding technique
CRC Error coding techniqueCRC Error coding technique
CRC Error coding techniqueMantra VLSI
 
A short introduction to Network coding
A short introduction to Network codingA short introduction to Network coding
A short introduction to Network codingArash Pourdamghani
 
Network coding
Network codingNetwork coding
Network codingLishi He
 
M.Sridevi II-M.Sc (computer science)
M.Sridevi II-M.Sc (computer science)M.Sridevi II-M.Sc (computer science)
M.Sridevi II-M.Sc (computer science)SrideviM4
 
Huffman Algorithm and its Application by Ekansh Agarwal
Huffman Algorithm and its Application by Ekansh AgarwalHuffman Algorithm and its Application by Ekansh Agarwal
Huffman Algorithm and its Application by Ekansh AgarwalEkansh Agarwal
 
Variational Inference in Python
Variational Inference in PythonVariational Inference in Python
Variational Inference in PythonPeadar Coyle
 
Arithmetic coding
Arithmetic codingArithmetic coding
Arithmetic codingGidey Leul
 
Multimedia lossless compression algorithms
Multimedia lossless compression algorithmsMultimedia lossless compression algorithms
Multimedia lossless compression algorithmsMazin Alwaaly
 
Huffman Algorithm By Shuhin
Huffman Algorithm By ShuhinHuffman Algorithm By Shuhin
Huffman Algorithm By Shuhinsuhin4000
 
Lec7 8 9_10 coding techniques
Lec7 8 9_10 coding techniquesLec7 8 9_10 coding techniques
Lec7 8 9_10 coding techniquesDom Mike
 
Introduction to Bayesian Analysis in Python
Introduction to Bayesian Analysis in PythonIntroduction to Bayesian Analysis in Python
Introduction to Bayesian Analysis in PythonPeadar Coyle
 

La actualidad más candente (20)

First Technical Paper
First Technical PaperFirst Technical Paper
First Technical Paper
 
Huffman Coding
Huffman CodingHuffman Coding
Huffman Coding
 
Lec-03 Entropy Coding I: Hoffmann & Golomb Codes
Lec-03 Entropy Coding I: Hoffmann & Golomb CodesLec-03 Entropy Coding I: Hoffmann & Golomb Codes
Lec-03 Entropy Coding I: Hoffmann & Golomb Codes
 
Quiz 1 solution
Quiz 1 solutionQuiz 1 solution
Quiz 1 solution
 
Lattice Cryptography
Lattice CryptographyLattice Cryptography
Lattice Cryptography
 
CRC Error coding technique
CRC Error coding techniqueCRC Error coding technique
CRC Error coding technique
 
A short introduction to Network coding
A short introduction to Network codingA short introduction to Network coding
A short introduction to Network coding
 
Quantum Noise and Error Correction
Quantum Noise and Error CorrectionQuantum Noise and Error Correction
Quantum Noise and Error Correction
 
Unequal-Cost Prefix-Free Codes
Unequal-Cost Prefix-Free CodesUnequal-Cost Prefix-Free Codes
Unequal-Cost Prefix-Free Codes
 
Network coding
Network codingNetwork coding
Network coding
 
M.Sridevi II-M.Sc (computer science)
M.Sridevi II-M.Sc (computer science)M.Sridevi II-M.Sc (computer science)
M.Sridevi II-M.Sc (computer science)
 
Huffman coding
Huffman coding Huffman coding
Huffman coding
 
Huffman Algorithm and its Application by Ekansh Agarwal
Huffman Algorithm and its Application by Ekansh AgarwalHuffman Algorithm and its Application by Ekansh Agarwal
Huffman Algorithm and its Application by Ekansh Agarwal
 
Huffman Coding
Huffman CodingHuffman Coding
Huffman Coding
 
Variational Inference in Python
Variational Inference in PythonVariational Inference in Python
Variational Inference in Python
 
Arithmetic coding
Arithmetic codingArithmetic coding
Arithmetic coding
 
Multimedia lossless compression algorithms
Multimedia lossless compression algorithmsMultimedia lossless compression algorithms
Multimedia lossless compression algorithms
 
Huffman Algorithm By Shuhin
Huffman Algorithm By ShuhinHuffman Algorithm By Shuhin
Huffman Algorithm By Shuhin
 
Lec7 8 9_10 coding techniques
Lec7 8 9_10 coding techniquesLec7 8 9_10 coding techniques
Lec7 8 9_10 coding techniques
 
Introduction to Bayesian Analysis in Python
Introduction to Bayesian Analysis in PythonIntroduction to Bayesian Analysis in Python
Introduction to Bayesian Analysis in Python
 

Destacado (18)

Atherton
AthertonAtherton
Atherton
 
Успех в карьере
Успех в карьереУспех в карьере
Успех в карьере
 
Jacob Pues Resume
Jacob Pues Resume Jacob Pues Resume
Jacob Pues Resume
 
Manejo quirúrgico epistaxis 2
Manejo quirúrgico epistaxis 2Manejo quirúrgico epistaxis 2
Manejo quirúrgico epistaxis 2
 
HP-Release
HP-ReleaseHP-Release
HP-Release
 
Compair website-prices-02
Compair website-prices-02Compair website-prices-02
Compair website-prices-02
 
A Power User's Intro to jQuery Awesomeness in SharePoint
A Power User's Intro to jQuery Awesomeness in SharePointA Power User's Intro to jQuery Awesomeness in SharePoint
A Power User's Intro to jQuery Awesomeness in SharePoint
 
SPTechCon 2014 How to develop and debug client side code in SharePoint
SPTechCon 2014 How to develop and debug client side code in SharePointSPTechCon 2014 How to develop and debug client side code in SharePoint
SPTechCon 2014 How to develop and debug client side code in SharePoint
 
Με πινέλα και φαντασία
Με πινέλα και φαντασίαΜε πινέλα και φαντασία
Με πινέλα και φαντασία
 
Student leadership in DCC
Student leadership in DCCStudent leadership in DCC
Student leadership in DCC
 
Masas de cuello
Masas de cuelloMasas de cuello
Masas de cuello
 
Ppt Passaki
Ppt PassakiPpt Passaki
Ppt Passaki
 
Management resume
Management resumeManagement resume
Management resume
 
Hoarseness
HoarsenessHoarseness
Hoarseness
 
CPAP BIPAP y AutoCPAP RiesgodeFractura.com
CPAP BIPAP y AutoCPAP RiesgodeFractura.comCPAP BIPAP y AutoCPAP RiesgodeFractura.com
CPAP BIPAP y AutoCPAP RiesgodeFractura.com
 
Etapas de sueño
Etapas de sueñoEtapas de sueño
Etapas de sueño
 
Epistaxis
EpistaxisEpistaxis
Epistaxis
 
Megacode tv inestable
Megacode tv inestableMegacode tv inestable
Megacode tv inestable
 

Similar a Mid term

ENHANCEMENT OF TRANSMISSION RANGE ASSIGNMENT FOR CLUSTERED WIRELESS SENSOR NE...
ENHANCEMENT OF TRANSMISSION RANGE ASSIGNMENT FOR CLUSTERED WIRELESS SENSOR NE...ENHANCEMENT OF TRANSMISSION RANGE ASSIGNMENT FOR CLUSTERED WIRELESS SENSOR NE...
ENHANCEMENT OF TRANSMISSION RANGE ASSIGNMENT FOR CLUSTERED WIRELESS SENSOR NE...IJCNCJournal
 
Dce a novel delay correlation
Dce a novel delay correlationDce a novel delay correlation
Dce a novel delay correlationijdpsjournal
 
4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf
4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf
4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdfmrcopyxerox
 
EE402B Radio Systems and Personal Communication Networks notes
EE402B Radio Systems and Personal Communication Networks notesEE402B Radio Systems and Personal Communication Networks notes
EE402B Radio Systems and Personal Communication Networks notesHaris Hassan
 
DCE: A NOVEL DELAY CORRELATION MEASUREMENT FOR TOMOGRAPHY WITH PASSIVE REAL...
DCE: A NOVEL DELAY CORRELATION  MEASUREMENT FOR TOMOGRAPHY WITH PASSIVE  REAL...DCE: A NOVEL DELAY CORRELATION  MEASUREMENT FOR TOMOGRAPHY WITH PASSIVE  REAL...
DCE: A NOVEL DELAY CORRELATION MEASUREMENT FOR TOMOGRAPHY WITH PASSIVE REAL...ijdpsjournal
 
ECE 478578 Fundamentals of Computer NetworksProject # 1..docx
ECE 478578 Fundamentals of Computer NetworksProject # 1..docxECE 478578 Fundamentals of Computer NetworksProject # 1..docx
ECE 478578 Fundamentals of Computer NetworksProject # 1..docxtidwellveronique
 
Csit77402
Csit77402Csit77402
Csit77402csandit
 
Computer Networks Homework Help
Computer Networks Homework HelpComputer Networks Homework Help
Computer Networks Homework HelpAssignmentpedia
 
Multi-slot Coded ALOHA with Irregular Degree.pdf
Multi-slot Coded ALOHA with Irregular Degree.pdfMulti-slot Coded ALOHA with Irregular Degree.pdf
Multi-slot Coded ALOHA with Irregular Degree.pdfYAAKOVSOLOMON1
 
D I G I T A L C O M M U N I C A T I O N S J N T U M O D E L P A P E R{Www
D I G I T A L  C O M M U N I C A T I O N S  J N T U  M O D E L  P A P E R{WwwD I G I T A L  C O M M U N I C A T I O N S  J N T U  M O D E L  P A P E R{Www
D I G I T A L C O M M U N I C A T I O N S J N T U M O D E L P A P E R{Wwwguest3f9c6b
 
Digital Communications Jntu Model Paper{Www.Studentyogi.Com}
Digital Communications Jntu Model Paper{Www.Studentyogi.Com}Digital Communications Jntu Model Paper{Www.Studentyogi.Com}
Digital Communications Jntu Model Paper{Www.Studentyogi.Com}guest3f9c6b
 
Method for Converter Synchronization with RF Injection
Method for Converter Synchronization with RF InjectionMethod for Converter Synchronization with RF Injection
Method for Converter Synchronization with RF InjectionCSCJournals
 
Data link layar
Data link layarData link layar
Data link layarjaysans
 
A comparison of efficient algorithms for scheduling parallel data redistribution
A comparison of efficient algorithms for scheduling parallel data redistributionA comparison of efficient algorithms for scheduling parallel data redistribution
A comparison of efficient algorithms for scheduling parallel data redistributionIJCNCJournal
 
Data and computer communication exam i
Data and computer communication exam iData and computer communication exam i
Data and computer communication exam iAndrew Ibrahim
 
An Ant Algorithm for Solving QoS Multicast Routing Problem
An Ant Algorithm for Solving QoS Multicast Routing ProblemAn Ant Algorithm for Solving QoS Multicast Routing Problem
An Ant Algorithm for Solving QoS Multicast Routing ProblemCSCJournals
 
Presentation of 'Reliable Rate-Optimized Video Multicasting Services over LTE...
Presentation of 'Reliable Rate-Optimized Video Multicasting Services over LTE...Presentation of 'Reliable Rate-Optimized Video Multicasting Services over LTE...
Presentation of 'Reliable Rate-Optimized Video Multicasting Services over LTE...Andrea Tassi
 
A Threshold Enhancement Technique for Chaotic On-Off Keying Scheme
A Threshold Enhancement Technique for Chaotic On-Off Keying SchemeA Threshold Enhancement Technique for Chaotic On-Off Keying Scheme
A Threshold Enhancement Technique for Chaotic On-Off Keying SchemeCSCJournals
 

Similar a Mid term (20)

ENHANCEMENT OF TRANSMISSION RANGE ASSIGNMENT FOR CLUSTERED WIRELESS SENSOR NE...
ENHANCEMENT OF TRANSMISSION RANGE ASSIGNMENT FOR CLUSTERED WIRELESS SENSOR NE...ENHANCEMENT OF TRANSMISSION RANGE ASSIGNMENT FOR CLUSTERED WIRELESS SENSOR NE...
ENHANCEMENT OF TRANSMISSION RANGE ASSIGNMENT FOR CLUSTERED WIRELESS SENSOR NE...
 
Dce a novel delay correlation
Dce a novel delay correlationDce a novel delay correlation
Dce a novel delay correlation
 
4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf
4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf
4af46e43-4dc7-4b54-ba8b-3a2594bb5269 j.pdf
 
EE402B Radio Systems and Personal Communication Networks notes
EE402B Radio Systems and Personal Communication Networks notesEE402B Radio Systems and Personal Communication Networks notes
EE402B Radio Systems and Personal Communication Networks notes
 
DCE: A NOVEL DELAY CORRELATION MEASUREMENT FOR TOMOGRAPHY WITH PASSIVE REAL...
DCE: A NOVEL DELAY CORRELATION  MEASUREMENT FOR TOMOGRAPHY WITH PASSIVE  REAL...DCE: A NOVEL DELAY CORRELATION  MEASUREMENT FOR TOMOGRAPHY WITH PASSIVE  REAL...
DCE: A NOVEL DELAY CORRELATION MEASUREMENT FOR TOMOGRAPHY WITH PASSIVE REAL...
 
ECE 478578 Fundamentals of Computer NetworksProject # 1..docx
ECE 478578 Fundamentals of Computer NetworksProject # 1..docxECE 478578 Fundamentals of Computer NetworksProject # 1..docx
ECE 478578 Fundamentals of Computer NetworksProject # 1..docx
 
Csit77402
Csit77402Csit77402
Csit77402
 
Computer Networks Homework Help
Computer Networks Homework HelpComputer Networks Homework Help
Computer Networks Homework Help
 
40120140501016
4012014050101640120140501016
40120140501016
 
Computer Networking Assignment Help
Computer Networking Assignment HelpComputer Networking Assignment Help
Computer Networking Assignment Help
 
Multi-slot Coded ALOHA with Irregular Degree.pdf
Multi-slot Coded ALOHA with Irregular Degree.pdfMulti-slot Coded ALOHA with Irregular Degree.pdf
Multi-slot Coded ALOHA with Irregular Degree.pdf
 
D I G I T A L C O M M U N I C A T I O N S J N T U M O D E L P A P E R{Www
D I G I T A L  C O M M U N I C A T I O N S  J N T U  M O D E L  P A P E R{WwwD I G I T A L  C O M M U N I C A T I O N S  J N T U  M O D E L  P A P E R{Www
D I G I T A L C O M M U N I C A T I O N S J N T U M O D E L P A P E R{Www
 
Digital Communications Jntu Model Paper{Www.Studentyogi.Com}
Digital Communications Jntu Model Paper{Www.Studentyogi.Com}Digital Communications Jntu Model Paper{Www.Studentyogi.Com}
Digital Communications Jntu Model Paper{Www.Studentyogi.Com}
 
Method for Converter Synchronization with RF Injection
Method for Converter Synchronization with RF InjectionMethod for Converter Synchronization with RF Injection
Method for Converter Synchronization with RF Injection
 
Data link layar
Data link layarData link layar
Data link layar
 
A comparison of efficient algorithms for scheduling parallel data redistribution
A comparison of efficient algorithms for scheduling parallel data redistributionA comparison of efficient algorithms for scheduling parallel data redistribution
A comparison of efficient algorithms for scheduling parallel data redistribution
 
Data and computer communication exam i
Data and computer communication exam iData and computer communication exam i
Data and computer communication exam i
 
An Ant Algorithm for Solving QoS Multicast Routing Problem
An Ant Algorithm for Solving QoS Multicast Routing ProblemAn Ant Algorithm for Solving QoS Multicast Routing Problem
An Ant Algorithm for Solving QoS Multicast Routing Problem
 
Presentation of 'Reliable Rate-Optimized Video Multicasting Services over LTE...
Presentation of 'Reliable Rate-Optimized Video Multicasting Services over LTE...Presentation of 'Reliable Rate-Optimized Video Multicasting Services over LTE...
Presentation of 'Reliable Rate-Optimized Video Multicasting Services over LTE...
 
A Threshold Enhancement Technique for Chaotic On-Off Keying Scheme
A Threshold Enhancement Technique for Chaotic On-Off Keying SchemeA Threshold Enhancement Technique for Chaotic On-Off Keying Scheme
A Threshold Enhancement Technique for Chaotic On-Off Keying Scheme
 

Más de Gopi Saiteja

Más de Gopi Saiteja (20)

Trees gt(1)
Trees gt(1)Trees gt(1)
Trees gt(1)
 
Topic11 sortingandsearching
Topic11 sortingandsearchingTopic11 sortingandsearching
Topic11 sortingandsearching
 
Heapsort
HeapsortHeapsort
Heapsort
 
Hashing gt1
Hashing gt1Hashing gt1
Hashing gt1
 
Ee693 sept2014quizgt2
Ee693 sept2014quizgt2Ee693 sept2014quizgt2
Ee693 sept2014quizgt2
 
Ee693 sept2014quizgt1
Ee693 sept2014quizgt1Ee693 sept2014quizgt1
Ee693 sept2014quizgt1
 
Ee693 sept2014quiz1
Ee693 sept2014quiz1Ee693 sept2014quiz1
Ee693 sept2014quiz1
 
Ee693 sept2014midsem
Ee693 sept2014midsemEe693 sept2014midsem
Ee693 sept2014midsem
 
Ee693 questionshomework
Ee693 questionshomeworkEe693 questionshomework
Ee693 questionshomework
 
Dynamic programming
Dynamic programmingDynamic programming
Dynamic programming
 
Cs105 l15-bucket radix
Cs105 l15-bucket radixCs105 l15-bucket radix
Cs105 l15-bucket radix
 
Chapter11 sorting algorithmsefficiency
Chapter11 sorting algorithmsefficiencyChapter11 sorting algorithmsefficiency
Chapter11 sorting algorithmsefficiency
 
Answers withexplanations
Answers withexplanationsAnswers withexplanations
Answers withexplanations
 
Sorting
SortingSorting
Sorting
 
Solution(1)
Solution(1)Solution(1)
Solution(1)
 
Pthread
PthreadPthread
Pthread
 
Open mp
Open mpOpen mp
Open mp
 
Introduction
IntroductionIntroduction
Introduction
 
Cuda
CudaCuda
Cuda
 
Vector space interpretation_of_random_variables
Vector space interpretation_of_random_variablesVector space interpretation_of_random_variables
Vector space interpretation_of_random_variables
 

Mid term

  • 1. EE 333, Communication Networks Mid-Term Exam (2014-15S) Maximum Marks = 30 Time = 2 hours 1. Your friend has designed a new ARQ technique which he/she wants to use to transmit data from A to B. In this scheme, A transmits data in the form of blocks where each block has N packets. After A sends all the N packets (in N consecutive slots), B tells A the sequence numbers of ALL the packets that it did not receive correctly. A then repeats only those packets. B now tells A which of these packets were in error and A then repeats only those packets. This process continues until B tells A that all packets of the block have been received correctly. Once A hears this, it can go ahead and send the next block. For the following, assume that the packet length is T (fixed), propagation delay is d in each of the links A- B and B-A and that the ACK length is small enough to be neglected. Assume also that α is the probability that a packet is correctly received at B and that the ACKs from B to A are always correctly received. We also assume that A always has enough packets to send to B, i.e. it never runs out of packets to send (a) For N=1, what is the average efficiency with which the A-B link can be used? [2] (b) For N=2, what is the average efficiency with which the A-B link can be used? [4] (c) For N=3, what is the average efficiency with which the A-B link can be used if we assume d=0 (only for part (c))? [4] For notational convenience, use b=d/T as the normalized propagation delay (in one direction) 2. (a) Using the CRC approach, a code word of n bits is generated using a generator polynomial of the type g(x)=(1+x)P(x) where P(x) is chosen to be a Primitive Polynomial which exactly divides (xn +1) but not any (xm +1) for m<n. [5] For this code, show that Cyclically Right Shifting a code word by one bit will generate another valid code word. [Note: Please answer briefly and clearly. Garbled, confused and confusing answers will not be considered.] (b) The CRC-8 generator polynomial 8 2 ( ) 1g x x x x    is used to encode a data word. The resultant code word is 17 14 12 11 10 9 7 5 4 2 ( ) 1C x x x x x x x x x x x x            The receiver receives 17 14 12 11 8 7 5 ( )C x x x x x x x x x         Assume that the sender monitors its own transmission and can also see what the receiver will receive. What can the sender say about whether or not the received code word ( )C x will be accepted by the receiver as a code word without errors? [5] Show all your steps – no marks for unsupported guess-work! 3. Consider a Slotted ALOHA system with three users where the transmission probability in a slot is q for both “Thinking” and “Blocked” users. The system state is defined as the number of backlogged users with jP =P{j backlogged users in the system} (a) Draw the State Transition Diagram for the system clearly labelling the state transition probabilities in the diagram. (You need not show the j→j type of transitions.) [4] (b) Derive expressions for P1 and P2 in terms of q and P0. [3] (c) What is the maximum throughput of this system and the value of q at which this is achieved? [3]