CS6551 Computer Networks Two Mark With Answer
CS6551 Computer Networks Two Mark With Answer
CS6551 Computer Networks Two Mark With Answer
in
COMPUTER
NETWORKS
Two marks with answer
B.TECH INFORMATION TECHNOLOGY
Cseitquestions.blogspot.in[Type text]
CSE/IT
11ge 1
K.L.N.COLLEGE OF ENGINEERING
CS6551-COMPUTER NETWORKS
PART-A (2 MARKS)
UNIT-I
1. What are the three criteria necessary for an effective and efficient network?
The most important criteria are performance, reliability and
security.Performance of the network depends on number of users, type of
transmission medium, and the capabilities of the connected h/w and the efficiency
of the s/w.Reliability is measured by frequency of failure, the time it takes a link to
recover from the failure and the networks robustness in a catastrophe.
Security issues include protecting data from unauthorized access and viruses.
2. Group the OSI layers by function?
The seven layers of the OSI model belonging to three subgroups.Physical,
data link and network layers are the network support layers; they deal with the
physical aspects of moving data from one device to another.Session, presentation
and application layers are the user support layers; they allow interoperability
among unrelated software systems.The transport layer ensures end-to-end reliable
data transmission.
3. What are header and trailers and how do they get added and removed?
Each layer in the sending machine adds its own information to the message
it receives from the layer just above it and passes the whole package to the layer
just below it. This information is added in the form of headers or trailers. Headers
are added to the message at the layers 6,5,4,3, and 2. A trailer is added at layer2. At
the receiving machine, the headers or trailers attached to the data unit at the
corresponding sending layers are removed, and actions appropriate to that layer are
taken.
4. What are the features provided by layering?
Two nice features:
It decomposes the problem of building a network into more
manageable components.
0s the CRC is dropped and the data accepted. Otherwise, the received stream of
bits is discarded and the dates are resent.
25. Define checksum.
The error detection method used by the higher layer protocol is called
checksum. Checksum is based on the concept of redundancy.
26. What are the steps followed in checksum generator?
The sender follows these steps a) the units are divided into k sections each of
n bits. b) All sections are added together using 2s complement to get the sum. c)
The sum is complemented and become the checksum. d) The checksum is sent
with the data.
27. Mention the types of error correcting methods.
There are 2 error-correcting methods.
Single bit error correction
Burst error correction.
28. Write short notes on error correction?
It is the mechanism to correct the errors and it can be handled in 2 ways.
When an error is discovered, the receiver can have the sender
retransmit the entire data unit.
A receiver can use an error correcting coder, which
automatically corrects certain errors.
29. What is the purpose of hamming code?
A hamming code can be designed to correct burst errors of certain lengths.
So the simple strategy used by the hamming code to correct single bit errors must
be redesigned to be applicable for multiple bit correction.
30. What is redundancy?
It is the error detecting mechanism, which means a shorter group of bits or
extra bits may be appended at the destination of each unit.
31. Define flow control?
Flow control refers to a set of procedures used to restrict the amount of data.
The sender can send before waiting for acknowledgment.
There are 2 methods have been developed to control flow of data across
communication links. a) Stop and wait- send one from at a time. b) Sliding
window- send several frames at a time.
In Ethernet, all these hosts are competing for access to the same link, and as a
consequence, they are said to be in the same collision detection.
7. Why Ethernet is said to be a I-persistent protocol?
An adaptor with a frame to send transmits with probability 1 whenever a busy
line goes idle.
8. What is exponential back off?
Once an adaptor has detected a collision and stopped its transmission, it waits a
certain amount of time and tries again. Each time it tries to transmit but fails, the
adaptor doubles the amount of time it waits before trying again. This strategy of
doubling the delay interval between each transmission attempt is a general
technique known as exponential back off.
9. What is token holding time (THT)?
It defines that how much data a given node is allowed to transmit each time it
possesses the token or equivalently, how long a given node is allowed to hold the
token.
10. What are the two classes of traffic in FDDI?
Synchronous
Asynchronous
11. What are the four prominent wireless technologies?
Bluetooth
Wi-Fi(formally known as 802.11)
WiMAX(802.16)
Third generation or 3G cellular wireless.
12. Define Bluetooth?
Bluetooth fills the niche of very short-range communication between mobile
phones, PDAs, notebook computers, and other personal or peripheral devices. For
example, Bluetooth can be used to connect mobile phones to a headset, or a
notebook computer to a printer.
13. What are the four steps involves in scanning?
1. The node sends a Probe frame.
2. All APs within reach reply with a Probe Response frame.
3. The node selects one of the access points, and sends that AP an
It is for the bridges to select the ports over which they will forward frames.
22. What are the three pieces of information in the configuration messages?
1. The ID for the bridge that is sending the message.
2. The ID for what the sending bridge believes to the root bridge.
3. The distance, measured in hops, from the sending bridge to the root
bridge.
23. What is broadcast?
Broadcast is simple each bridge forwards a frame with a destination broadcast
address out on each active (selected) port other than the one on which the frame
was received.
24. What is multicast?
It can be implemented with each host deciding for itself whether or not to accept
the message.
25. How does a given bridge learn whether it should forward a multicast
frame over a given port?
It learns exactly the same way that a bridge learns whether it should forward a
unicast frame over a particular port- by observing the source addresses that it
receives over that port.
26. What are the limitations of bridges?
scale
heterogeneity
UNIT-III
1. Define packet switching?
A packet switch is a device with several inputs and outputs leading to and from
the hosts that the switch interconnects.
2. What is a virtual circuit?
A logical circuit made between the sending and receiving computers. The
connection is made after both computers do handshaking. After the connection, all
packets follow the same route and arrive in sequence.
3. What are data grams?
network treats it although it existed alone. Packets in this technology are referred
to as datagram.
4. What is meant by switched virtual circuit?
Switched virtual circuit format is comparable conceptually to dial-up line in
circuit switching. In this method, a virtual circuit is created whenever it is needed
and exits only for the duration of specific exchange.
5. What is meant by Permanent virtual circuit?
Permanent virtual circuits are comparable to leased lines in circuit switching.
In this method, the same virtual circuit is provided between two uses on a
continuous basis. The circuit is dedicated to the specific uses.
6. What are the properties in star topology?
Even though a switch has a fixed number of inputs and outputs, which
limits the number of hosts that can be connected to a single switch ,
large networks can be built by interconnecting a number of switches.
We can connect switches to each other and to hosts using point-to
point links, which typically means that we can build networks of large
geographic scope.
7. What is VCI?
A Virtual Circuit Identifier that uniquely identifies the connection at this switch,
and which will be carried inside the header of the packets that belongs to this
connection.
8. What is hop-by-hop flow control?
Each node is ensured of having the buffers it needs to queue the packets that arrive
on that circuit. This basic strategy is usually called hop-by-hop flow control.
9. Explain the term best-effort?
If something goes wrong and the packet gets lost, corrupted, misdelivered, or in
any way fails to reach its intended destination, the network does nothing.
10. What is maximum transmission unit?
MTU- which is the largest IP datagram that it can carry in a frame .
11. Define Routing?
It is the process of building up the tables that allow thwe collect output for a packet
to be determined.
Stub AS
Multi homed AS
Transit AS
20. What is an Area?
An Area is a set of routers that are administratively configured to exchange linkstate information with each other. There is one special area- the backbone area,
also known as area 0.
21. What is Source Specific Multicast?
SSM , a receiving host specifies both a multicast group and a specific host .the
receiving host would then receive multicast addressed to the specified group, but
only if they are from the special sender.
22. What is meant by congestion?
Congestion in a network occurs if user sends data into the network at a rate greater
than that allowed by network resources.
23. Why the congestion occurs in network?
Congestion occurs because the switches in a network have a limited buffer size to
store arrived packets.
24. What are the rules of non boundary-level masking?
The bytes in the IP address that corresponds to 255 in the mask will be
repeated in the sub network address
The bytes in the IP address that corresponds to 0 in the mask will
change to 0 in the sub network address
For other bytes, use the bit-wise AND operator.
25. What is LSP?
In link state routing, a small packet containing routing information sent by a router
to all other router by a packet called link state packet.
UNIT-IV
1. Explain the main idea of UDP?
The basic idea is for a source process to send a message to a port and for the
destination process to receive the message from a port.
send only 1 byte of data at a time, then the overhead is high.This is because to send
one byte of data, 20 bytes of TCP header and 20 bytes of IP header are sent. This is
called as silly window syndrome.
UNIT-V
1. What is the function of SMTP?
The TCP/IP protocol supports electronic mail on the Internet is called
Simple Mail Transfer (SMTP). It is a system for sending messages to other
computer users based
on e-mail addresses. SMTP provides mail exchange between users on the same or
different computers.
2. What is the difference between a user agent (UA) and a mail transfer agent
(MTA)?
The UA prepares the message, creates the envelope, and puts the message in the
envelope. The MTA transfers the mail across the Internet.
3. How does MIME enhance SMTP?
MIME is a supplementary protocol that allows non-ASCII data to be sent through
SMTP. MIME transforms non-ASCII data at the sender site to NVT ASCII data
and deliverers it to the client SMTP to be sent through the Internet. The server
SMTP at the receiving side receives the NVT ASCII data and delivers it to MIME
to be transformed back to the original data.
4. Why is an application such as POP needed for electronic messaging?
Workstations interact with the SMTP host, which receives the mail on behalf
of every host in the organization, to retrieve messages by using a client-server
protocol such as Post Office Protocol, version 3(POP3). Although POP3 is used to
download messages from the server, the SMTP client still needed on the desktop to
forward messages from the workstation user to its SMTP mail server.
5.
process, and the client data transfer process. The server has two components: the
server control process and the server data transfer process. The control connection
is made between the control processes. The data connection is made between the
data transfer processes.
10. Name four factors needed for a secure network?
Privacy: The sender and the receiver expect confidentiality.
Authentication: The receiver is sure of the senders identity and that an
imposter has not sent the message.
Integrity: The data must arrive at the receiver exactly as it was sent.
Non-Reputation: The receiver must able to prove that a received message
came from a specific sender.
11. How is a secret key different from public key?
In secret key, the same key is used by both parties. The sender uses this key
and an encryption algorithm to encrypt data; the receiver uses the same key and the
corresponding decryption algorithm to decrypt the data. In public key, there are
two keys: a private key and a public key. The private key is kept by the receiver.
The public key is announced to the public.
12. What is a digital signature?
Digital signature is a method to authenticate the sender of a message. It is
similar to that of signing transactions documents when you do business with a
bank. In network transactions, you can create an equivalent of an electronic or
digital signature by the way you send data.
13. What are the advantages & disadvantages of public key encryption?
Advantages:
a) Remove the restriction of a shared secret key between two entities.
Here each entity can create a pair of keys, keep the private one, and publicly
distribute the other one.
b) The no. of keys needed is reduced tremendously. For one million
users to communicate, only two million keys are needed.
Disadvantage:
If you use large numbers the method to be effective. Calculating the
cipher text using the long keys takes a lot of time. So it is not recommended
for large amounts of text.
14. What are the advantages & disadvantages of secret key encryption?
Advantage:
Secret Key algorithms are efficient: it takes less time to encrypt a
message. The reason is that the key is usually smaller. So it is used to
encrypt or decrypt long messages.
Disadvantages:
a) Each pair of users must have a secret key. If N people in world
want to use this method, there needs to be N (N-1)/2 secret keys. For one
million people to communicate, a half-billion secret keys are needed.
b) The distribution of the keys between two parties can be difficult.
15. Define permutation.
Permutation is transposition in bit level.
Straight permutation: The no. of bits in the input and output are
preserved.
Compressed permutation: The no. of bits is reduced (some of the bits
are dropped).
Expanded permutation: The no. of bits is increased (some bits are
repeated).
16. Define substitution & transposition encryption?
.
Substitution: A character level encryption in which each character is
replaced by another character in the set.
Transposition: A Character level encryption in which the characters retain
their plaintext but the position of the character changes.
17. Define CGI?
.
CGI is a standard for communication between HTTP servers and executable
programs. It is used in crating dynamic documents.
18. What are the requests messages support SNMP and explain it?
GET
SET
The former is used to retrieve a piece of state from some node and the
latter is used to store a new piece of state in some node.
19. Define PGP?
Pretty Good Privacy is used to provide security for electronic mail. It provides
authentication, confidentiality, data integrity, and non repudiation.
22.
Wh
at
is
The transport layer If a packet passes the
If the frames are to be
the
diff
Header includes a
network boundary we distributed to different
ere
type of address
need
systems on the network, nce
bet
called a service point
another addressing to
the
wee
address or port address,
n
differentiate the source data link layer adds the
serv
which makes a data
and destination systems. header, which defines
ice
delivery from a specific
The network layer adds the source machine s poi
process on one
nt
c omputer to a
a
address
add
specific
ress
header, which indicate and the destination
,
process on another
logi
the
Machine s address.
computer.
cal
logical address of the
add
ress
sender
and
and receiver.
phy
sica
l
address?
Service
point
addressing
Logical
addressing Physical
addressing
Service
addressing
Physical addressing
The client has three components: the user interface, the client control
process, and the client data transfer process. The server has two components: the
server control process and the server data transfer process. The control connection
is made between the control processes. The data connection is made between the
data transfer processes.
22.What is a digital signature?
Digital signature is a method to authenticate the sender of a message. It is
similar to that of signing transactions documents when you do business with a
bank. In network transactions, you can create an equivalent of an electronic or
digital signature by the way you send data.
connection
The TELNET Protocol is built upon three main ideas: first, the
concept of a
"Network Virtual Terminal"; second, the principle of
negotiated options; and
third, a symmetric view of terminals and processes.
27. What is PGP?
Pretty Good Privacy. A program using public key encryption popularly used with
email
A high security RSA public-key encryption application for MS-DOS, Unix,
VAX/VMS, and other computers. It was written by Philip R. Zimmermann of
Phil's Pretty Good(tm) Software and later augmented by a cast of thousands,
especially including Hal Finney, Branko Lankester, and Peter Gutmann.