SlideShare a Scribd company logo
1 of 2
Select ALL of the statements below which are TRUE:
a) Consider a language L defined on the alphabet . Assume that there exists a TM M that accepts
L and that halts on any string w in +
. Then the language L is a RE language.
b) For any language L defined on the alphabet , there exists a TM that accepts L.
c) If a language L is REC, then L is RE.
d) Any language L is either REG, DCF, CF, CS, REC, or RE
e) If L is a REG language, then L is also a CF language, CS language, REC language, and RE
language.
f) If L is a CF language, then L is a REC language but L is not a RE language.
Solution
a) Consider a language L defined on the alphabet . Assume that there exists a TM M that accepts
L and that halts on any string w in +. Then the language L is a RE language.
ans)TRUE
b) For any language L defined on the alphabet , there exists a TM that accepts L.
ans)TRUE
with help of chomsky hierarchy we say that every L has TM
c) If a language L is REC, then L is RE.
ans)TRUE
if a language is recursive then it is recursive enumerable
d) Any language L is either REG, DCF, CF, CS, REC, or RE
ans)TRUE
why because with help chomsky hierarchy of languages and grammers should be four not more
than that.
e) If L is a REG language, then L is also a CF language, CS language, REC language, and RE
language.
ANS)FALSE
because of chomsky hierarchy of languages and grammers and theeir production rules it is not
true.
f) If L is a CF language, then L is a REC language but L is not a RE language.
ans)TRUE
why because in RE .if we give false input it may or may not halt(loop) but in REC it halts non-
final state for false output and haits in inal state for right input.

More Related Content

Similar to Chomsky Hierarchy True/False Statements

Closure properties of context free grammar
Closure properties of context free grammarClosure properties of context free grammar
Closure properties of context free grammarAfshanKhan51
 
context free language
context free languagecontext free language
context free languagekhush_boo31
 
Lecture 3,4
Lecture 3,4Lecture 3,4
Lecture 3,4shah zeb
 
Lecture 3,4
Lecture 3,4Lecture 3,4
Lecture 3,4shah zeb
 
1.5 & 1.6 regular languages & regular expression
1.5 & 1.6 regular languages & regular expression1.5 & 1.6 regular languages & regular expression
1.5 & 1.6 regular languages & regular expressionSampath Kumar S
 
LECTURE 1 ALPHABET,STRINGS, LANGUAGE CHOMSKY TYPES OF GRAMMAR.pptx
LECTURE 1 ALPHABET,STRINGS, LANGUAGE CHOMSKY TYPES OF GRAMMAR.pptxLECTURE 1 ALPHABET,STRINGS, LANGUAGE CHOMSKY TYPES OF GRAMMAR.pptx
LECTURE 1 ALPHABET,STRINGS, LANGUAGE CHOMSKY TYPES OF GRAMMAR.pptxAbhishekKumarPandit5
 
Theory of automata and formal language
Theory of automata and formal languageTheory of automata and formal language
Theory of automata and formal languageRabia Khalid
 
Final quantitative analysis of egyptian aphorisms by using r
Final quantitative analysis of egyptian aphorisms by using rFinal quantitative analysis of egyptian aphorisms by using r
Final quantitative analysis of egyptian aphorisms by using rAlexandria University
 
CS911-Lecture-19_40235.pptx
CS911-Lecture-19_40235.pptxCS911-Lecture-19_40235.pptx
CS911-Lecture-19_40235.pptxALIZAIB KHAN
 
Lecture Notes-Are Natural Languages Regular.pdf
Lecture Notes-Are Natural Languages Regular.pdfLecture Notes-Are Natural Languages Regular.pdf
Lecture Notes-Are Natural Languages Regular.pdfDeptii Chaudhari
 

Similar to Chomsky Hierarchy True/False Statements (13)

L_2_apl.pptx
L_2_apl.pptxL_2_apl.pptx
L_2_apl.pptx
 
Flat unit 3
Flat unit 3Flat unit 3
Flat unit 3
 
Closure properties of context free grammar
Closure properties of context free grammarClosure properties of context free grammar
Closure properties of context free grammar
 
context free language
context free languagecontext free language
context free language
 
Lecture 3,4
Lecture 3,4Lecture 3,4
Lecture 3,4
 
Lecture 3,4
Lecture 3,4Lecture 3,4
Lecture 3,4
 
1.5 & 1.6 regular languages & regular expression
1.5 & 1.6 regular languages & regular expression1.5 & 1.6 regular languages & regular expression
1.5 & 1.6 regular languages & regular expression
 
LECTURE 1 ALPHABET,STRINGS, LANGUAGE CHOMSKY TYPES OF GRAMMAR.pptx
LECTURE 1 ALPHABET,STRINGS, LANGUAGE CHOMSKY TYPES OF GRAMMAR.pptxLECTURE 1 ALPHABET,STRINGS, LANGUAGE CHOMSKY TYPES OF GRAMMAR.pptx
LECTURE 1 ALPHABET,STRINGS, LANGUAGE CHOMSKY TYPES OF GRAMMAR.pptx
 
Theory of automata and formal language
Theory of automata and formal languageTheory of automata and formal language
Theory of automata and formal language
 
Final quantitative analysis of egyptian aphorisms by using r
Final quantitative analysis of egyptian aphorisms by using rFinal quantitative analysis of egyptian aphorisms by using r
Final quantitative analysis of egyptian aphorisms by using r
 
CS911-Lecture-19_40235.pptx
CS911-Lecture-19_40235.pptxCS911-Lecture-19_40235.pptx
CS911-Lecture-19_40235.pptx
 
Lecture Notes-Are Natural Languages Regular.pdf
Lecture Notes-Are Natural Languages Regular.pdfLecture Notes-Are Natural Languages Regular.pdf
Lecture Notes-Are Natural Languages Regular.pdf
 
TOC question bank.pdf
TOC question bank.pdfTOC question bank.pdf
TOC question bank.pdf
 

More from darlened3

Lightning strike is deadly- and it happens due to the fact that Questi.docx
Lightning strike is deadly- and it happens due to the fact that Questi.docxLightning strike is deadly- and it happens due to the fact that Questi.docx
Lightning strike is deadly- and it happens due to the fact that Questi.docxdarlened3
 
Light travelling through the air (n - 1) strikes the surface of a diam.docx
Light travelling through the air (n - 1) strikes the surface of a diam.docxLight travelling through the air (n - 1) strikes the surface of a diam.docx
Light travelling through the air (n - 1) strikes the surface of a diam.docxdarlened3
 
Lets say your company doesn-'t want to upgrade from Windows Server 200.docx
Lets say your company doesn-'t want to upgrade from Windows Server 200.docxLets say your company doesn-'t want to upgrade from Windows Server 200.docx
Lets say your company doesn-'t want to upgrade from Windows Server 200.docxdarlened3
 
Let-'s shift our focus a little and talk about Telehealth- Using to re.docx
Let-'s shift our focus a little and talk about Telehealth- Using to re.docxLet-'s shift our focus a little and talk about Telehealth- Using to re.docx
Let-'s shift our focus a little and talk about Telehealth- Using to re.docxdarlened3
 
Let L(x1- x2- x3- x4- x5- x6- x7) - 2x3 + 3x4 + 8x6 + x7- Is L a linea.docx
Let L(x1- x2- x3- x4- x5- x6- x7) - 2x3 + 3x4 + 8x6 + x7- Is L a linea.docxLet L(x1- x2- x3- x4- x5- x6- x7) - 2x3 + 3x4 + 8x6 + x7- Is L a linea.docx
Let L(x1- x2- x3- x4- x5- x6- x7) - 2x3 + 3x4 + 8x6 + x7- Is L a linea.docxdarlened3
 
Look at the energy curve for butane and oxygen combining to form CO2.docx
Look at the energy curve for butane and oxygen combining to  form CO2.docxLook at the energy curve for butane and oxygen combining to  form CO2.docx
Look at the energy curve for butane and oxygen combining to form CO2.docxdarlened3
 
List regional priority credits available for Long Island- Do you think.docx
List regional priority credits available for Long Island- Do you think.docxList regional priority credits available for Long Island- Do you think.docx
List regional priority credits available for Long Island- Do you think.docxdarlened3
 
List the most common arguments and describe the effect of that argumen.docx
List the most common arguments and describe the effect of that argumen.docxList the most common arguments and describe the effect of that argumen.docx
List the most common arguments and describe the effect of that argumen.docxdarlened3
 
Listed below are current asset items for Lester Company at December 31.docx
Listed below are current asset items for Lester Company at December 31.docxListed below are current asset items for Lester Company at December 31.docx
Listed below are current asset items for Lester Company at December 31.docxdarlened3
 
List some ways in which the privacy threats posed by cyber technology.docx
List some ways in which the privacy threats posed by cyber technology.docxList some ways in which the privacy threats posed by cyber technology.docx
List some ways in which the privacy threats posed by cyber technology.docxdarlened3
 
List three factors that contribute to the severity of acid rock draina.docx
List three factors that contribute to the severity of acid rock draina.docxList three factors that contribute to the severity of acid rock draina.docx
List three factors that contribute to the severity of acid rock draina.docxdarlened3
 
List the GL entries (debit and credit) for the following items - list.docx
List the GL entries (debit and credit) for the following items - list.docxList the GL entries (debit and credit) for the following items - list.docx
List the GL entries (debit and credit) for the following items - list.docxdarlened3
 
list examples of the internet entities( switches- web servers- mail se.docx
list examples of the internet entities( switches- web servers- mail se.docxlist examples of the internet entities( switches- web servers- mail se.docx
list examples of the internet entities( switches- web servers- mail se.docxdarlened3
 
List and define the factors that are important to successful implement.docx
List and define the factors that are important to successful implement.docxList and define the factors that are important to successful implement.docx
List and define the factors that are important to successful implement.docxdarlened3
 
List some places that may be using Network Address Translation (NAT) a.docx
List some places that may be using Network Address Translation (NAT) a.docxList some places that may be using Network Address Translation (NAT) a.docx
List some places that may be using Network Address Translation (NAT) a.docxdarlened3
 
List Five differences in the Format of Foreign vs Domestic Companies I.docx
List Five differences in the Format of Foreign vs Domestic Companies I.docxList Five differences in the Format of Foreign vs Domestic Companies I.docx
List Five differences in the Format of Foreign vs Domestic Companies I.docxdarlened3
 
List and define the types of System Software- How does System Software.docx
List and define the types of System Software- How does System Software.docxList and define the types of System Software- How does System Software.docx
List and define the types of System Software- How does System Software.docxdarlened3
 
List and define the types of System Software- How does System Software (1).docx
List and define the types of System Software- How does System Software (1).docxList and define the types of System Software- How does System Software (1).docx
List and define the types of System Software- How does System Software (1).docxdarlened3
 
List 6 reasons WHY we treat wastewater focused on the different types.docx
List 6 reasons WHY we treat wastewater focused on the different types.docxList 6 reasons WHY we treat wastewater focused on the different types.docx
List 6 reasons WHY we treat wastewater focused on the different types.docxdarlened3
 
Linux distributions are becoming more and more user friendly- There is.docx
Linux distributions are becoming more and more user friendly- There is.docxLinux distributions are becoming more and more user friendly- There is.docx
Linux distributions are becoming more and more user friendly- There is.docxdarlened3
 

More from darlened3 (20)

Lightning strike is deadly- and it happens due to the fact that Questi.docx
Lightning strike is deadly- and it happens due to the fact that Questi.docxLightning strike is deadly- and it happens due to the fact that Questi.docx
Lightning strike is deadly- and it happens due to the fact that Questi.docx
 
Light travelling through the air (n - 1) strikes the surface of a diam.docx
Light travelling through the air (n - 1) strikes the surface of a diam.docxLight travelling through the air (n - 1) strikes the surface of a diam.docx
Light travelling through the air (n - 1) strikes the surface of a diam.docx
 
Lets say your company doesn-'t want to upgrade from Windows Server 200.docx
Lets say your company doesn-'t want to upgrade from Windows Server 200.docxLets say your company doesn-'t want to upgrade from Windows Server 200.docx
Lets say your company doesn-'t want to upgrade from Windows Server 200.docx
 
Let-'s shift our focus a little and talk about Telehealth- Using to re.docx
Let-'s shift our focus a little and talk about Telehealth- Using to re.docxLet-'s shift our focus a little and talk about Telehealth- Using to re.docx
Let-'s shift our focus a little and talk about Telehealth- Using to re.docx
 
Let L(x1- x2- x3- x4- x5- x6- x7) - 2x3 + 3x4 + 8x6 + x7- Is L a linea.docx
Let L(x1- x2- x3- x4- x5- x6- x7) - 2x3 + 3x4 + 8x6 + x7- Is L a linea.docxLet L(x1- x2- x3- x4- x5- x6- x7) - 2x3 + 3x4 + 8x6 + x7- Is L a linea.docx
Let L(x1- x2- x3- x4- x5- x6- x7) - 2x3 + 3x4 + 8x6 + x7- Is L a linea.docx
 
Look at the energy curve for butane and oxygen combining to form CO2.docx
Look at the energy curve for butane and oxygen combining to  form CO2.docxLook at the energy curve for butane and oxygen combining to  form CO2.docx
Look at the energy curve for butane and oxygen combining to form CO2.docx
 
List regional priority credits available for Long Island- Do you think.docx
List regional priority credits available for Long Island- Do you think.docxList regional priority credits available for Long Island- Do you think.docx
List regional priority credits available for Long Island- Do you think.docx
 
List the most common arguments and describe the effect of that argumen.docx
List the most common arguments and describe the effect of that argumen.docxList the most common arguments and describe the effect of that argumen.docx
List the most common arguments and describe the effect of that argumen.docx
 
Listed below are current asset items for Lester Company at December 31.docx
Listed below are current asset items for Lester Company at December 31.docxListed below are current asset items for Lester Company at December 31.docx
Listed below are current asset items for Lester Company at December 31.docx
 
List some ways in which the privacy threats posed by cyber technology.docx
List some ways in which the privacy threats posed by cyber technology.docxList some ways in which the privacy threats posed by cyber technology.docx
List some ways in which the privacy threats posed by cyber technology.docx
 
List three factors that contribute to the severity of acid rock draina.docx
List three factors that contribute to the severity of acid rock draina.docxList three factors that contribute to the severity of acid rock draina.docx
List three factors that contribute to the severity of acid rock draina.docx
 
List the GL entries (debit and credit) for the following items - list.docx
List the GL entries (debit and credit) for the following items - list.docxList the GL entries (debit and credit) for the following items - list.docx
List the GL entries (debit and credit) for the following items - list.docx
 
list examples of the internet entities( switches- web servers- mail se.docx
list examples of the internet entities( switches- web servers- mail se.docxlist examples of the internet entities( switches- web servers- mail se.docx
list examples of the internet entities( switches- web servers- mail se.docx
 
List and define the factors that are important to successful implement.docx
List and define the factors that are important to successful implement.docxList and define the factors that are important to successful implement.docx
List and define the factors that are important to successful implement.docx
 
List some places that may be using Network Address Translation (NAT) a.docx
List some places that may be using Network Address Translation (NAT) a.docxList some places that may be using Network Address Translation (NAT) a.docx
List some places that may be using Network Address Translation (NAT) a.docx
 
List Five differences in the Format of Foreign vs Domestic Companies I.docx
List Five differences in the Format of Foreign vs Domestic Companies I.docxList Five differences in the Format of Foreign vs Domestic Companies I.docx
List Five differences in the Format of Foreign vs Domestic Companies I.docx
 
List and define the types of System Software- How does System Software.docx
List and define the types of System Software- How does System Software.docxList and define the types of System Software- How does System Software.docx
List and define the types of System Software- How does System Software.docx
 
List and define the types of System Software- How does System Software (1).docx
List and define the types of System Software- How does System Software (1).docxList and define the types of System Software- How does System Software (1).docx
List and define the types of System Software- How does System Software (1).docx
 
List 6 reasons WHY we treat wastewater focused on the different types.docx
List 6 reasons WHY we treat wastewater focused on the different types.docxList 6 reasons WHY we treat wastewater focused on the different types.docx
List 6 reasons WHY we treat wastewater focused on the different types.docx
 
Linux distributions are becoming more and more user friendly- There is.docx
Linux distributions are becoming more and more user friendly- There is.docxLinux distributions are becoming more and more user friendly- There is.docx
Linux distributions are becoming more and more user friendly- There is.docx
 

Recently uploaded

MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 

Recently uploaded (20)

MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 

Chomsky Hierarchy True/False Statements

  • 1. Select ALL of the statements below which are TRUE: a) Consider a language L defined on the alphabet . Assume that there exists a TM M that accepts L and that halts on any string w in + . Then the language L is a RE language. b) For any language L defined on the alphabet , there exists a TM that accepts L. c) If a language L is REC, then L is RE. d) Any language L is either REG, DCF, CF, CS, REC, or RE e) If L is a REG language, then L is also a CF language, CS language, REC language, and RE language. f) If L is a CF language, then L is a REC language but L is not a RE language. Solution a) Consider a language L defined on the alphabet . Assume that there exists a TM M that accepts L and that halts on any string w in +. Then the language L is a RE language. ans)TRUE b) For any language L defined on the alphabet , there exists a TM that accepts L. ans)TRUE with help of chomsky hierarchy we say that every L has TM c) If a language L is REC, then L is RE. ans)TRUE if a language is recursive then it is recursive enumerable d) Any language L is either REG, DCF, CF, CS, REC, or RE
  • 2. ans)TRUE why because with help chomsky hierarchy of languages and grammers should be four not more than that. e) If L is a REG language, then L is also a CF language, CS language, REC language, and RE language. ANS)FALSE because of chomsky hierarchy of languages and grammers and theeir production rules it is not true. f) If L is a CF language, then L is a REC language but L is not a RE language. ans)TRUE why because in RE .if we give false input it may or may not halt(loop) but in REC it halts non- final state for false output and haits in inal state for right input.