Professional Documents
Culture Documents
Degree:BS(CS)
Course Code:CS-311
ANSWER:
Line Coding:
Converting a string of 1’s and 0’s (digital data) into a sequence of signals that denote the
1’s and 0’s.
For example a high voltage level (+V) could represent a “1” and a low voltage level (0 or
-V) could represent a “0”.
Baseline wandering - a receiver will evaluate the average power of the received signal
(called the baseline) and use that to determine the value of the incoming data elements. If
the incoming signal does not vary over a long period of time, the baseline will drift and
thus cause errors in detection of incoming data elements.
A good line encoding scheme will prevent long runs of fixed amplitude.
Block Coding:
For a code to be capable of error detection, we need to add redundancy, i.e., extra bits to
the data bits.
Synchronization also requires redundancy - transitions are important in the signal flow
and must occur frequently.
Block coding is done in three steps: division, substitution and combination.
It is distinguished from multilevel coding by use of the slash - xB/yB.
The resulting bit stream prevents certain bit combinations that when used with line
encoding would result in DC components or poor sync. quality.
Scrambling:
The best code is one that does not increase the bandwidth for synchronization and has no
DC components.
Scrambling is a technique used to create a sequence of bits that has the required c/c’s for
transmission - self clocking, no low frequencies, no wide bandwidth.
It is implemented at the same time as encoding, the bit stream is created on the fly.
It replaces ‘unfriendly’ runs of bits with a violation code that is easy to recognize and
removes the unfriendly c/c.
+
ANSWER:
MULTIPLEXING:
Whenever the bandwidth of a medium linking two devices is greater than the bandwidth
needs of the devices, the link can be shared. Multiplexing is the set of techniques that allows
the (simultaneous) transmission of multiple signals across a single data link. As data and
telecommunications use increases, so does traffic.
Frequency-division multiplexing (FDM)
Interleaving
The process of taking a group of bits from each input line for multiplexing is called
interleaving.
We interleave bits (1 - n) from each input onto one output.
Spread Spectrum:
A signal that occupies a bandwidth of B, is spread out to occupy a bandwidth of Bss
All signals are spread to occupy the same bandwidth Bss
Signals are spread with different codes so that they can be separated at the receivers.
Signals can be spread in the frequency domain or in the time domain.
Frequency hopping spread spectrum (FHSS)
3. Enlist the types of transmission media? Bullet down the Categories of unshielded
twisted-pair cables and its connectors. Provide Comparison with coaxial cable according
to performance and applications.
ANSWER:
Transmission Media
GUIDED MEDIA:
Guided media, which are those that provide a conduit from one device to another, include
twisted-pair cable, coaxial cable, and fiber-optic cable.
Twisted-pair cable:
A twisted pair consists of two conductors (normally copper), each with its own plastic
insulation, twisted together, as shown in Figure
One of the wires is used to carry signals to the receiver, and the other is used only as a
ground reference.
The receiver uses the difference between the two.
In addition to the signal sent by the sender on one of the wires, interference (noise) and
crosstalk may affect both wires and create unwanted signals.
If the two wires are parallel, the effect of these unwanted signals is not the same in both
wires because they are at different locations relative to the noise or crosstalk sources (e,g., one is
closer and the other is farther).
This results in a difference at the receiver.
By twisting the pairs, a balance is maintained.
For example, suppose in one twist, one wire is closer to the noise source and the other is
farther; in the next twist, the reverse is true.
Twisting makes it probable that both wires are equally affected by external influences
(noise or crosstalk).
This means that the receiver, which calculates the difference between the two, receives
no unwanted signals.
The unwanted signals are mostly cancelled out.
From the above discussion, it is clear that the number of twists per unit of length (e.g.,
inch) has some effect on the quality of the cable
Applications:
Twisted-pair cables are used in telephone lines to provide voice and data channels.
The local loop line that connects subscribers to the central telephone office commonly
consists of unshielded twisted-pair cables.
The DSL lines that are used by the telephone companies to provide high-data-rate
connections also use the high-bandwidth capability of unshielded twisted-pair cables.
Local-area networks, such as 10Base-T(twisted pair Ethernet) and 100Base-T, also use
twisted-pair cables.
Coaxial Cable:
Coaxial cable (or coax) carries signals of higher frequency ranges than those
in twisted pair cable, in part because the two media are constructed quite
differently.
Instead of having two wires, coax has a central core conductor of solid or
stranded wire (usually copper) enclosed in an insulating sheath, which is, in
turn, encased in an outer conductor of metal foil, braid, or a combination of
the two.
The outer metallic wrapping serves both as a shield against noise and as the
second conductor, which completes the circuit.
This outer conductor is also enclosed in an insulating sheath, and the whole
cable is protected by a plastic cover (see Figure ).
Performance:
Applications:
Coaxial cable was widely used in analog telephone networks where a single
coaxial network could carry 10,000 voice signals.
Later it was used in digital telephone networks where a single coaxial cable
could carry digital data up to 600 Mbps.
However, coaxial cable in telephone networks has largely been replaced
today with fiber-optic cable.
Cable TV networks also use coaxial cables.
In the traditional cable TV network, the entire network used coaxial cable.
Later, however, cable TV providers replaced most of the media with fiber-
optic cable; hybrid networks use coaxial cable only at the network
boundaries, near the consumer premises.
Cable TV uses RG-59 coaxial cable.
Another common application of coaxial cable is in traditional Ethernet
LANs.
Because of its high bandwidth, and consequently high data rate, coaxial
cable was chosen for digital transmission in early Ethernet LANs.
The 10Base-2, or Thin Ethernet, uses RG-58 coaxial cable with BNC
connectors to transmit data at 10 Mbps with a range of 185 m.
The 10Base5, or Thick Ethernet, uses RG-11 (thick coaxial cable) to
transmit 10 Mbps with a range of 5000 m.
Thick Ethernet has specialized connectors.
4. Does the switching exist in computer communication? Elaborate your answer with
strong reason. Illustrate the certain diagram
CIRCUIT-SWITCHED NETWORKS:
A circuit-switched network consists of a set of switches connected by physical links. A
connection between two stations is a dedicated path made of one or more links.
However, each connection uses only one dedicated channel on each link. Each link is
normally divided into n channels by using FDM or TDM
Taxonomy of switched networks
A trivial circuit-switched network
In circuit switching, the resources need to be reserved during the setup phase;
the resources remain dedicated for the entire duration of data transfer until the teardown
phase.
Important points to consider:
Circuit switching takes place at physical layer
Resources are reserved before communication takes place
In the form of reserved channel in FDM or reserved time slot in TDM
Data is not in packets form but a continuous flow
No addressing involved during data transfer
Only end-to-end addressing used during setup
Efficiency
It can be argued that circuit-switched networks are not as efficient as the other two
because resources are reserved during the entire duration
Delay
Delay is minimal in already reserved channel
Application
Switching at the physical layer in the traditional telephone network uses the circuit-
switching approach
5. A complex bandpass signal has a bandwidth of 200 kHz. What is the minimum sampling
rate for this signal?
ANSWER:
Solution
We cannot find the minimum sampling rate in this case because we do not know where
the bandwidth starts or ends. We do not know the maximum frequency in the signal.
6. We need to send data 3 bits at a time with a bit rate of 3 Mbps. The carrier frequency is
10 MHz. Calculate the number of levels (different frequencies), the baud rate, and the
bandwidth.
ANSWER:
We have a L = 23 = 8
We have a baud rate S = 3Mhz/3 = 1000 Mbaud
This means that the carrier frequency must be 1MHz apart(2f=1MHz)
So,
The bandwith B = 8 x 1000 = 8000
ANSWER: