CS101 Assignment No. 5 Solutions
Thursday, July 01, 2010 Posted In CS and IT Edit ThisQ.1 XYZ is an organization, wants to develop the network. Total numbers of computers are 7. Which topology is best suitable for the network? Justify your answer. 4 Marks
Answer:
bus topology :
• Because easy to implement and extend...
• Easy to install.....
• Cheaper than other topology bcos no server is needed.....
• Cost effective, because only a single cable is used....
• Easy identification of cable fault.....
• It works’’ best’’ with limited number of nodes......
• Bus network topology uses a broadcast channels which means that all attached station can hear every transmission and all station have equal priority in using the network to transmit data.........
• If any node is down, the overall functionality of network is not affected...................................................
• I think star is not used in this case because there are limited computer ,and due to server its cost will be more,
Q.2 If computer A wants to transmit the data to computer F, then
6 Marks
What condition should A satisfy?
What protocol should be used?
And how the data will transmit?
Condition:
• If computer A wants to send data it must have an empty token.
• The network fail if a single node fails in ring network, so nodes should not fail during the process.
• Messages propagate in one direction only, either clock wise OR counter clock. Wise. In this we take as an antic lock wise.
Protocol:
• This is a ring network. So ring protocol will be used for that.
• This protocol passes a special message called a token through the network .a computer that receives the token is given permission to send a packet of information.
• If computer A wants to send data it must have an empty token.
• It attaches data to the token. The token then proceeds around the ring until it comes to computer for which the data is meant.(i.e. F)
Transmit ion of data:
• Computer ‘A’ sends the message to its neighbor ‘H’.
• The computer ‘H’ will examine the message, because this data are not intended for H, so….
• It passes the message to next computer in the ring that is ‘G’.
• Computer ‘G’ also examines the message and sent it to next computer in the ring that is ‘’F’’.
• So in this way Computer ‘’’’F’’’ receives the data.
Answer:
Bus is a possible selection for networking of 7 computers due to following:
No server required.
If one node is down, the overall functionality of network is not affected.
All computers can receive the message at same time and respond accordingly.
Q.2 If computer A wants to transmit the data to computer F, then 6 Marks
What condition should A satisfy?
What protocol should be used?
And how the data will transmit?
Answer:
1. 1st Part (Conditions):
Data transmission may be counter clockwise.
Nodes should not fail during the process.
2. 2nd Part (Protocol):
Sensing idle connection before data transmission.
Re-send data if packet data is corrupted or lost.
3. 3rd Part (Data transmission):
Data is transmitted by computer A and received by computer H.
Computer H receives it and then re-sends it to next computer which is computer H.
Computer H also receives it and finds it to be not related to computer
H. Therefore, it passes the data to next computer which is F.
Computer F receives the data and processes it.
- XYZ is an organization wants to develop the network. Total numbers of computers are 7. Which topology is best suitable for the network?
- A computer’s bus is an electronic pathway that carries information among devices in
- if 1 computer’s network is down in all 7 so no affect in others computers because It depend the bus width & speed that how much information & how fast information can flow & travel respectively & further that computer receive the message at the same time & take action as well.
CS 101 Introduction to Computing
Assignment # 05
Deadline
Upload Instructions
Rules for Marking
Objective:
The assignment has been designed to enable you:- Understanding of Computer Networks
- Because easy to implement and extend...
- Easy to install.....
- Cheaper than other topology bcos no server is needed.....
- Cost effective, because only a single cable is used....
- Easy identification of cable fault.....
- It works’’ best’’ with limited number of nodes......
- Bus network topology uses a broadcast channels which means that all attached station can hear every transmission and all station have equal priority in using the network to transmit data.........
- If any node is down, the overall functionality of network is not affected...................................................
- I think star is not used in this case because there are limited computer ,and due to server its cost will be more,
- If computer A wants to send data it must have an empty token.
- The network fail if a single node fails in ring network, so nodes should not fail during the process.
- Messages propagate in one direction only, either clock wise OR counter clock. Wise. In this we take as an antic lock wise.
- This is a ring network. So ring protocol will be used for that.
- This protocol passes a special message called a token through the network .a computer that receives the token is given permission to send a packet of information.
- If computer A wants to send data it must have an empty token.
- It attaches data to the token. The token then proceeds around the ring until it comes to computer for which the data is meant.(i.e. F)