SlideShare a Scribd company logo
1 of 1
Download to read offline
Q4 (18 points) An undirected graph G is shown in Figure 3. Assume that the adjacency lists are in
alphabetical order. Apply depth-first search (DFS) on graph G. In the main-loop of DFS, check the
vertices in alphabetical order. Figure 3: Graph for Q4. (a) On the answer sheet, enter the
discovery times of selected vertices computed by the DFS. (b) On the answer sheet, enter the
finish times of selected vertices computed by the DFS. (c) On the answer sheet, enter the
predecessors of selected vertices computed by the DFS.(a): After the DFS on G, the discovery
times for vertices C,F,H are C.d= Fd= (b): After the DFS on G, the finish times for vertices B+/,/l
are B. f= f.f= .f=After the DFS on G, th predecessors for vertices D,I,J are

More Related Content

More from adarshmarketing08

Qu significa el trmino suma por resta en trminos de su.pdf
Qu significa el trmino suma por resta en trminos de su.pdfQu significa el trmino suma por resta en trminos de su.pdf
Qu significa el trmino suma por resta en trminos de su.pdfadarshmarketing08
 
Question 1 70 marks You are given the transactional data .pdf
Question 1  70 marks You are given the transactional data .pdfQuestion 1  70 marks You are given the transactional data .pdf
Question 1 70 marks You are given the transactional data .pdfadarshmarketing08
 
Question Using the information from the scenario below ou.pdf
Question   Using the information from the scenario below ou.pdfQuestion   Using the information from the scenario below ou.pdf
Question Using the information from the scenario below ou.pdfadarshmarketing08
 
queja principal Mi hija ha tenido mucha fiebre y ahora tie.pdf
queja principal  Mi hija ha tenido mucha fiebre y ahora tie.pdfqueja principal  Mi hija ha tenido mucha fiebre y ahora tie.pdf
queja principal Mi hija ha tenido mucha fiebre y ahora tie.pdfadarshmarketing08
 
que respuesta es correcta pls 1 Dirk es el repartidor de P.pdf
que respuesta es correcta pls  1 Dirk es el repartidor de P.pdfque respuesta es correcta pls  1 Dirk es el repartidor de P.pdf
que respuesta es correcta pls 1 Dirk es el repartidor de P.pdfadarshmarketing08
 
Qu bonos tendrn el cupn ms alto todo lo dems igual .pdf
Qu bonos tendrn el cupn ms alto todo lo dems igual  .pdfQu bonos tendrn el cupn ms alto todo lo dems igual  .pdf
Qu bonos tendrn el cupn ms alto todo lo dems igual .pdfadarshmarketing08
 
Qu rasgo diferencia a los pueblos baka efe y sua de la ma.pdf
Qu rasgo diferencia a los pueblos baka efe y sua de la ma.pdfQu rasgo diferencia a los pueblos baka efe y sua de la ma.pdf
Qu rasgo diferencia a los pueblos baka efe y sua de la ma.pdfadarshmarketing08
 
Qu tipos de genes se transcriben por las ARN polimerasas e.pdf
Qu tipos de genes se transcriben por las ARN polimerasas e.pdfQu tipos de genes se transcriben por las ARN polimerasas e.pdf
Qu tipos de genes se transcriben por las ARN polimerasas e.pdfadarshmarketing08
 
Qu significa el trmino Requires a Crowd en trminos de .pdf
Qu significa el trmino Requires a Crowd en trminos de .pdfQu significa el trmino Requires a Crowd en trminos de .pdf
Qu significa el trmino Requires a Crowd en trminos de .pdfadarshmarketing08
 
Qu procesos tienen lugar en el ncleo de una clula Adem.pdf
Qu procesos tienen lugar en el ncleo de una clula  Adem.pdfQu procesos tienen lugar en el ncleo de una clula  Adem.pdf
Qu procesos tienen lugar en el ncleo de una clula Adem.pdfadarshmarketing08
 
Qu mecanismo NO utilizan las clulas epiteliales para evit.pdf
Qu mecanismo NO utilizan las clulas epiteliales para evit.pdfQu mecanismo NO utilizan las clulas epiteliales para evit.pdf
Qu mecanismo NO utilizan las clulas epiteliales para evit.pdfadarshmarketing08
 
Qu ocurre con la estructura de una macromolcula que deter.pdf
Qu ocurre con la estructura de una macromolcula que deter.pdfQu ocurre con la estructura de una macromolcula que deter.pdf
Qu ocurre con la estructura de una macromolcula que deter.pdfadarshmarketing08
 
Qu le sucedera al ADN si la bandeja de gel dentro de una .pdf
Qu le sucedera al ADN si la bandeja de gel dentro de una .pdfQu le sucedera al ADN si la bandeja de gel dentro de una .pdf
Qu le sucedera al ADN si la bandeja de gel dentro de una .pdfadarshmarketing08
 
Qu hace normalmente el retinoblastoma RB en su estado hi.pdf
Qu hace normalmente el retinoblastoma RB en su estado hi.pdfQu hace normalmente el retinoblastoma RB en su estado hi.pdf
Qu hace normalmente el retinoblastoma RB en su estado hi.pdfadarshmarketing08
 
Qu es un grfico cudruple Un grfico cudruple es un re.pdf
Qu es un grfico cudruple  Un grfico cudruple es un re.pdfQu es un grfico cudruple  Un grfico cudruple es un re.pdf
Qu es un grfico cudruple Un grfico cudruple es un re.pdfadarshmarketing08
 
Qu es lo ms probable que contribuya a una escasez mundial.pdf
Qu es lo ms probable que contribuya a una escasez mundial.pdfQu es lo ms probable que contribuya a una escasez mundial.pdf
Qu es lo ms probable que contribuya a una escasez mundial.pdfadarshmarketing08
 
Qu elementos de xito potencial son cruciales ms all d.pdf
Qu elementos de xito potencial son cruciales ms all d.pdfQu elementos de xito potencial son cruciales ms all d.pdf
Qu elementos de xito potencial son cruciales ms all d.pdfadarshmarketing08
 
Qu es la matriz extracelular y cmo los azcares en la mat.pdf
Qu es la matriz extracelular y cmo los azcares en la mat.pdfQu es la matriz extracelular y cmo los azcares en la mat.pdf
Qu es la matriz extracelular y cmo los azcares en la mat.pdfadarshmarketing08
 
Qu es el mtodo de entrevista de pelar la cebolla Sig.pdf
Qu es el mtodo de entrevista de pelar la cebolla   Sig.pdfQu es el mtodo de entrevista de pelar la cebolla   Sig.pdf
Qu es el mtodo de entrevista de pelar la cebolla Sig.pdfadarshmarketing08
 
Q68 Which of the following statements is FALSE The nudles.pdf
Q68 Which of the following statements is FALSE The nudles.pdfQ68 Which of the following statements is FALSE The nudles.pdf
Q68 Which of the following statements is FALSE The nudles.pdfadarshmarketing08
 

More from adarshmarketing08 (20)

Qu significa el trmino suma por resta en trminos de su.pdf
Qu significa el trmino suma por resta en trminos de su.pdfQu significa el trmino suma por resta en trminos de su.pdf
Qu significa el trmino suma por resta en trminos de su.pdf
 
Question 1 70 marks You are given the transactional data .pdf
Question 1  70 marks You are given the transactional data .pdfQuestion 1  70 marks You are given the transactional data .pdf
Question 1 70 marks You are given the transactional data .pdf
 
Question Using the information from the scenario below ou.pdf
Question   Using the information from the scenario below ou.pdfQuestion   Using the information from the scenario below ou.pdf
Question Using the information from the scenario below ou.pdf
 
queja principal Mi hija ha tenido mucha fiebre y ahora tie.pdf
queja principal  Mi hija ha tenido mucha fiebre y ahora tie.pdfqueja principal  Mi hija ha tenido mucha fiebre y ahora tie.pdf
queja principal Mi hija ha tenido mucha fiebre y ahora tie.pdf
 
que respuesta es correcta pls 1 Dirk es el repartidor de P.pdf
que respuesta es correcta pls  1 Dirk es el repartidor de P.pdfque respuesta es correcta pls  1 Dirk es el repartidor de P.pdf
que respuesta es correcta pls 1 Dirk es el repartidor de P.pdf
 
Qu bonos tendrn el cupn ms alto todo lo dems igual .pdf
Qu bonos tendrn el cupn ms alto todo lo dems igual  .pdfQu bonos tendrn el cupn ms alto todo lo dems igual  .pdf
Qu bonos tendrn el cupn ms alto todo lo dems igual .pdf
 
Qu rasgo diferencia a los pueblos baka efe y sua de la ma.pdf
Qu rasgo diferencia a los pueblos baka efe y sua de la ma.pdfQu rasgo diferencia a los pueblos baka efe y sua de la ma.pdf
Qu rasgo diferencia a los pueblos baka efe y sua de la ma.pdf
 
Qu tipos de genes se transcriben por las ARN polimerasas e.pdf
Qu tipos de genes se transcriben por las ARN polimerasas e.pdfQu tipos de genes se transcriben por las ARN polimerasas e.pdf
Qu tipos de genes se transcriben por las ARN polimerasas e.pdf
 
Qu significa el trmino Requires a Crowd en trminos de .pdf
Qu significa el trmino Requires a Crowd en trminos de .pdfQu significa el trmino Requires a Crowd en trminos de .pdf
Qu significa el trmino Requires a Crowd en trminos de .pdf
 
Qu procesos tienen lugar en el ncleo de una clula Adem.pdf
Qu procesos tienen lugar en el ncleo de una clula  Adem.pdfQu procesos tienen lugar en el ncleo de una clula  Adem.pdf
Qu procesos tienen lugar en el ncleo de una clula Adem.pdf
 
Qu mecanismo NO utilizan las clulas epiteliales para evit.pdf
Qu mecanismo NO utilizan las clulas epiteliales para evit.pdfQu mecanismo NO utilizan las clulas epiteliales para evit.pdf
Qu mecanismo NO utilizan las clulas epiteliales para evit.pdf
 
Qu ocurre con la estructura de una macromolcula que deter.pdf
Qu ocurre con la estructura de una macromolcula que deter.pdfQu ocurre con la estructura de una macromolcula que deter.pdf
Qu ocurre con la estructura de una macromolcula que deter.pdf
 
Qu le sucedera al ADN si la bandeja de gel dentro de una .pdf
Qu le sucedera al ADN si la bandeja de gel dentro de una .pdfQu le sucedera al ADN si la bandeja de gel dentro de una .pdf
Qu le sucedera al ADN si la bandeja de gel dentro de una .pdf
 
Qu hace normalmente el retinoblastoma RB en su estado hi.pdf
Qu hace normalmente el retinoblastoma RB en su estado hi.pdfQu hace normalmente el retinoblastoma RB en su estado hi.pdf
Qu hace normalmente el retinoblastoma RB en su estado hi.pdf
 
Qu es un grfico cudruple Un grfico cudruple es un re.pdf
Qu es un grfico cudruple  Un grfico cudruple es un re.pdfQu es un grfico cudruple  Un grfico cudruple es un re.pdf
Qu es un grfico cudruple Un grfico cudruple es un re.pdf
 
Qu es lo ms probable que contribuya a una escasez mundial.pdf
Qu es lo ms probable que contribuya a una escasez mundial.pdfQu es lo ms probable que contribuya a una escasez mundial.pdf
Qu es lo ms probable que contribuya a una escasez mundial.pdf
 
Qu elementos de xito potencial son cruciales ms all d.pdf
Qu elementos de xito potencial son cruciales ms all d.pdfQu elementos de xito potencial son cruciales ms all d.pdf
Qu elementos de xito potencial son cruciales ms all d.pdf
 
Qu es la matriz extracelular y cmo los azcares en la mat.pdf
Qu es la matriz extracelular y cmo los azcares en la mat.pdfQu es la matriz extracelular y cmo los azcares en la mat.pdf
Qu es la matriz extracelular y cmo los azcares en la mat.pdf
 
Qu es el mtodo de entrevista de pelar la cebolla Sig.pdf
Qu es el mtodo de entrevista de pelar la cebolla   Sig.pdfQu es el mtodo de entrevista de pelar la cebolla   Sig.pdf
Qu es el mtodo de entrevista de pelar la cebolla Sig.pdf
 
Q68 Which of the following statements is FALSE The nudles.pdf
Q68 Which of the following statements is FALSE The nudles.pdfQ68 Which of the following statements is FALSE The nudles.pdf
Q68 Which of the following statements is FALSE The nudles.pdf
 

Recently uploaded

The Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFThe Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFVivekanand Anglo Vedic Academy
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...Nguyen Thanh Tu Collection
 
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinhĐề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinhleson0603
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...Gary Wood
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...Nguyen Thanh Tu Collection
 
MOOD STABLIZERS DRUGS.pptx
MOOD     STABLIZERS           DRUGS.pptxMOOD     STABLIZERS           DRUGS.pptx
MOOD STABLIZERS DRUGS.pptxPoojaSen20
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...EduSkills OECD
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptNishitharanjan Rout
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...EADTU
 
male presentation...pdf.................
male presentation...pdf.................male presentation...pdf.................
male presentation...pdf.................MirzaAbrarBaig5
 
Major project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesMajor project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesAmanpreetKaur157993
 
How to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxHow to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxCeline George
 
How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17Celine George
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxneillewis46
 
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxLimon Prince
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesPooky Knightsmith
 

Recently uploaded (20)

The Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFThe Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDF
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinhĐề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
 
MOOD STABLIZERS DRUGS.pptx
MOOD     STABLIZERS           DRUGS.pptxMOOD     STABLIZERS           DRUGS.pptx
MOOD STABLIZERS DRUGS.pptx
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
male presentation...pdf.................
male presentation...pdf.................male presentation...pdf.................
male presentation...pdf.................
 
Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"
 
Major project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesMajor project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategies
 
How to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxHow to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptx
 
How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
 
Including Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdfIncluding Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdf
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical Principles
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 

Q4 18 points An undirected graph G is shown in Figure 3 A.pdf

  • 1. Q4 (18 points) An undirected graph G is shown in Figure 3. Assume that the adjacency lists are in alphabetical order. Apply depth-first search (DFS) on graph G. In the main-loop of DFS, check the vertices in alphabetical order. Figure 3: Graph for Q4. (a) On the answer sheet, enter the discovery times of selected vertices computed by the DFS. (b) On the answer sheet, enter the finish times of selected vertices computed by the DFS. (c) On the answer sheet, enter the predecessors of selected vertices computed by the DFS.(a): After the DFS on G, the discovery times for vertices C,F,H are C.d= Fd= (b): After the DFS on G, the finish times for vertices B+/,/l are B. f= f.f= .f=After the DFS on G, th predecessors for vertices D,I,J are