SlideShare ist ein Scribd-Unternehmen logo
1 von 1
Downloaden Sie, um offline zu lesen
2. There and back again. Imagine a robot turtle that you can give instructions u (go up 1cm),d
(go down 1cm),1 (go left 1cm ), r (go right 1cm). A program is a string of instructions. Let C be
the set of programs that make the turtle return to its starting point. For example, uurdrdll is in C,
as shown in this picture:
(a) Prove that C is not context-free. (b) Write a formal description of a Turing machine that
decides C.

Weitere ähnliche Inhalte

Mehr von info639484

25) The Aircraft maintenance Costs are considered a major operating c.pdf
 25) The Aircraft maintenance Costs are considered a major operating c.pdf 25) The Aircraft maintenance Costs are considered a major operating c.pdf
25) The Aircraft maintenance Costs are considered a major operating c.pdfinfo639484
 
25. It is hypothesized that Californian populations of Sea Otters a..pdf
 25. It is hypothesized that Californian populations of Sea Otters a..pdf 25. It is hypothesized that Californian populations of Sea Otters a..pdf
25. It is hypothesized that Californian populations of Sea Otters a..pdfinfo639484
 
24. Country A�s adult population is 100 million, and it is likely t.pdf
 24. Country A�s adult population is 100 million, and it is likely t.pdf 24. Country A�s adult population is 100 million, and it is likely t.pdf
24. Country A�s adult population is 100 million, and it is likely t.pdfinfo639484
 
2.4 Ethernet was originally developed to support a shared media envir.pdf
 2.4 Ethernet was originally developed to support a shared media envir.pdf 2.4 Ethernet was originally developed to support a shared media envir.pdf
2.4 Ethernet was originally developed to support a shared media envir.pdfinfo639484
 
2.6. (a) Find the frequency response H(ej) of the linear time-invaria.pdf
 2.6. (a) Find the frequency response H(ej) of the linear time-invaria.pdf 2.6. (a) Find the frequency response H(ej) of the linear time-invaria.pdf
2.6. (a) Find the frequency response H(ej) of the linear time-invaria.pdfinfo639484
 
2.Cases. Soulful Sounds Records inc. iby Ales Fither. aipecti ef t.pdf
 2.Cases. Soulful Sounds Records inc. iby Ales Fither. aipecti ef t.pdf 2.Cases. Soulful Sounds Records inc. iby Ales Fither. aipecti ef t.pdf
2.Cases. Soulful Sounds Records inc. iby Ales Fither. aipecti ef t.pdfinfo639484
 
20. If the process of completing business requirements is difficult i.pdf
 20. If the process of completing business requirements is difficult i.pdf 20. If the process of completing business requirements is difficult i.pdf
20. If the process of completing business requirements is difficult i.pdfinfo639484
 
2.2 A Network Topology is the arrangement with which computer systems.pdf
 2.2 A Network Topology is the arrangement with which computer systems.pdf 2.2 A Network Topology is the arrangement with which computer systems.pdf
2.2 A Network Topology is the arrangement with which computer systems.pdfinfo639484
 
2.3 Decapsulation is the inverse of the encapsulation process. Encaps.pdf
 2.3 Decapsulation is the inverse of the encapsulation process. Encaps.pdf 2.3 Decapsulation is the inverse of the encapsulation process. Encaps.pdf
2.3 Decapsulation is the inverse of the encapsulation process. Encaps.pdfinfo639484
 
2. What colour will methylene blue turn in the presence of carbon dio.pdf
 2. What colour will methylene blue turn in the presence of carbon dio.pdf 2. What colour will methylene blue turn in the presence of carbon dio.pdf
2. What colour will methylene blue turn in the presence of carbon dio.pdfinfo639484
 
2. What age, on average, did people with tic disorders first start no.pdf
 2. What age, on average, did people with tic disorders first start no.pdf 2. What age, on average, did people with tic disorders first start no.pdf
2. What age, on average, did people with tic disorders first start no.pdfinfo639484
 
2. True or false Given a sample size n=14, the degrees of freedom is.pdf
 2. True or false Given a sample size n=14, the degrees of freedom is.pdf 2. True or false Given a sample size n=14, the degrees of freedom is.pdf
2. True or false Given a sample size n=14, the degrees of freedom is.pdfinfo639484
 
2. The standard normal distribution is the normal random variable X s.pdf
 2. The standard normal distribution is the normal random variable X s.pdf 2. The standard normal distribution is the normal random variable X s.pdf
2. The standard normal distribution is the normal random variable X s.pdfinfo639484
 
2. The figure below depicts three metapopulation patterns. The size o.pdf
 2. The figure below depicts three metapopulation patterns. The size o.pdf 2. The figure below depicts three metapopulation patterns. The size o.pdf
2. The figure below depicts three metapopulation patterns. The size o.pdfinfo639484
 
2. Movie Profit Modify the Movie Data program written for problem.pdf
 2. Movie Profit Modify the Movie Data program written for problem.pdf 2. Movie Profit Modify the Movie Data program written for problem.pdf
2. Movie Profit Modify the Movie Data program written for problem.pdfinfo639484
 
2. Saving and investment in the national income accounts The foliowin.pdf
 2. Saving and investment in the national income accounts The foliowin.pdf 2. Saving and investment in the national income accounts The foliowin.pdf
2. Saving and investment in the national income accounts The foliowin.pdfinfo639484
 
2. Let X1 be a binomial distributed rv with parameters n1 and p1, and.pdf
 2. Let X1 be a binomial distributed rv with parameters n1 and p1, and.pdf 2. Let X1 be a binomial distributed rv with parameters n1 and p1, and.pdf
2. Let X1 be a binomial distributed rv with parameters n1 and p1, and.pdfinfo639484
 
2. Label the diagrams Explain in detali electron transportchemiosmos.pdf
 2. Label the diagrams Explain in detali electron transportchemiosmos.pdf 2. Label the diagrams Explain in detali electron transportchemiosmos.pdf
2. Label the diagrams Explain in detali electron transportchemiosmos.pdfinfo639484
 
2. Evolutonary theory predicts that orgunisms should apgear in a secp.pdf
 2. Evolutonary theory predicts that orgunisms should apgear in a secp.pdf 2. Evolutonary theory predicts that orgunisms should apgear in a secp.pdf
2. Evolutonary theory predicts that orgunisms should apgear in a secp.pdfinfo639484
 
2. Biodiversity Theme 2 Metabolic Diversity - What are the different.pdf
 2. Biodiversity Theme 2 Metabolic Diversity - What are the different.pdf 2. Biodiversity Theme 2 Metabolic Diversity - What are the different.pdf
2. Biodiversity Theme 2 Metabolic Diversity - What are the different.pdfinfo639484
 

Mehr von info639484 (20)

25) The Aircraft maintenance Costs are considered a major operating c.pdf
 25) The Aircraft maintenance Costs are considered a major operating c.pdf 25) The Aircraft maintenance Costs are considered a major operating c.pdf
25) The Aircraft maintenance Costs are considered a major operating c.pdf
 
25. It is hypothesized that Californian populations of Sea Otters a..pdf
 25. It is hypothesized that Californian populations of Sea Otters a..pdf 25. It is hypothesized that Californian populations of Sea Otters a..pdf
25. It is hypothesized that Californian populations of Sea Otters a..pdf
 
24. Country A�s adult population is 100 million, and it is likely t.pdf
 24. Country A�s adult population is 100 million, and it is likely t.pdf 24. Country A�s adult population is 100 million, and it is likely t.pdf
24. Country A�s adult population is 100 million, and it is likely t.pdf
 
2.4 Ethernet was originally developed to support a shared media envir.pdf
 2.4 Ethernet was originally developed to support a shared media envir.pdf 2.4 Ethernet was originally developed to support a shared media envir.pdf
2.4 Ethernet was originally developed to support a shared media envir.pdf
 
2.6. (a) Find the frequency response H(ej) of the linear time-invaria.pdf
 2.6. (a) Find the frequency response H(ej) of the linear time-invaria.pdf 2.6. (a) Find the frequency response H(ej) of the linear time-invaria.pdf
2.6. (a) Find the frequency response H(ej) of the linear time-invaria.pdf
 
2.Cases. Soulful Sounds Records inc. iby Ales Fither. aipecti ef t.pdf
 2.Cases. Soulful Sounds Records inc. iby Ales Fither. aipecti ef t.pdf 2.Cases. Soulful Sounds Records inc. iby Ales Fither. aipecti ef t.pdf
2.Cases. Soulful Sounds Records inc. iby Ales Fither. aipecti ef t.pdf
 
20. If the process of completing business requirements is difficult i.pdf
 20. If the process of completing business requirements is difficult i.pdf 20. If the process of completing business requirements is difficult i.pdf
20. If the process of completing business requirements is difficult i.pdf
 
2.2 A Network Topology is the arrangement with which computer systems.pdf
 2.2 A Network Topology is the arrangement with which computer systems.pdf 2.2 A Network Topology is the arrangement with which computer systems.pdf
2.2 A Network Topology is the arrangement with which computer systems.pdf
 
2.3 Decapsulation is the inverse of the encapsulation process. Encaps.pdf
 2.3 Decapsulation is the inverse of the encapsulation process. Encaps.pdf 2.3 Decapsulation is the inverse of the encapsulation process. Encaps.pdf
2.3 Decapsulation is the inverse of the encapsulation process. Encaps.pdf
 
2. What colour will methylene blue turn in the presence of carbon dio.pdf
 2. What colour will methylene blue turn in the presence of carbon dio.pdf 2. What colour will methylene blue turn in the presence of carbon dio.pdf
2. What colour will methylene blue turn in the presence of carbon dio.pdf
 
2. What age, on average, did people with tic disorders first start no.pdf
 2. What age, on average, did people with tic disorders first start no.pdf 2. What age, on average, did people with tic disorders first start no.pdf
2. What age, on average, did people with tic disorders first start no.pdf
 
2. True or false Given a sample size n=14, the degrees of freedom is.pdf
 2. True or false Given a sample size n=14, the degrees of freedom is.pdf 2. True or false Given a sample size n=14, the degrees of freedom is.pdf
2. True or false Given a sample size n=14, the degrees of freedom is.pdf
 
2. The standard normal distribution is the normal random variable X s.pdf
 2. The standard normal distribution is the normal random variable X s.pdf 2. The standard normal distribution is the normal random variable X s.pdf
2. The standard normal distribution is the normal random variable X s.pdf
 
2. The figure below depicts three metapopulation patterns. The size o.pdf
 2. The figure below depicts three metapopulation patterns. The size o.pdf 2. The figure below depicts three metapopulation patterns. The size o.pdf
2. The figure below depicts three metapopulation patterns. The size o.pdf
 
2. Movie Profit Modify the Movie Data program written for problem.pdf
 2. Movie Profit Modify the Movie Data program written for problem.pdf 2. Movie Profit Modify the Movie Data program written for problem.pdf
2. Movie Profit Modify the Movie Data program written for problem.pdf
 
2. Saving and investment in the national income accounts The foliowin.pdf
 2. Saving and investment in the national income accounts The foliowin.pdf 2. Saving and investment in the national income accounts The foliowin.pdf
2. Saving and investment in the national income accounts The foliowin.pdf
 
2. Let X1 be a binomial distributed rv with parameters n1 and p1, and.pdf
 2. Let X1 be a binomial distributed rv with parameters n1 and p1, and.pdf 2. Let X1 be a binomial distributed rv with parameters n1 and p1, and.pdf
2. Let X1 be a binomial distributed rv with parameters n1 and p1, and.pdf
 
2. Label the diagrams Explain in detali electron transportchemiosmos.pdf
 2. Label the diagrams Explain in detali electron transportchemiosmos.pdf 2. Label the diagrams Explain in detali electron transportchemiosmos.pdf
2. Label the diagrams Explain in detali electron transportchemiosmos.pdf
 
2. Evolutonary theory predicts that orgunisms should apgear in a secp.pdf
 2. Evolutonary theory predicts that orgunisms should apgear in a secp.pdf 2. Evolutonary theory predicts that orgunisms should apgear in a secp.pdf
2. Evolutonary theory predicts that orgunisms should apgear in a secp.pdf
 
2. Biodiversity Theme 2 Metabolic Diversity - What are the different.pdf
 2. Biodiversity Theme 2 Metabolic Diversity - What are the different.pdf 2. Biodiversity Theme 2 Metabolic Diversity - What are the different.pdf
2. Biodiversity Theme 2 Metabolic Diversity - What are the different.pdf
 

Kürzlich hochgeladen

Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 

Kürzlich hochgeladen (20)

Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
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🔝
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 

Robot Turtle Programs That Return Home Are Not Context-Free

  • 1. 2. There and back again. Imagine a robot turtle that you can give instructions u (go up 1cm),d (go down 1cm),1 (go left 1cm ), r (go right 1cm). A program is a string of instructions. Let C be the set of programs that make the turtle return to its starting point. For example, uurdrdll is in C, as shown in this picture: (a) Prove that C is not context-free. (b) Write a formal description of a Turing machine that decides C.