SlideShare a Scribd company logo
1 of 1
Download to read offline
a,b,ca,c Question 18 (17.5 points) Saved Given a graph that is a tree (connected and acyclic). (I)
Pick any vertex v. (II) Compute the shortest path from v to every other vertex. Let w be the vertex
with the largest shortest path distance. (III) Compute the shortest path from w to every other
vertex. Let x be the vertex with the largest shortest path distance. Consider the path p from w to x.
Which of the following are true a. p is the longest path in the graph b. p is the shortest path in the
graph c. p can be calculated in time linear in the number of edges/vertices Question 19(17.5
points) Saved I am given a file F which has all the 128 ASCII characters, all with the same
frequency. What is the number of internal nodes of the the Huffman tree? 16 127 7 10 Question 20
(17.5 points) Saved This graph has an Eulerian tour or cycle True

More Related Content

More from adityacomputers2011

Acacia hrowienino As previously mentioned impala will large.pdf
Acacia hrowienino As previously mentioned impala will large.pdfAcacia hrowienino As previously mentioned impala will large.pdf
Acacia hrowienino As previously mentioned impala will large.pdfadityacomputers2011
 
Abre GoogleEarth y ve a 37751 14994 latitud y longitud.pdf
Abre GoogleEarth y ve a 37751 14994 latitud y longitud.pdfAbre GoogleEarth y ve a 37751 14994 latitud y longitud.pdf
Abre GoogleEarth y ve a 37751 14994 latitud y longitud.pdfadityacomputers2011
 
About years ago there was a star that was than our sun and.pdf
About years ago there was a star that was than our sun and.pdfAbout years ago there was a star that was than our sun and.pdf
About years ago there was a star that was than our sun and.pdfadityacomputers2011
 
Aadakilerden hangisi yaylm kaplama iin yanltr a Kolonil.pdf
Aadakilerden hangisi yaylm kaplama iin yanltr  a Kolonil.pdfAadakilerden hangisi yaylm kaplama iin yanltr  a Kolonil.pdf
Aadakilerden hangisi yaylm kaplama iin yanltr a Kolonil.pdfadityacomputers2011
 
about 80of the residents of nanakuli a village on oahu are .pdf
about 80of the residents of nanakuli a village on oahu are .pdfabout 80of the residents of nanakuli a village on oahu are .pdf
about 80of the residents of nanakuli a village on oahu are .pdfadityacomputers2011
 
ABD irketlerine telefonla mteri hizmetleri salayan birok .pdf
ABD irketlerine telefonla mteri hizmetleri salayan birok .pdfABD irketlerine telefonla mteri hizmetleri salayan birok .pdf
ABD irketlerine telefonla mteri hizmetleri salayan birok .pdfadityacomputers2011
 
ABC analizi ile ilgili aadaki ifadelerin tm dorudur A .pdf
ABC analizi ile ilgili aadaki ifadelerin tm dorudur   A .pdfABC analizi ile ilgili aadaki ifadelerin tm dorudur   A .pdf
ABC analizi ile ilgili aadaki ifadelerin tm dorudur A .pdfadityacomputers2011
 
ABC Corp is expected to pay a dividend this year at the en.pdf
ABC Corp is expected to pay a dividend this year at the en.pdfABC Corp is expected to pay a dividend this year at the en.pdf
ABC Corp is expected to pay a dividend this year at the en.pdfadityacomputers2011
 
Aadakilerin tm fazla mesai planlamasnn dezavantajlardr H.pdf
Aadakilerin tm fazla mesai planlamasnn dezavantajlardr H.pdfAadakilerin tm fazla mesai planlamasnn dezavantajlardr H.pdf
Aadakilerin tm fazla mesai planlamasnn dezavantajlardr H.pdfadityacomputers2011
 
Aadakilere yardmc olmak iin risk eikleri belirlenir Proje.pdf
Aadakilere yardmc olmak iin risk eikleri belirlenir  Proje.pdfAadakilere yardmc olmak iin risk eikleri belirlenir  Proje.pdf
Aadakilere yardmc olmak iin risk eikleri belirlenir Proje.pdfadityacomputers2011
 
Aadaki veriler 2008 ylnda Fransa ekonomisini aklamaktadr .pdf
Aadaki veriler 2008 ylnda Fransa ekonomisini aklamaktadr  .pdfAadaki veriler 2008 ylnda Fransa ekonomisini aklamaktadr  .pdf
Aadaki veriler 2008 ylnda Fransa ekonomisini aklamaktadr .pdfadityacomputers2011
 
Aadakilerden hangisi uluslararas hisse senedi piyasalar iin.pdf
Aadakilerden hangisi uluslararas hisse senedi piyasalar iin.pdfAadakilerden hangisi uluslararas hisse senedi piyasalar iin.pdf
Aadakilerden hangisi uluslararas hisse senedi piyasalar iin.pdfadityacomputers2011
 
Aadakilerden hangisi sosyal paylam iin DORU DELDR A So.pdf
Aadakilerden hangisi sosyal paylam iin DORU DELDR   A  So.pdfAadakilerden hangisi sosyal paylam iin DORU DELDR   A  So.pdf
Aadakilerden hangisi sosyal paylam iin DORU DELDR A So.pdfadityacomputers2011
 
Aadakilerden hangisi rgtsel etkinliin en eksiksiz tanmdr .pdf
Aadakilerden hangisi rgtsel etkinliin en eksiksiz tanmdr .pdfAadakilerden hangisi rgtsel etkinliin en eksiksiz tanmdr .pdf
Aadakilerden hangisi rgtsel etkinliin en eksiksiz tanmdr .pdfadityacomputers2011
 
Aadakilerden hangisi para piyasas aralarnn zelliklerinden .pdf
Aadakilerden hangisi para piyasas aralarnn zelliklerinden .pdfAadakilerden hangisi para piyasas aralarnn zelliklerinden .pdf
Aadakilerden hangisi para piyasas aralarnn zelliklerinden .pdfadityacomputers2011
 
Aadakilerden hangisi ormanszlamann etkilerinden biri DELDR .pdf
Aadakilerden hangisi ormanszlamann etkilerinden biri DELDR .pdfAadakilerden hangisi ormanszlamann etkilerinden biri DELDR .pdf
Aadakilerden hangisi ormanszlamann etkilerinden biri DELDR .pdfadityacomputers2011
 
Aadakilerden hangisi S irketi hissedar olamaz A Bir birey.pdf
Aadakilerden hangisi S irketi hissedar olamaz  A Bir birey.pdfAadakilerden hangisi S irketi hissedar olamaz  A Bir birey.pdf
Aadakilerden hangisi S irketi hissedar olamaz A Bir birey.pdfadityacomputers2011
 
Aadakilerden hangisi ok deikenli verilere bir rnektir Ye.pdf
Aadakilerden hangisi ok deikenli verilere bir rnektir  Ye.pdfAadakilerden hangisi ok deikenli verilere bir rnektir  Ye.pdf
Aadakilerden hangisi ok deikenli verilere bir rnektir Ye.pdfadityacomputers2011
 
Aadakilerden hangisi kresel ve kltrel etkililikle ilikil.pdf
Aadakilerden hangisi kresel ve kltrel etkililikle ilikil.pdfAadakilerden hangisi kresel ve kltrel etkililikle ilikil.pdf
Aadakilerden hangisi kresel ve kltrel etkililikle ilikil.pdfadityacomputers2011
 
Aadakilerden hangisi JIT ortaklklarnda tedarikiler tarafnda.pdf
Aadakilerden hangisi JIT ortaklklarnda tedarikiler tarafnda.pdfAadakilerden hangisi JIT ortaklklarnda tedarikiler tarafnda.pdf
Aadakilerden hangisi JIT ortaklklarnda tedarikiler tarafnda.pdfadityacomputers2011
 

More from adityacomputers2011 (20)

Acacia hrowienino As previously mentioned impala will large.pdf
Acacia hrowienino As previously mentioned impala will large.pdfAcacia hrowienino As previously mentioned impala will large.pdf
Acacia hrowienino As previously mentioned impala will large.pdf
 
Abre GoogleEarth y ve a 37751 14994 latitud y longitud.pdf
Abre GoogleEarth y ve a 37751 14994 latitud y longitud.pdfAbre GoogleEarth y ve a 37751 14994 latitud y longitud.pdf
Abre GoogleEarth y ve a 37751 14994 latitud y longitud.pdf
 
About years ago there was a star that was than our sun and.pdf
About years ago there was a star that was than our sun and.pdfAbout years ago there was a star that was than our sun and.pdf
About years ago there was a star that was than our sun and.pdf
 
Aadakilerden hangisi yaylm kaplama iin yanltr a Kolonil.pdf
Aadakilerden hangisi yaylm kaplama iin yanltr  a Kolonil.pdfAadakilerden hangisi yaylm kaplama iin yanltr  a Kolonil.pdf
Aadakilerden hangisi yaylm kaplama iin yanltr a Kolonil.pdf
 
about 80of the residents of nanakuli a village on oahu are .pdf
about 80of the residents of nanakuli a village on oahu are .pdfabout 80of the residents of nanakuli a village on oahu are .pdf
about 80of the residents of nanakuli a village on oahu are .pdf
 
ABD irketlerine telefonla mteri hizmetleri salayan birok .pdf
ABD irketlerine telefonla mteri hizmetleri salayan birok .pdfABD irketlerine telefonla mteri hizmetleri salayan birok .pdf
ABD irketlerine telefonla mteri hizmetleri salayan birok .pdf
 
ABC analizi ile ilgili aadaki ifadelerin tm dorudur A .pdf
ABC analizi ile ilgili aadaki ifadelerin tm dorudur   A .pdfABC analizi ile ilgili aadaki ifadelerin tm dorudur   A .pdf
ABC analizi ile ilgili aadaki ifadelerin tm dorudur A .pdf
 
ABC Corp is expected to pay a dividend this year at the en.pdf
ABC Corp is expected to pay a dividend this year at the en.pdfABC Corp is expected to pay a dividend this year at the en.pdf
ABC Corp is expected to pay a dividend this year at the en.pdf
 
Aadakilerin tm fazla mesai planlamasnn dezavantajlardr H.pdf
Aadakilerin tm fazla mesai planlamasnn dezavantajlardr H.pdfAadakilerin tm fazla mesai planlamasnn dezavantajlardr H.pdf
Aadakilerin tm fazla mesai planlamasnn dezavantajlardr H.pdf
 
Aadakilere yardmc olmak iin risk eikleri belirlenir Proje.pdf
Aadakilere yardmc olmak iin risk eikleri belirlenir  Proje.pdfAadakilere yardmc olmak iin risk eikleri belirlenir  Proje.pdf
Aadakilere yardmc olmak iin risk eikleri belirlenir Proje.pdf
 
Aadaki veriler 2008 ylnda Fransa ekonomisini aklamaktadr .pdf
Aadaki veriler 2008 ylnda Fransa ekonomisini aklamaktadr  .pdfAadaki veriler 2008 ylnda Fransa ekonomisini aklamaktadr  .pdf
Aadaki veriler 2008 ylnda Fransa ekonomisini aklamaktadr .pdf
 
Aadakilerden hangisi uluslararas hisse senedi piyasalar iin.pdf
Aadakilerden hangisi uluslararas hisse senedi piyasalar iin.pdfAadakilerden hangisi uluslararas hisse senedi piyasalar iin.pdf
Aadakilerden hangisi uluslararas hisse senedi piyasalar iin.pdf
 
Aadakilerden hangisi sosyal paylam iin DORU DELDR A So.pdf
Aadakilerden hangisi sosyal paylam iin DORU DELDR   A  So.pdfAadakilerden hangisi sosyal paylam iin DORU DELDR   A  So.pdf
Aadakilerden hangisi sosyal paylam iin DORU DELDR A So.pdf
 
Aadakilerden hangisi rgtsel etkinliin en eksiksiz tanmdr .pdf
Aadakilerden hangisi rgtsel etkinliin en eksiksiz tanmdr .pdfAadakilerden hangisi rgtsel etkinliin en eksiksiz tanmdr .pdf
Aadakilerden hangisi rgtsel etkinliin en eksiksiz tanmdr .pdf
 
Aadakilerden hangisi para piyasas aralarnn zelliklerinden .pdf
Aadakilerden hangisi para piyasas aralarnn zelliklerinden .pdfAadakilerden hangisi para piyasas aralarnn zelliklerinden .pdf
Aadakilerden hangisi para piyasas aralarnn zelliklerinden .pdf
 
Aadakilerden hangisi ormanszlamann etkilerinden biri DELDR .pdf
Aadakilerden hangisi ormanszlamann etkilerinden biri DELDR .pdfAadakilerden hangisi ormanszlamann etkilerinden biri DELDR .pdf
Aadakilerden hangisi ormanszlamann etkilerinden biri DELDR .pdf
 
Aadakilerden hangisi S irketi hissedar olamaz A Bir birey.pdf
Aadakilerden hangisi S irketi hissedar olamaz  A Bir birey.pdfAadakilerden hangisi S irketi hissedar olamaz  A Bir birey.pdf
Aadakilerden hangisi S irketi hissedar olamaz A Bir birey.pdf
 
Aadakilerden hangisi ok deikenli verilere bir rnektir Ye.pdf
Aadakilerden hangisi ok deikenli verilere bir rnektir  Ye.pdfAadakilerden hangisi ok deikenli verilere bir rnektir  Ye.pdf
Aadakilerden hangisi ok deikenli verilere bir rnektir Ye.pdf
 
Aadakilerden hangisi kresel ve kltrel etkililikle ilikil.pdf
Aadakilerden hangisi kresel ve kltrel etkililikle ilikil.pdfAadakilerden hangisi kresel ve kltrel etkililikle ilikil.pdf
Aadakilerden hangisi kresel ve kltrel etkililikle ilikil.pdf
 
Aadakilerden hangisi JIT ortaklklarnda tedarikiler tarafnda.pdf
Aadakilerden hangisi JIT ortaklklarnda tedarikiler tarafnda.pdfAadakilerden hangisi JIT ortaklklarnda tedarikiler tarafnda.pdf
Aadakilerden hangisi JIT ortaklklarnda tedarikiler tarafnda.pdf
 

Recently uploaded

Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 

Recently uploaded (20)

Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 

abcac Question 18 175 points Saved Given a graph that.pdf

  • 1. a,b,ca,c Question 18 (17.5 points) Saved Given a graph that is a tree (connected and acyclic). (I) Pick any vertex v. (II) Compute the shortest path from v to every other vertex. Let w be the vertex with the largest shortest path distance. (III) Compute the shortest path from w to every other vertex. Let x be the vertex with the largest shortest path distance. Consider the path p from w to x. Which of the following are true a. p is the longest path in the graph b. p is the shortest path in the graph c. p can be calculated in time linear in the number of edges/vertices Question 19(17.5 points) Saved I am given a file F which has all the 128 ASCII characters, all with the same frequency. What is the number of internal nodes of the the Huffman tree? 16 127 7 10 Question 20 (17.5 points) Saved This graph has an Eulerian tour or cycle True