Assignment DescriptionComplete the following in a paper of 1–2 pages:1. Consider the following graph:
a. Complete this table by finding the degree of each vertex, and identify whether it is evenor odd:Vertex Degree Even/OddABCDEFGHb. What is the order of the graph?c. Construct the 10 x 10 adjacency matrix for the graph.2. The graph below illustrates a switching network. The weights represent the delay times, innanoseconds, travelled by a data packet between destinations, represented by the vertices.a. Complete the following table by finding the shortest distance and the path for that distancefrom vertex A to the other vertices:
Vertex Shortest Distance from A Path from ABCDEFGHb. What is the shortest distance between A and J and the path for that distance?3. The following graph represents a portion of the subway system of a city. The vertices on thegraph correspond to subway stations, and the edges correspond to the rails. Your job is to write aprogram for a cleaning car to efficiently clean this portion of the subway system.
a. Using Euler’s theorem, explain why it is possible to pass through all of the stations by traversing every rail only once.b. Using Fleury’s algorithm, provide an optimal path to clean all the rails by passing through them only once.c. Is it possible to find an optimal path described in question 3-b that starts on any station?Explain your answer.d. Is it possible to find an optimal path described in question 3-b that starts and ends at thesame station? Explain why or why not.4.A network engineer lives in City A, and his job is to inspect his company’s servers in various cities. The graph below shows the cost (in U.S. dollars) of travelling between each city that he hasto visit.
a. Find a Hamiltonian path in the graph.b. Find a Hamiltonian circuit that will allow the engineer to inspect all of the servers. How muchwill the cost be for his trips?c. Is there another Hamiltonian circuit that will allow the engineer to inspect all of the serversother than your answer in question 4-b? If so, calculate the cost.5. Consider the following binary tree:
a. What is the height of the tree?b. What is the height of vertex H?c. Write the preorder traversal representation of the tree.d. Write the array representation of the tree by completing the following table:Vertex Left Child Right ChildABCDEGHIJKLMNOPQRSTPlease cite references for this assignment in APA format.Thank you for your help with this assignment.graciousbc
Reviews
There are no reviews yet.