Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Consider a simple graph with unit edge costs.... Start Learning for Free
Consider a simple graph with unit edge costs. Each node in the graph represents a router. Each node maintains a routing table indicating the next hop router to be used to relay a packet to its destination and the cost of the path to the destination through that router. Initially, the routing table is empty. The routing table is synchronously updated as follows. In each updation interval, three tasks are performed.
i. A node determines whether its neighbours in the graph are accessible. If so, it sets the tentative cost to each accessible
neighbour as 1. Otherwise, the cost is set to ∞.
ii. From each accessible neighbour, it gets the costs to relay to other nodes via that neighbour (as the next hop).
iii. Each node updates its routing table based on the information received in the previous two steps by choosing the minimum cost.
For the graph given above, possible routing tables for various nodes after they have stabilized, are shown in the following options. Identify the correct table.
  • a)
    Table for node A
    A - -
    B B 1
    C C 1
    D B 3
    E C 3
    F C 4
  • b)
    Table for node C
    A A 1
    B B 1
    C - -
    D D 1
    E E 1
    F E 3
  • c)
    Table for node B
    A A 1
    B - -
    C C 1
    D D 1
    E C 2
    F D 2
  • d)
    Table for node D
    A B 3
    B B 1
    C C 1
    D - -
    E E 1
    F F 1
Correct answer is option 'C'. Can you explain this answer?
Verified Answer
Consider a simple graph with unit edge costs. Each node in the graph r...
correct table are updated only option C is matching here with given tables
View all questions of this test
Most Upvoted Answer
Consider a simple graph with unit edge costs. Each node in the graph r...
correct table are updated only option C is matching here with given tables
Free Test
Community Answer
Consider a simple graph with unit edge costs. Each node in the graph r...
correct table are updated only option C is matching here with given tables
Explore Courses for Computer Science Engineering (CSE) exam

Similar Computer Science Engineering (CSE) Doubts

Top Courses for Computer Science Engineering (CSE)

Consider a simple graph with unit edge costs. Each node in the graph represents a router. Each node maintains a routing table indicating the next hop router to be used to relay a packet to its destination and the cost of the path to the destination through that router. Initially, the routing table is empty. The routing table is synchronously updated as follows. In each updation interval, three tasks are performed.i. A node determines whether its neighbours in the graph are accessible. If so, it sets the tentative cost to each accessibleneighbour as 1. Otherwise, the cost is set to ∞.ii. From each accessible neighbour, it gets the costs to relay to other nodes via that neighbour (as the next hop).iii. Each node updates its routing table based on the information received in the previous two steps by choosing the minimum cost.For the graph given above, possible routing tables for various nodes after they have stabilized, are shown in the following options. Identify the correct table.a)Table for node AA - -B B 1C C 1D B 3E C 3F C 4b)Table for node CA A 1B B 1C - -D D 1E E 1F E 3c)Table for node BA A 1B - -C C 1D D 1E C 2F D 2d)Table for node DA B 3B B 1C C 1D - -E E 1F F 1Correct answer is option 'C'. Can you explain this answer?
Question Description
Consider a simple graph with unit edge costs. Each node in the graph represents a router. Each node maintains a routing table indicating the next hop router to be used to relay a packet to its destination and the cost of the path to the destination through that router. Initially, the routing table is empty. The routing table is synchronously updated as follows. In each updation interval, three tasks are performed.i. A node determines whether its neighbours in the graph are accessible. If so, it sets the tentative cost to each accessibleneighbour as 1. Otherwise, the cost is set to ∞.ii. From each accessible neighbour, it gets the costs to relay to other nodes via that neighbour (as the next hop).iii. Each node updates its routing table based on the information received in the previous two steps by choosing the minimum cost.For the graph given above, possible routing tables for various nodes after they have stabilized, are shown in the following options. Identify the correct table.a)Table for node AA - -B B 1C C 1D B 3E C 3F C 4b)Table for node CA A 1B B 1C - -D D 1E E 1F E 3c)Table for node BA A 1B - -C C 1D D 1E C 2F D 2d)Table for node DA B 3B B 1C C 1D - -E E 1F F 1Correct answer is option 'C'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about Consider a simple graph with unit edge costs. Each node in the graph represents a router. Each node maintains a routing table indicating the next hop router to be used to relay a packet to its destination and the cost of the path to the destination through that router. Initially, the routing table is empty. The routing table is synchronously updated as follows. In each updation interval, three tasks are performed.i. A node determines whether its neighbours in the graph are accessible. If so, it sets the tentative cost to each accessibleneighbour as 1. Otherwise, the cost is set to ∞.ii. From each accessible neighbour, it gets the costs to relay to other nodes via that neighbour (as the next hop).iii. Each node updates its routing table based on the information received in the previous two steps by choosing the minimum cost.For the graph given above, possible routing tables for various nodes after they have stabilized, are shown in the following options. Identify the correct table.a)Table for node AA - -B B 1C C 1D B 3E C 3F C 4b)Table for node CA A 1B B 1C - -D D 1E E 1F E 3c)Table for node BA A 1B - -C C 1D D 1E C 2F D 2d)Table for node DA B 3B B 1C C 1D - -E E 1F F 1Correct answer is option 'C'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Consider a simple graph with unit edge costs. Each node in the graph represents a router. Each node maintains a routing table indicating the next hop router to be used to relay a packet to its destination and the cost of the path to the destination through that router. Initially, the routing table is empty. The routing table is synchronously updated as follows. In each updation interval, three tasks are performed.i. A node determines whether its neighbours in the graph are accessible. If so, it sets the tentative cost to each accessibleneighbour as 1. Otherwise, the cost is set to ∞.ii. From each accessible neighbour, it gets the costs to relay to other nodes via that neighbour (as the next hop).iii. Each node updates its routing table based on the information received in the previous two steps by choosing the minimum cost.For the graph given above, possible routing tables for various nodes after they have stabilized, are shown in the following options. Identify the correct table.a)Table for node AA - -B B 1C C 1D B 3E C 3F C 4b)Table for node CA A 1B B 1C - -D D 1E E 1F E 3c)Table for node BA A 1B - -C C 1D D 1E C 2F D 2d)Table for node DA B 3B B 1C C 1D - -E E 1F F 1Correct answer is option 'C'. Can you explain this answer?.
Solutions for Consider a simple graph with unit edge costs. Each node in the graph represents a router. Each node maintains a routing table indicating the next hop router to be used to relay a packet to its destination and the cost of the path to the destination through that router. Initially, the routing table is empty. The routing table is synchronously updated as follows. In each updation interval, three tasks are performed.i. A node determines whether its neighbours in the graph are accessible. If so, it sets the tentative cost to each accessibleneighbour as 1. Otherwise, the cost is set to ∞.ii. From each accessible neighbour, it gets the costs to relay to other nodes via that neighbour (as the next hop).iii. Each node updates its routing table based on the information received in the previous two steps by choosing the minimum cost.For the graph given above, possible routing tables for various nodes after they have stabilized, are shown in the following options. Identify the correct table.a)Table for node AA - -B B 1C C 1D B 3E C 3F C 4b)Table for node CA A 1B B 1C - -D D 1E E 1F E 3c)Table for node BA A 1B - -C C 1D D 1E C 2F D 2d)Table for node DA B 3B B 1C C 1D - -E E 1F F 1Correct answer is option 'C'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of Consider a simple graph with unit edge costs. Each node in the graph represents a router. Each node maintains a routing table indicating the next hop router to be used to relay a packet to its destination and the cost of the path to the destination through that router. Initially, the routing table is empty. The routing table is synchronously updated as follows. In each updation interval, three tasks are performed.i. A node determines whether its neighbours in the graph are accessible. If so, it sets the tentative cost to each accessibleneighbour as 1. Otherwise, the cost is set to ∞.ii. From each accessible neighbour, it gets the costs to relay to other nodes via that neighbour (as the next hop).iii. Each node updates its routing table based on the information received in the previous two steps by choosing the minimum cost.For the graph given above, possible routing tables for various nodes after they have stabilized, are shown in the following options. Identify the correct table.a)Table for node AA - -B B 1C C 1D B 3E C 3F C 4b)Table for node CA A 1B B 1C - -D D 1E E 1F E 3c)Table for node BA A 1B - -C C 1D D 1E C 2F D 2d)Table for node DA B 3B B 1C C 1D - -E E 1F F 1Correct answer is option 'C'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Consider a simple graph with unit edge costs. Each node in the graph represents a router. Each node maintains a routing table indicating the next hop router to be used to relay a packet to its destination and the cost of the path to the destination through that router. Initially, the routing table is empty. The routing table is synchronously updated as follows. In each updation interval, three tasks are performed.i. A node determines whether its neighbours in the graph are accessible. If so, it sets the tentative cost to each accessibleneighbour as 1. Otherwise, the cost is set to ∞.ii. From each accessible neighbour, it gets the costs to relay to other nodes via that neighbour (as the next hop).iii. Each node updates its routing table based on the information received in the previous two steps by choosing the minimum cost.For the graph given above, possible routing tables for various nodes after they have stabilized, are shown in the following options. Identify the correct table.a)Table for node AA - -B B 1C C 1D B 3E C 3F C 4b)Table for node CA A 1B B 1C - -D D 1E E 1F E 3c)Table for node BA A 1B - -C C 1D D 1E C 2F D 2d)Table for node DA B 3B B 1C C 1D - -E E 1F F 1Correct answer is option 'C'. Can you explain this answer?, a detailed solution for Consider a simple graph with unit edge costs. Each node in the graph represents a router. Each node maintains a routing table indicating the next hop router to be used to relay a packet to its destination and the cost of the path to the destination through that router. Initially, the routing table is empty. The routing table is synchronously updated as follows. In each updation interval, three tasks are performed.i. A node determines whether its neighbours in the graph are accessible. If so, it sets the tentative cost to each accessibleneighbour as 1. Otherwise, the cost is set to ∞.ii. From each accessible neighbour, it gets the costs to relay to other nodes via that neighbour (as the next hop).iii. Each node updates its routing table based on the information received in the previous two steps by choosing the minimum cost.For the graph given above, possible routing tables for various nodes after they have stabilized, are shown in the following options. Identify the correct table.a)Table for node AA - -B B 1C C 1D B 3E C 3F C 4b)Table for node CA A 1B B 1C - -D D 1E E 1F E 3c)Table for node BA A 1B - -C C 1D D 1E C 2F D 2d)Table for node DA B 3B B 1C C 1D - -E E 1F F 1Correct answer is option 'C'. Can you explain this answer? has been provided alongside types of Consider a simple graph with unit edge costs. Each node in the graph represents a router. Each node maintains a routing table indicating the next hop router to be used to relay a packet to its destination and the cost of the path to the destination through that router. Initially, the routing table is empty. The routing table is synchronously updated as follows. In each updation interval, three tasks are performed.i. A node determines whether its neighbours in the graph are accessible. If so, it sets the tentative cost to each accessibleneighbour as 1. Otherwise, the cost is set to ∞.ii. From each accessible neighbour, it gets the costs to relay to other nodes via that neighbour (as the next hop).iii. Each node updates its routing table based on the information received in the previous two steps by choosing the minimum cost.For the graph given above, possible routing tables for various nodes after they have stabilized, are shown in the following options. Identify the correct table.a)Table for node AA - -B B 1C C 1D B 3E C 3F C 4b)Table for node CA A 1B B 1C - -D D 1E E 1F E 3c)Table for node BA A 1B - -C C 1D D 1E C 2F D 2d)Table for node DA B 3B B 1C C 1D - -E E 1F F 1Correct answer is option 'C'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Consider a simple graph with unit edge costs. Each node in the graph represents a router. Each node maintains a routing table indicating the next hop router to be used to relay a packet to its destination and the cost of the path to the destination through that router. Initially, the routing table is empty. The routing table is synchronously updated as follows. In each updation interval, three tasks are performed.i. A node determines whether its neighbours in the graph are accessible. If so, it sets the tentative cost to each accessibleneighbour as 1. Otherwise, the cost is set to ∞.ii. From each accessible neighbour, it gets the costs to relay to other nodes via that neighbour (as the next hop).iii. Each node updates its routing table based on the information received in the previous two steps by choosing the minimum cost.For the graph given above, possible routing tables for various nodes after they have stabilized, are shown in the following options. Identify the correct table.a)Table for node AA - -B B 1C C 1D B 3E C 3F C 4b)Table for node CA A 1B B 1C - -D D 1E E 1F E 3c)Table for node BA A 1B - -C C 1D D 1E C 2F D 2d)Table for node DA B 3B B 1C C 1D - -E E 1F F 1Correct answer is option 'C'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev