Professional Documents
Culture Documents
Networking and Multimedia Resit Coursework Part 2 - 50%
Networking and Multimedia Resit Coursework Part 2 - 50%
Q 2. Describe any four key Quality of Service (QoS) parameters used to describe the
traffic profile of data on a network.
Ans:
1. Bandwidth: It is measuring capacity available on a network link. This is most familiar
factor of a network is the bandwidth. It is measured in bits per second (bps).
2. Delay: It is also known as latency; it deals with the how long the packet took from
sender to receiver. It is measured in milliseconds (ms); slower the network means
more the delay.
3. Jitter: It is a measurement of variation of delay between packets. For example, if
packet takes 50ms to get from point X to Point Y and second packets takes 70ms to
get from point X to Point Y then jitter is 20ms.
4. Loss: Sometimes as packets fly through a network some of them get lost it mean
that they not reach to destination.
Q 3. Compare the main characteristics of a circuit switched network with that of a
packet switched network.
Ans:
Q 7. Briefly describe any four key functions of a communication protocol. Ans: 1. Data
Sequencing 2. Data Flow 3. Data Functions of protocols
Following are the main functionalities of a protocol:
Data Sequencing: It mainly convert data into packets and divide the whole data
into packets.
Data Flow: It mainly work to send data to the destination and check data is correct
or not.
Data Routing: it selects best fit path for sending data from sender to receiver and
there is many path available.
Flow Control: It provides facility to limit the flow of data. This is a function of
receiver’s end to maintain flow control of data.
Error Control: It helps to find error if any and control. Any error is detected during
the transmission of data, a request for retransmission of data is sent to the sender
by the receiver.
8. Briefly describe the following compression techniques. Your answer should also
state which of the techniques are lossy and which ones are lossless.
i) Differential pulse code modulation
Ans:
Differential pulse code modulation (DPCM) is a mechanism to convert analog signal into a
digital signal firstly analog signal is sampled and then the actual sample value and predicted
value is quantized for encoded for digital value.
Basic concept behind DPCM – mostly source signals show significant correlation between
successive samples so encoding uses redundancy in sample values which implies lower bit
rate. It is based on a technique in which we have to predict current sample value based upon
previous samples and predict actual value of sample and predicted value. DPCM is totally
depending on the prediction technique, prediction techniques lead to good compression
rates, in other cases DPCM could mean expansion comparing to regular PCM encoding.
It is totally a lossy compression techniques. This is used in JPEG and in adaptive DPCM
(ADPCM), a common audio compression method.
ii) Vector Quantisation
Ans:
It is a lossy compression Algorithm vector quantisation, Vector quantization technique is
quite similar to scalar quantization. Idea behind it is to identify the frequently occurring blocks
in an image and to represent them as representative vectors. Set of representative vector is
known as Code Book and it is then used for image.
Mapping
Training
Function
Coding Code
SET
Q
Vector Book
Training SET: It purpose is to partition the input sequence into some non-overlapping
region. Mapping Function Q: coding vector is being formed and then code book is being
created which is used for the image.
This is a structure of vector quantisation (VQ).
Q 9.
i) What are the three main types of MPEG frames?
Ans:
Three types of MPEG frames:
Intraframe or I-frame: Complete image is encoded without any reference to any other
image.
Predicted Frame or P-frame: In this case the image coded with another image. A P-frame
can be generated relative to either an I-frame or another p-frame.
Bidirectional Frame or B-frame: In bidirectional image derived from two frames, it is
between first and third frame. B-frame is derived from I-frame or P-frame, but not from B-
frames.
ii) Give an example of a typical GOP sequence and explain the relationship between
the different types of frames in the sequence?
Ans:
Group of Pictures arranged in specific order (I-frames, B-frames and P-frames in case of
H.264/AVC standard). Video is collection of GOPs of a specific size (taking 8 or 12 frames,
which is set in the header of the standard).
A GOP always starting with an I-frame (intra coded frame or reference frame) also called as
Key frame. Size iof GOP is the distance between two I-frames (eg IBBPBBPBBPBBI means
the size of the GOP is 12).