DC Assignment
DC Assignment
MCQ:
A.) Hertz
B.) H/m
C.) Pascal
D.) Cd/m2 (ANS:A)
Q2) What is the difference between attenuation, distortion
and noise?
a. telegraph cables
b. repeater amplifiers
c. HF radi
d. Geostationary satellites
Standards :
Standards are the set of rules for data communication that are needed for
exchange of information among devices. It is important to follow Standards which
are created by various Standard Organization like IEEE , ISO , ANSI etc.
Types of Standards :
De Jure Standard : The meaning of the word “De Jure” is “By Law” or “By
Regulations” . Thus , these are the standards that have been approved by
officially recognized body like ANSI , ISO , IEEE etc. These are the standard which
are important to follow if it is required or needed.
For example : All the data communication standard protocols like SMTP, TCP, IP,
UDP etc. are important to follow the same when we needed them.
Topologies:
A Network Topology is the arrangement with which computer systems or network
devices are connected to each other. Topologies may define both physical and
logical aspect of the network. Both logical and physical topologies could be same
or different in a same network.
There are 8 types of topologies:
Point-to-Point: Point-to-point networks contains exactly two hosts such as
computer, switches or routers, servers connected back to back using a single piece
of cable. Often, the receiving end of one host is connected to sending end of the
other and vice-versa.
Bus Topology: In case of Bus topology, all devices share single communication line
or cable. Bus topology may have problem while multiple hosts sending data at the
same time.
Star Topology: All hosts in Star topology are connected to a central device, known
as hub device, using a point-to-point connection. That is, there exists a point to
point connection between hosts and hub.
Ring Topology: In ring topology, each host machine connects to exactly two other
machines, creating a circular network structure. When one host tries to
communicate or send message to a host which is not adjacent to it, the data
travels through all intermediate hosts.
MCQ: A network structure whose design contains more than one topology is said
to be __________ topology.
(a) Daisy
(b) Hybrid
(c) Ring
(d) Bus
Q.5 What do you understand by the term Multiplexing? Explain different Multiplexing
techniques.
Ans : Multiplexing is a technique used to combine and send the multiple data streams over a
single medium.
Types of Multiplexing Technique
1. FDM 2. WDM 3. TDM
Frequency-Division Multiplexing (FDM): It is a technique by which the total bandwidth
available in a communication medium is divided into a series of non-overlapping frequency
bands, each of which is used to carry a separate signal.
o The most common example of frequency-division multiplexing is radio and television
broadcasting.
Time- Division Multiplexing (TDM): A multiplexing technique by which multiple data signals
can be transmitted over a common communication channel in different time slots is known as
Time Division Multiplexing (TDM).
o Packet switching networks use TDM for telecommunication links.
Types of TDM :(a).Synchronous TDM (b). Statistical TDM
Synchronous TDM:It time division multiplexing assigns a fixed time slot to each
connected device, whether the device transmits data or not.
Key Differences:
Synchronous Asynchronous
Synchronous data transmission is a data
transfer method in which a continuous Asynchronous data transmission is a data
stream of data signals is accompanied by transfer method in which the sender and
timing signals. the receiver use the flow control method.
Asynchronous Transmission is
Synchronous Transmission is costly. economical.
ANS) Line code: - A line code is the code used for data transmission of a
digital signal over a transmission line. This process of coding is chosen so
as to avoid overlap and distortion of signal such as inter-symbol interference.
Whenever we transmit data, it is in the form of digital signals, so with the help
of line coding, we can convert a sequence to bits (or encoding) into a digital
signal which then again converted into bits by the receiver (or can be said as
decoded by the receiver)
Block code: - Block coding helps in error detection and re-transmission of
the signal. It is normally referred to as mB/nB coding as it replaces each m-
bit data group with an n-bit data group (where n>m). Thus, it adds extra bits
(redundancy bits) which helps in synchronization at receiver’s and sender’s
end and also providing some kind of error detecting capability.
For example, in 4B/5B encoding, the original bit sequence is divided into 4-
bit groups. The heart of block coding is the substitution step. In this step, we
substitute an m-bit group for an n-bit group.
Line coding techniques: -
UNIPOLAR LINE CODING: - In Unipolar line coding all the signal levels are
either above or below the axis. It has only one voltage level other than zero.
The symbols 0&1 in digital system can represented in various formats with
different levels and wave forms. The selection of particular format for
common pulse depends on the systems band width, system’s ability to pass
DC level information, error checking facility, case of clock regeneration &
synchronization at receiver, complexity & cost etc.
NON-RETURN TO ZERO (LEVEL) NRZ: -
RETURN TO ZERO (LEVEL) RZ: -
POLAR LINE CODING: - In Polar line coding the voltages are on the both
sides of the axis. Which means it will have both positive and negative values
for voltages or amplitude, it is quite like NRZ scheme but, here we have NRZ-
L (i.e., NRZ-Level) and NRZ-I (i.e., NRZInvert). It has two voltage level other
than zero. The symbols 0&1 in digital system can represented in various
formats with different levels and wave forms. The selection of particular
format for common pulse depends on the systems band width, system’s
ability to pass DC level information, error checking facility, case of clock
regeneration & synchronization at receiver, complexity & cost etc.
NRZ-L AND NRZ-I: -
RETURN TO ZERO RZ: -
BIPOLAR LINE CODING: - In this scheme there are three voltage levels
positive, negative, and zero. The voltage level for one data element is at
zero, while the voltage level for the other element alternates between positive
and negative. Bipolar encoding, binary zero ('0') is represented by 0 voltage
whereas binary one ('1) is represented by alternating positive and negative
voltages. The Bipolar coding technique uses different types of pulses based
on which it is known as NRZ (Non-Return to Zero) or RZ (Return to Zero).
NOT RETURN TO ZERO (NRZ): -
RETURN TO ZERO (RZ): -
Q.9
1.FLOW CONTROL :-
It is an important function of the Data Link Layer. It refers to a set of procedures
that tells the sender how much data it can transmit before waiting for
acknowledgement from the receiver.
2. ERROR CONTROL :-
The error control function of data link layer detects the errors in transmitted
frames and re-transmit all the erroneous frames.
MCQ Question:-
In the ___ protocol we avoid unnecessary transmission by sending only frames
that are corrupted.
a.
Stop-and-Wait ARQ
b.
Go-Back-N ARQ
c.
Selective-Repeat ARQ
d.
none of the above
Answer: (c).
Selective-Repeat ARQ
MCQ
Q. Which error detection method consists of just one redundant bit per data unit?
A. Simple parity check
B. Two-dimensional parity check
C. CRC
D. Checksum
Hybrid switching, which combines the principles of both circuit and packet-switching.
This technique first partitions a message into packets (packet-switching) and transmits
each packet via a dedicated circuit (circuit-switching). As soon as a packet is ready for
transmission, a circuit meeting appropriate bandwidth requirements is established
between the sending and receiving nodes. When the packet reaches its destination, the
circuit is terminated so that it can be used again. This scenario has many advantages but
it also requires extremely fast circuit-switching equipment.
In hybrid architecture, packet and circuit switching exist side by side so that trunk
bandwidth is shared by the two services. Thus the packet sub network is visualized as a
network with varying trunk capacities according to load. The user can select either
circuit or packet service, depending on connection characteristics and needs.
The hybrid packet and circuit switching system allows merging of packet and circuit
traffic from user interface modules on a TDM (time division multiplexing) bus and
transfer of packet information from one module to another module or the exchange
circuit information between modules. Circuit exchanges or packet transfers are
performed synchronously on the TDM buses in bursts of period T, with each burst
comprising a fixed number of bytes.
In large networks, there can be multiple paths from sender to receiver. The
switching technique will decide the best route for data transmission.
a) Circuit Switching-
Advantage-
In the case of Circuit Switching technique, the communication channel is
dedicated.
b) Message Switching-
Advantage-
Data channels are shared among the communicating devices that improve the
efficiency of using available bandwidth.
c)Packet Switching-
The message splits into smaller pieces known as packets and packets are given a
unique number to identify their order at the receiving end.
Advantages-
MCQ
1. Mechanism that is used to convert domain name into IP address is known
as ___.
1.URL
2.DNS
3.FTP
4.HTTP
Option 2 : dns
Features of HTTP :
HTTP Transactions :
The client initiates a transaction by sending a request message to the server. The
server replies to the request message by sending a response message.
Messages : HTTP messages are of two types: request and response. Both the
message types follow the same message format.
1. Request Message : The request message is sent by the client that consists of
a request line, headers, and sometimes a body.
2. Response Message : The response message is sent by the server to the
client that consists of a status line, headers, and sometimes a body.
Working of HTTP :
Through the HTTP protocol, resources are exchanged between client devices and
servers over the internet. Client devices send requests to servers for the resources
needed to load a web page; the servers send responses back to the client to fulfill
the requests. Requests and responses share sub-documents such as data on
images, text, text layouts, etc. which are pieced together by a client web browser
to display the full web page file.
In addition to the web page files it can serve, a web server contains an
HTTP daemon, a program that waits for HTTP requests and handles them when
they arrive. A web browser is an HTTP client that sends requests to servers.
When the browser user enters file requests by either "opening" a web file by
typing in a URL or clicking on a hypertext link, the browser builds an HTTP
request and sends it to the Internet Protocol address (IP address) indicated by
the URL. The HTTP daemon in the destination server receives the request and
sends back the requested file or files associated with the request.
To expand on this example, a user wants to visit xyz.com. The user types in the
web address and the computer sends a "GET" request to a server that hosts that
address. That GET request is sent using HTTP and tells the xyz server that the
user is looking for the HTML (Hypertext Markup Language) code used to
structure and give the login page its look and feel. The text of that login page is
included in the HTML response, but other parts of the page particularly its
images and videos are requested by separate HTTP requests and responses. The
more requests that are made for example, to call a page that has numerous
images the longer it will take the server to respond to those requests and for the
user's system to load the page.
When these request/response pairs are being sent, they use TCP/IP to reduce and
transport information in small packets of binary sequences of ones and zeros.
These packets are physically sent through electric wires, fiber optic cables and
wireless networks.
The requests and responses that servers and clients use to share data with each
other consist of ASCII code. Requests state what information the client is seeking
from the server; responses contain code that the client browser will translate into
a web page.
Proxies in HTTP :
Proxies, or proxy servers, are the application-layer servers, computers or other
machines that go between the client device and the server. Proxies relay HTTP
requests and responses between the client and server. Typically, there are one or
more proxies for each client-server interaction.
Caching : Cache servers can save web pages or other internet content locally,
for faster content retrieval and to reduce the demand for the site's bandwidth.
Logging : The storage of historical data, such as the IP addresses of clients that
sent requests to the server.
Web filtering : Controlling access to web pages that can compromise security
or include inappropriate content.
Load balancing : Client requests to the server can be handled by multiple
servers, rather than just one .
Answer : A
MCQ QUESTION
Answer:c)HTTP