affiliate marketing
Showing posts with label computer networks important questions. Show all posts
Showing posts with label computer networks important questions. Show all posts

Wednesday, 4 July 2012

NETWORKS TYPES


Personal Area Network
•A PAN is a network that is used for communicating among computers and computer devices (including telephones) in close proximity of around a few meters within a room
•It can be used for communicating between the devices themselves, or for connecting to a larger network such as the internet
•PAN’s can be wired or wireless
nPAN’s can be wired with a computer bus such as a universal serial bus: USB (a serial bus standard for connecting devices to a computer, where many devices can be connected concurrently)
nPAN’s can also be wireless through the use of  bluetooth (a radio standard designed for low power consumption for interconnecting computers and devices such as telephones, printers or keyboards to the computer) or IrDA (infrared data association) technologies.

Local Area Network

•A LAN is a network that is used for communicating among computer devices, usually within an office building or home
•LAN’s enable the sharing of resources such as files or hardware devices that may be needed by multiple users
•Is limited in size, typically spanning a few hundred meters, and no more than a mile
•Is fast, with speeds from 10 Mbps to 10 Gbps
•Requires little wiring, typically a single cable connecting to each device
•Has lower cost compared to MAN’s or WAN’s

LAN basics

nLAN’s can be either wired or wireless. Twisted pair, coax or fiber optic cable can be used in wired LAN’s
nNodes in a LAN are linked together with a certain topology. These topologies include:
nBus
nRing
nStar
nBranching tree
nA node is defined to be any device connected to the network. This could be a computer, a printer, a router, etc.
nA Hub is a networking device that connects multiple segments of the network together
nA Network Interface Card (NIC) is the circuit board that has the networking logic implemented, and provides a plug for the cable into the computer (unless wireless). In most cases, this is an Ethernet card inserted in a slot of the computer’s motherboard
nThe Network Operating System (NOS) is the software (typically part of the operating system kernel) that communicates with the NIC, and enables users to share files and hardware and communicate with other computers. Examples of NOS include: Windows XP, Windows NT, Sun Solaris, Linux, etc..

Wednesday, 18 January 2012

COMPUTER NETWORKS QUESTIONS AND ANSWERS - VI


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.

Tuesday, 17 January 2012

COMPUTER NETWORKS QUESTIONS AND ANSWERS - I


PART B


UNIT  I

  1. Explain in detail the error detection and error corrections.(UQ)
  2. Discuss in detail about the layers of OSI model. (UQ)
  3. Discuss in detail about HDLC.
  4. Discuss in detail about SONET.
  5. Explain the different approaches of framing in detail.
  6. Write the Sliding Window Algorithm and explain it in detail.
  7. Compare Stop and Wait ARQ scheme with sliding window ARQ scheme.
  8. Write in detail about the flow control mechanisms.
UNIT II

Sunday, 15 January 2012

COMPUTER NETWORKS QUESTIONS AND ANSWERS - V


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.

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.


5. State the two kinds of events trigger a state transition?
·       A segment arrives from the peer.
·       The local application process invokes an operation on TCP.

6. What is meant by segment?
               At the sending and receiving end of the transmission, TCP divides long transmissions into smaller data units and packages each into a frame called a segment.

7.  What is meant by segmentation?
               When the size of the data unit received from the upper layer is too long for the network layer datagram or data link layer frame to handle, the transport protocol divides it into smaller usable blocks. The dividing process is called segmentation.

8. What is meant by Concatenation?
              The size of the data unit belonging to single sessions are so small that several can fit together into a single datagram or frame, the transport protocol combines them into a single data unit. The combining process is called concatenation.

9. What is rate based design?
            Rate- based design, in which the receiver tells the sender the rate-expressed in either bytes or packets per second – at which it is willing to accept incoming data.

10. Define Gateway.
A device used to connect two separate networks that use different communication protocols.





11. What is meant by quality of service?
            The quality of service defines a set of attributes related to the performance of the connection. For each connection, the user can request a particular attribute each service class is associated with a set of attributes.

12.  What are the two categories of QoS attributes?
            The two main categories are,
·       User Oriented
·       Network Oriented

13.  List out the user related attributes?
            User related attributes are SCR – Sustainable Cell Rate PCR – Peak Cell Rate MCR- Minimum Cell Rate CVDT – Cell Variation Delay Tolerance.

14. What are the networks related attributes?
The network related attributes are, Cell loss ratio (CLR) Cell transfer delay (CTD) Cell delay variation (CDV) Cell error ratio (CER).    

15. What is RED?
            Random Early Detection in each router is programmed to monitor its own queue length and when it detects that congestion is imminent, to notify the source to adjust its congestion window.

16. What are the three events involved in the connection?
          For security, the transport layer may create a connection between the two end ports. A connection is a single logical path between the source and destination that is associated with all packets in a message. Creating a connection involves three steps:
·       Connection establishment
·       Data transfer
·        Connection release

Saturday, 14 January 2012

COMPUTER NETWORKS QUESTIONS AND ANSWERS - IV


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?
In datagram approach, each packet is treated independently from all others. Even when one packet represents just a place of a multi packet transmission, the 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.  

Friday, 13 January 2012

COMPUTER NETWORKS QUESTIONS AND ANSWERS - III


UNIIT-II

1. What are the functions of MAC?
            MAC sub layer resolves the contention for the shared media. It contains synchronization, flag, flow and error control specifications necessary to move information from one place to another, as well as the physical address of the next station to receive and route a packet.

2. What are the functions of LLC?
The IEEE project 802 models take the structure of an HDLC frame and divides it into 2 sets of functions. One set contains the end user portion of the HDLC frame – the logical address, control information, and data. These functions are handled by the IEEE 802.2 logical link control (LLC) protocol. 

3. What is Ethernet?
            Ethernet is a multiple-access network, meaning that a set of nodes send and receive frames over a shared link.

4. Define the term carrier sense in CSMA/CD?
            All the nodes can distinguish between idle and a busy-link and “collision detect” means that a node listens as it transmits and can therefore detect when a frame it is transmitting has interfered (collided) with a frame transmitted by another node.

5. Define Repeater?
            A repeater is a device that forwards digital signals, much like an amplifier forwards analog signals. However, no more than four repeaters may be positioned between any pairs of hosts, meaning that an Ethernet has a total reach of only 2,500m.

Thursday, 12 January 2012

COMPUTER NETWORKS QUESTIONS AND ANSWERS - II


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.

Wednesday, 11 January 2012

COMPUTER NETWORKS QUESTIONS AND ANSWERS - 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 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.