Showing posts with label Computer Networks. Show all posts
Showing posts with label Computer Networks. Show all posts

Tuesday, March 11, 2014

Computer Networks


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.

2. What are the different fields in pseudo header?
·         Protocol number
·         Source IP address
·         Destination IP addresses.

3. Define TCP?
               TCP guarantees the reliable, in order delivery of a stream of bytes. It is a full-duplex protocol, meaning that each TCP connection supports a pair of byte streams, one flowing in each direction.

4. Define Congestion Control?
               It involves preventing too much data from being injected into the network, thereby causing switches or links to become overloaded. Thus flow control is an end to an end issue, while congestion control is concerned with how hosts and networks interact.

Monday, March 10, 2014

Computer Networks

14. Write the keys for understanding the link state routing?
The three keys for understanding the algorithm are,
·         Knowledge about the neighborhood. 
·         Routing to all neighbors.
·         Information sharing when there is a range.

15. How the packet cost referred in distance vector and link state routing?
In distance vector routing, cost refer to hop count while in case of link state routing, cost is a weighted value based on a variety of factors such as security levels, traffic or the state of the link.

16. Define Reliable flooding?
            It is the process of making sure that all the nodes participating in the routing protocol get a copy of the link state information from all the other nodes.

17. What are the features in OSPF?
·         Authentication of routing messages.
·         Additional hierarchy.
·         Load balancing.

18. Define Subnetting?
            Subnetting provides an elegantly simple way to reduce the total number of network numbers that are assigned. The idea is to take a single IP network number and allocate the IP address with that network to several physical networks, which are now referred to as subnets.

Thursday, March 6, 2014

Computer Networks

21. Write short notes on VRC.        
The most common and least expensive mechanism for error detection is the vertical redundancy check (VRC) often called a parity check. In this technique a redundant bit called a parity bit, is appended to every data unit so, that the total number of 0’s in the unit (including the parity bit) becomes even.

22. Write short notes on LRC.
In longitudinal redundancy check (LRC), a block of bits is divided into rows and a redundant row of bits is added to the whole block.
23. Write short notes on CRC.
The third and most powerful of the redundancy checking techniques is the cyclic redundancy checks (CRC) CRC is based on binary division. Here a sequence of redundant bits, called the CRC remainder is appended to the end of data unit.

24. Write short notes on CRC checker.
A CRC checker functions exactly like a generator. After receiving the data appended with the CRC it does the same modulo-2 division. If the remainder is all 0’s 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 2’s 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.

Wednesday, March 5, 2014

Computer Networks


11. Explain the two types of duplex?
·         Full duplex-two bit streams can be simultaneously transmitted over the links at the same time, one going in each direction.
·         Half duplex-it supports data flowing in only one direction at a time.

12. What is CODEC?
            A device that encodes analog voice into a digital ISDN link is called a CODEC, for coder/decoder.

13. What is spread spectrum and explain the two types of spread spectrum?
            Spread spectrum is to spread the signal over a wider frequency band than normal in such a way as to minimize the impact of interference from other devices.
·         Frequency Hopping
·         Direct sequence

14. What are the different encoding techniques?
·         NRZ
·         NRZI
·         Manchester
·         4B/5B

15.  How does NRZ-L differ from NRZ-I?
In the NRZ-L sequence, positive and negative voltages have specific meanings: positive for 0 and negative for 1. in the NRZ-I sequence, the voltages are meaningless.
Instead, the receiver looks for changes from one level to another as its basis for recognition of 1s.

Tuesday, March 4, 2014

Computer Networks

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 network’s 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.
·         It provides a more modular design.

5. Why are protocols needed?

In networks, communication occurs between the entities in different systems. Two entities cannot just send bit streams to each other and expect to be understood. For communication, the entities must agree on a protocol. A protocol is a set of rules that govern data communication.