SlideShare a Scribd company logo
are the following attributes parts of compiler Lexer or Parser:
1.strips out the comments and whitespace
2.converts text into lexemes
3.generates an Abstrat Symbol Tree
4.recursive descent or table driven
5.uses BNF or EBNF definitions
Solution
Yes. All the points given above are the part of a Lexer/Parser.
Lexer performs follwowing functions
1.strips out the comments and whitespace
2.converts text into lexemes
Parser performs following
3.generates an Abstrat Symbol Tree
4.recursive descent or table driven
5.uses BNF or EBNF definitions

More Related Content

More from mccarthygaussvanst87

Suppose you have a group of 10 people.(a) How many ways are there .pdf
Suppose you have a group of 10 people.(a) How many ways are there .pdfSuppose you have a group of 10 people.(a) How many ways are there .pdf
Suppose you have a group of 10 people.(a) How many ways are there .pdf
mccarthygaussvanst87
 
Show mathematically how carboxylation of Rubisco is beneficial to th.pdf
Show mathematically how carboxylation of Rubisco is beneficial to th.pdfShow mathematically how carboxylation of Rubisco is beneficial to th.pdf
Show mathematically how carboxylation of Rubisco is beneficial to th.pdf
mccarthygaussvanst87
 
Select two reasons why Jenner’s method of vaccination was superior t.pdf
Select two reasons why Jenner’s method of vaccination was superior t.pdfSelect two reasons why Jenner’s method of vaccination was superior t.pdf
Select two reasons why Jenner’s method of vaccination was superior t.pdf
mccarthygaussvanst87
 
Sarah Ann designed, conducted, analyzed, wrote, and published an exp.pdf
Sarah Ann designed, conducted, analyzed, wrote, and published an exp.pdfSarah Ann designed, conducted, analyzed, wrote, and published an exp.pdf
Sarah Ann designed, conducted, analyzed, wrote, and published an exp.pdf
mccarthygaussvanst87
 
QuestionDiscuss the validity of each statement. If the statement .pdf
QuestionDiscuss the validity of each statement. If the statement .pdfQuestionDiscuss the validity of each statement. If the statement .pdf
QuestionDiscuss the validity of each statement. If the statement .pdf
mccarthygaussvanst87
 
Montoure Company uses a perpetual inventory system. It entered into .pdf
Montoure Company uses a perpetual inventory system. It entered into .pdfMontoure Company uses a perpetual inventory system. It entered into .pdf
Montoure Company uses a perpetual inventory system. It entered into .pdf
mccarthygaussvanst87
 
Many employees have personal computers in their home.Discuss if th.pdf
Many employees have personal computers in their home.Discuss if th.pdfMany employees have personal computers in their home.Discuss if th.pdf
Many employees have personal computers in their home.Discuss if th.pdf
mccarthygaussvanst87
 
If two loci Rr and Ww are linked and are 14 map units apart, and a.pdf
If two loci Rr and Ww are linked and are 14 map units apart, and a.pdfIf two loci Rr and Ww are linked and are 14 map units apart, and a.pdf
If two loci Rr and Ww are linked and are 14 map units apart, and a.pdf
mccarthygaussvanst87
 
If the environment of propagation has be th specular and scattering c.pdf
If the environment of propagation has be th specular and scattering c.pdfIf the environment of propagation has be th specular and scattering c.pdf
If the environment of propagation has be th specular and scattering c.pdf
mccarthygaussvanst87
 
How have advances in technology accelerated genetic discoveries Com.pdf
How have advances in technology accelerated genetic discoveries  Com.pdfHow have advances in technology accelerated genetic discoveries  Com.pdf
How have advances in technology accelerated genetic discoveries Com.pdf
mccarthygaussvanst87
 
Fish are caught at random according to a Poisson process at a rate o.pdf
Fish are caught at random according to a Poisson process at a rate o.pdfFish are caught at random according to a Poisson process at a rate o.pdf
Fish are caught at random according to a Poisson process at a rate o.pdf
mccarthygaussvanst87
 
Consider two particles with masses m_1 and m_2 where m_1 m_2. If t.pdf
Consider two particles with masses m_1 and m_2 where m_1  m_2.  If t.pdfConsider two particles with masses m_1 and m_2 where m_1  m_2.  If t.pdf
Consider two particles with masses m_1 and m_2 where m_1 m_2. If t.pdf
mccarthygaussvanst87
 
Borrowing from abroad representsA capital outflow.A capital.pdf
Borrowing from abroad representsA capital outflow.A capital.pdfBorrowing from abroad representsA capital outflow.A capital.pdf
Borrowing from abroad representsA capital outflow.A capital.pdf
mccarthygaussvanst87
 
A cross-cultural psychologist living in an overseas, non-Western rura.pdf
A cross-cultural psychologist living in an overseas, non-Western rura.pdfA cross-cultural psychologist living in an overseas, non-Western rura.pdf
A cross-cultural psychologist living in an overseas, non-Western rura.pdf
mccarthygaussvanst87
 
2. Explain how slavery could be discussed in the Constitution even th.pdf
2. Explain how slavery could be discussed in the Constitution even th.pdf2. Explain how slavery could be discussed in the Constitution even th.pdf
2. Explain how slavery could be discussed in the Constitution even th.pdf
mccarthygaussvanst87
 
2.Write a Program Which Will Input an int value x,and compute and ou.pdf
2.Write a Program Which Will Input an int value x,and compute and ou.pdf2.Write a Program Which Will Input an int value x,and compute and ou.pdf
2.Write a Program Which Will Input an int value x,and compute and ou.pdf
mccarthygaussvanst87
 
1. How might lack of cultural dimension play a role influencing lead.pdf
1. How might lack of cultural dimension play a role influencing lead.pdf1. How might lack of cultural dimension play a role influencing lead.pdf
1. How might lack of cultural dimension play a role influencing lead.pdf
mccarthygaussvanst87
 
1) Which of the following are Cnidarianssea anemones and ctenopho.pdf
1) Which of the following are Cnidarianssea anemones and ctenopho.pdf1) Which of the following are Cnidarianssea anemones and ctenopho.pdf
1) Which of the following are Cnidarianssea anemones and ctenopho.pdf
mccarthygaussvanst87
 

More from mccarthygaussvanst87 (18)

Suppose you have a group of 10 people.(a) How many ways are there .pdf
Suppose you have a group of 10 people.(a) How many ways are there .pdfSuppose you have a group of 10 people.(a) How many ways are there .pdf
Suppose you have a group of 10 people.(a) How many ways are there .pdf
 
Show mathematically how carboxylation of Rubisco is beneficial to th.pdf
Show mathematically how carboxylation of Rubisco is beneficial to th.pdfShow mathematically how carboxylation of Rubisco is beneficial to th.pdf
Show mathematically how carboxylation of Rubisco is beneficial to th.pdf
 
Select two reasons why Jenner’s method of vaccination was superior t.pdf
Select two reasons why Jenner’s method of vaccination was superior t.pdfSelect two reasons why Jenner’s method of vaccination was superior t.pdf
Select two reasons why Jenner’s method of vaccination was superior t.pdf
 
Sarah Ann designed, conducted, analyzed, wrote, and published an exp.pdf
Sarah Ann designed, conducted, analyzed, wrote, and published an exp.pdfSarah Ann designed, conducted, analyzed, wrote, and published an exp.pdf
Sarah Ann designed, conducted, analyzed, wrote, and published an exp.pdf
 
QuestionDiscuss the validity of each statement. If the statement .pdf
QuestionDiscuss the validity of each statement. If the statement .pdfQuestionDiscuss the validity of each statement. If the statement .pdf
QuestionDiscuss the validity of each statement. If the statement .pdf
 
Montoure Company uses a perpetual inventory system. It entered into .pdf
Montoure Company uses a perpetual inventory system. It entered into .pdfMontoure Company uses a perpetual inventory system. It entered into .pdf
Montoure Company uses a perpetual inventory system. It entered into .pdf
 
Many employees have personal computers in their home.Discuss if th.pdf
Many employees have personal computers in their home.Discuss if th.pdfMany employees have personal computers in their home.Discuss if th.pdf
Many employees have personal computers in their home.Discuss if th.pdf
 
If two loci Rr and Ww are linked and are 14 map units apart, and a.pdf
If two loci Rr and Ww are linked and are 14 map units apart, and a.pdfIf two loci Rr and Ww are linked and are 14 map units apart, and a.pdf
If two loci Rr and Ww are linked and are 14 map units apart, and a.pdf
 
If the environment of propagation has be th specular and scattering c.pdf
If the environment of propagation has be th specular and scattering c.pdfIf the environment of propagation has be th specular and scattering c.pdf
If the environment of propagation has be th specular and scattering c.pdf
 
How have advances in technology accelerated genetic discoveries Com.pdf
How have advances in technology accelerated genetic discoveries  Com.pdfHow have advances in technology accelerated genetic discoveries  Com.pdf
How have advances in technology accelerated genetic discoveries Com.pdf
 
Fish are caught at random according to a Poisson process at a rate o.pdf
Fish are caught at random according to a Poisson process at a rate o.pdfFish are caught at random according to a Poisson process at a rate o.pdf
Fish are caught at random according to a Poisson process at a rate o.pdf
 
Consider two particles with masses m_1 and m_2 where m_1 m_2. If t.pdf
Consider two particles with masses m_1 and m_2 where m_1  m_2.  If t.pdfConsider two particles with masses m_1 and m_2 where m_1  m_2.  If t.pdf
Consider two particles with masses m_1 and m_2 where m_1 m_2. If t.pdf
 
Borrowing from abroad representsA capital outflow.A capital.pdf
Borrowing from abroad representsA capital outflow.A capital.pdfBorrowing from abroad representsA capital outflow.A capital.pdf
Borrowing from abroad representsA capital outflow.A capital.pdf
 
A cross-cultural psychologist living in an overseas, non-Western rura.pdf
A cross-cultural psychologist living in an overseas, non-Western rura.pdfA cross-cultural psychologist living in an overseas, non-Western rura.pdf
A cross-cultural psychologist living in an overseas, non-Western rura.pdf
 
2. Explain how slavery could be discussed in the Constitution even th.pdf
2. Explain how slavery could be discussed in the Constitution even th.pdf2. Explain how slavery could be discussed in the Constitution even th.pdf
2. Explain how slavery could be discussed in the Constitution even th.pdf
 
2.Write a Program Which Will Input an int value x,and compute and ou.pdf
2.Write a Program Which Will Input an int value x,and compute and ou.pdf2.Write a Program Which Will Input an int value x,and compute and ou.pdf
2.Write a Program Which Will Input an int value x,and compute and ou.pdf
 
1. How might lack of cultural dimension play a role influencing lead.pdf
1. How might lack of cultural dimension play a role influencing lead.pdf1. How might lack of cultural dimension play a role influencing lead.pdf
1. How might lack of cultural dimension play a role influencing lead.pdf
 
1) Which of the following are Cnidarianssea anemones and ctenopho.pdf
1) Which of the following are Cnidarianssea anemones and ctenopho.pdf1) Which of the following are Cnidarianssea anemones and ctenopho.pdf
1) Which of the following are Cnidarianssea anemones and ctenopho.pdf
 

Recently uploaded

The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
Kartik Tiwari
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
kimdan468
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
gb193092
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 

Recently uploaded (20)

The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 

are the following attributes parts of compiler Lexer or Parser1.s.pdf

  • 1. are the following attributes parts of compiler Lexer or Parser: 1.strips out the comments and whitespace 2.converts text into lexemes 3.generates an Abstrat Symbol Tree 4.recursive descent or table driven 5.uses BNF or EBNF definitions Solution Yes. All the points given above are the part of a Lexer/Parser. Lexer performs follwowing functions 1.strips out the comments and whitespace 2.converts text into lexemes Parser performs following 3.generates an Abstrat Symbol Tree 4.recursive descent or table driven 5.uses BNF or EBNF definitions