SlideShare a Scribd company logo
2 Marks Questions

Q. In two pass assembler what is the objective of First Pass?

Q. Brief note on Parser Generator

Q. What is mean by Semantic Actions?



3 Marks Questions

Q. What is mean by Intermediate Code?

Q. What is Relocation?



5 Marks Questions          vuzs

Q. What are the components of CFG

Q. Aik question Ambiguous Grimmer ka tha.
8)The attribute of a number token
     contains
Its type
Its value
Its variable
                                                 9)<num, 31>
                       u       e        0     0     0     is a token without attribute.
                           u        e       0     0     0      is a token with one
                                                   attribute.
Is a token with two attributes.




2)Compiler Construction concerns about:
 u e 0 0 0 Design of programming languages
 u e 0 0 0 Design of translator systems for language
 u e 0 0 0 Building converter for programs

3) LL1 languages:
 u e 0 0 0 are good for top down parsing
 u e 0 0 0 needs more than one token lookahead
 u e 0 0 0 work good with left recursion




                                       3)Ambiguity
Allows more than one meaning of one
expression
Is well suited together with predicted
parsing
It should not be avoided

More Related Content

What's hot

Scribbling Interactions with a Formal Foundation
Scribbling Interactions with a Formal FoundationScribbling Interactions with a Formal Foundation
Scribbling Interactions with a Formal Foundation
IMDS2014
 
NLP using transformers
NLP using transformers NLP using transformers
NLP using transformers
Arvind Devaraj
 
C# Common Type System & Common Language Specification
C# Common Type System & Common Language Specification C# Common Type System & Common Language Specification
C# Common Type System & Common Language Specification
Prem Kumar Badri
 
Introduction to Transformer Model
Introduction to Transformer ModelIntroduction to Transformer Model
Introduction to Transformer Model
Nuwan Sriyantha Bandara
 
Moving to neural machine translation at google - gopro-meetup
Moving to neural machine translation at google  - gopro-meetupMoving to neural machine translation at google  - gopro-meetup
Moving to neural machine translation at google - gopro-meetup
Chester Chen
 
AINL 2016: Bastrakova, Ledesma, Millan, Zighed
AINL 2016: Bastrakova, Ledesma, Millan, ZighedAINL 2016: Bastrakova, Ledesma, Millan, Zighed
AINL 2016: Bastrakova, Ledesma, Millan, Zighed
Lidia Pivovarova
 
PL Lecture 01 - preliminaries
PL Lecture 01 - preliminariesPL Lecture 01 - preliminaries
PL Lecture 01 - preliminaries
Schwannden Kuo
 
Transformer Introduction (Seminar Material)
Transformer Introduction (Seminar Material)Transformer Introduction (Seminar Material)
Transformer Introduction (Seminar Material)
Yuta Niki
 
Seq2seq Model to Tokenize the Chinese Language
Seq2seq Model to Tokenize the Chinese LanguageSeq2seq Model to Tokenize the Chinese Language
Seq2seq Model to Tokenize the Chinese Language
Jinho Choi
 
PL Lecture 02 - Binding and Scope
PL Lecture 02 - Binding and ScopePL Lecture 02 - Binding and Scope
PL Lecture 02 - Binding and Scope
Schwannden Kuo
 
What is CLS in .NET programming.
What is CLS in .NET programming.What is CLS in .NET programming.
What is CLS in .NET programming.
Questpond
 
Solidity Parsing Using SmaCC: Challenges and Irregularities
Solidity Parsing Using SmaCC: Challenges and IrregularitiesSolidity Parsing Using SmaCC: Challenges and Irregularities
Solidity Parsing Using SmaCC: Challenges and Irregularities
ESUG
 
[Paper review] BERT
[Paper review] BERT[Paper review] BERT
[Paper review] BERT
JEE HYUN PARK
 
[Question Paper] Network Security (75-25 Pattern) [November / 2014]
[Question Paper] Network Security (75-25 Pattern) [November / 2014][Question Paper] Network Security (75-25 Pattern) [November / 2014]
[Question Paper] Network Security (75-25 Pattern) [November / 2014]
Mumbai B.Sc.IT Study
 
[Question Paper] Network Security (75:25 Pattern) [November / 2014]
[Question Paper] Network Security (75:25 Pattern) [November / 2014][Question Paper] Network Security (75:25 Pattern) [November / 2014]
[Question Paper] Network Security (75:25 Pattern) [November / 2014]
Mumbai B.Sc.IT Study
 
Nlp and transformer (v3s)
Nlp and transformer (v3s)Nlp and transformer (v3s)
Nlp and transformer (v3s)
H K Yoon
 
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
BERT: Pre-training of Deep Bidirectional Transformers for Language UnderstandingBERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Minh Pham
 
Language Interaction and Quality Issues: An Exploratory Study
Language Interaction and Quality Issues: An Exploratory StudyLanguage Interaction and Quality Issues: An Exploratory Study
Language Interaction and Quality Issues: An Exploratory Study
Marco Torchiano
 
[ACL2017読み会] What do Neural Machine Translation Models Learn about Morphology?
[ACL2017読み会] What do Neural Machine Translation Models Learn about Morphology?[ACL2017読み会] What do Neural Machine Translation Models Learn about Morphology?
[ACL2017読み会] What do Neural Machine Translation Models Learn about Morphology?
Hayahide Yamagishi
 

What's hot (20)

Scribbling Interactions with a Formal Foundation
Scribbling Interactions with a Formal FoundationScribbling Interactions with a Formal Foundation
Scribbling Interactions with a Formal Foundation
 
NLP using transformers
NLP using transformers NLP using transformers
NLP using transformers
 
C# Common Type System & Common Language Specification
C# Common Type System & Common Language Specification C# Common Type System & Common Language Specification
C# Common Type System & Common Language Specification
 
Introduction to Transformer Model
Introduction to Transformer ModelIntroduction to Transformer Model
Introduction to Transformer Model
 
Moving to neural machine translation at google - gopro-meetup
Moving to neural machine translation at google  - gopro-meetupMoving to neural machine translation at google  - gopro-meetup
Moving to neural machine translation at google - gopro-meetup
 
AINL 2016: Bastrakova, Ledesma, Millan, Zighed
AINL 2016: Bastrakova, Ledesma, Millan, ZighedAINL 2016: Bastrakova, Ledesma, Millan, Zighed
AINL 2016: Bastrakova, Ledesma, Millan, Zighed
 
PL Lecture 01 - preliminaries
PL Lecture 01 - preliminariesPL Lecture 01 - preliminaries
PL Lecture 01 - preliminaries
 
Transformer Introduction (Seminar Material)
Transformer Introduction (Seminar Material)Transformer Introduction (Seminar Material)
Transformer Introduction (Seminar Material)
 
args_types
args_typesargs_types
args_types
 
Seq2seq Model to Tokenize the Chinese Language
Seq2seq Model to Tokenize the Chinese LanguageSeq2seq Model to Tokenize the Chinese Language
Seq2seq Model to Tokenize the Chinese Language
 
PL Lecture 02 - Binding and Scope
PL Lecture 02 - Binding and ScopePL Lecture 02 - Binding and Scope
PL Lecture 02 - Binding and Scope
 
What is CLS in .NET programming.
What is CLS in .NET programming.What is CLS in .NET programming.
What is CLS in .NET programming.
 
Solidity Parsing Using SmaCC: Challenges and Irregularities
Solidity Parsing Using SmaCC: Challenges and IrregularitiesSolidity Parsing Using SmaCC: Challenges and Irregularities
Solidity Parsing Using SmaCC: Challenges and Irregularities
 
[Paper review] BERT
[Paper review] BERT[Paper review] BERT
[Paper review] BERT
 
[Question Paper] Network Security (75-25 Pattern) [November / 2014]
[Question Paper] Network Security (75-25 Pattern) [November / 2014][Question Paper] Network Security (75-25 Pattern) [November / 2014]
[Question Paper] Network Security (75-25 Pattern) [November / 2014]
 
[Question Paper] Network Security (75:25 Pattern) [November / 2014]
[Question Paper] Network Security (75:25 Pattern) [November / 2014][Question Paper] Network Security (75:25 Pattern) [November / 2014]
[Question Paper] Network Security (75:25 Pattern) [November / 2014]
 
Nlp and transformer (v3s)
Nlp and transformer (v3s)Nlp and transformer (v3s)
Nlp and transformer (v3s)
 
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
BERT: Pre-training of Deep Bidirectional Transformers for Language UnderstandingBERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
 
Language Interaction and Quality Issues: An Exploratory Study
Language Interaction and Quality Issues: An Exploratory StudyLanguage Interaction and Quality Issues: An Exploratory Study
Language Interaction and Quality Issues: An Exploratory Study
 
[ACL2017読み会] What do Neural Machine Translation Models Learn about Morphology?
[ACL2017読み会] What do Neural Machine Translation Models Learn about Morphology?[ACL2017読み会] What do Neural Machine Translation Models Learn about Morphology?
[ACL2017読み会] What do Neural Machine Translation Models Learn about Morphology?
 

Viewers also liked

Slide share test
Slide share testSlide share test
Slide share testshaneral
 
Test presentation
Test presentationTest presentation
Test presentationpadraigmac
 
Brownie
BrownieBrownie
Turma
TurmaTurma
Grafico diario del s&p 500 para el 06 06 2012
Grafico diario del s&p 500 para el 06 06 2012Grafico diario del s&p 500 para el 06 06 2012
Grafico diario del s&p 500 para el 06 06 2012Experiencia Trading
 
Body changes poster pdf
Body changes poster pdfBody changes poster pdf
Body changes poster pdfgrade5a
 

Viewers also liked (13)

Gate coaching delhi
Gate coaching delhiGate coaching delhi
Gate coaching delhi
 
Urus izin import
Urus izin importUrus izin import
Urus izin import
 
Slide share test
Slide share testSlide share test
Slide share test
 
Test presentation
Test presentationTest presentation
Test presentation
 
Brownie
BrownieBrownie
Brownie
 
Mapa Río Beas
Mapa Río BeasMapa Río Beas
Mapa Río Beas
 
đơN đề nghị học thi giấy phép lái xe
đơN đề nghị học thi giấy phép lái xeđơN đề nghị học thi giấy phép lái xe
đơN đề nghị học thi giấy phép lái xe
 
Maram
MaramMaram
Maram
 
Práctica 1. circuitos
Práctica 1. circuitosPráctica 1. circuitos
Práctica 1. circuitos
 
Turma
TurmaTurma
Turma
 
Grafico diario del s&p 500 para el 06 06 2012
Grafico diario del s&p 500 para el 06 06 2012Grafico diario del s&p 500 para el 06 06 2012
Grafico diario del s&p 500 para el 06 06 2012
 
Body changes poster pdf
Body changes poster pdfBody changes poster pdf
Body changes poster pdf
 
Kh. xu ly ao nuoi ao lang
Kh. xu ly ao nuoi ao langKh. xu ly ao nuoi ao lang
Kh. xu ly ao nuoi ao lang
 

Similar to Questions

Top 40 C Programming Interview Questions
Top 40 C Programming Interview QuestionsTop 40 C Programming Interview Questions
Top 40 C Programming Interview Questions
Simplilearn
 
Trans coder
Trans coderTrans coder
Trans coder
PriyaM781673
 
고급컴파일러구성론_개레_230303.pptx
고급컴파일러구성론_개레_230303.pptx고급컴파일러구성론_개레_230303.pptx
고급컴파일러구성론_개레_230303.pptx
ssuser1e7611
 
"Source Code Abstracts Classification Using CNN", Vadim Markovtsev, Lead Soft...
"Source Code Abstracts Classification Using CNN", Vadim Markovtsev, Lead Soft..."Source Code Abstracts Classification Using CNN", Vadim Markovtsev, Lead Soft...
"Source Code Abstracts Classification Using CNN", Vadim Markovtsev, Lead Soft...
Dataconomy Media
 
Elixir Brasil 2019 - Quality: A Panacéia para seu código Elixir
Elixir Brasil 2019 - Quality:  A Panacéia para seu código ElixirElixir Brasil 2019 - Quality:  A Panacéia para seu código Elixir
Elixir Brasil 2019 - Quality: A Panacéia para seu código Elixir
Weverton Timoteo
 
A Comparative Study on Schema-guided Dialog State Tracking
A Comparative Study on Schema-guided Dialog State TrackingA Comparative Study on Schema-guided Dialog State Tracking
A Comparative Study on Schema-guided Dialog State Tracking
jie cao
 
Principles of compiler design
Principles of compiler designPrinciples of compiler design
Principles of compiler design
DHARANI BABU
 
java theory and coding topic power point presentation.pptx
java theory and coding topic power point presentation.pptxjava theory and coding topic power point presentation.pptx
java theory and coding topic power point presentation.pptx
kypawar2127
 
C++ Made simple .pptx
C++ Made simple .pptxC++ Made simple .pptx
C++ Made simple .pptx
Mohamed Essam
 
Large Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLarge Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and Repair
Lionel Briand
 
Advanced computer architecture
Advanced computer architectureAdvanced computer architecture
Advanced computer architecturevamsi krishna
 
1-Phases of compiler-26-04-2023.pptx
1-Phases of compiler-26-04-2023.pptx1-Phases of compiler-26-04-2023.pptx
1-Phases of compiler-26-04-2023.pptx
venkatapranaykumarGa
 
Lecture 1 introduction to language processors
Lecture 1  introduction to language processorsLecture 1  introduction to language processors
Lecture 1 introduction to language processors
Rebaz Najeeb
 
Data Type in C Programming
Data Type in C ProgrammingData Type in C Programming
Data Type in C Programming
Qazi Shahzad Ali
 
Lifting variability from C to mbeddr-C
Lifting variability from C to mbeddr-CLifting variability from C to mbeddr-C
Lifting variability from C to mbeddr-C
Federico Tomassetti
 
Дмитрий Копляров , Потокобезопасные сигналы в C++
Дмитрий Копляров , Потокобезопасные сигналы в C++Дмитрий Копляров , Потокобезопасные сигналы в C++
Дмитрий Копляров , Потокобезопасные сигналы в C++
Sergey Platonov
 
Dineshmaterial1 091225091539-phpapp02
Dineshmaterial1 091225091539-phpapp02Dineshmaterial1 091225091539-phpapp02
Dineshmaterial1 091225091539-phpapp02
Tirumala Rao
 
Lowcode: Extending Smalltalk with C Types to Improve Performance
Lowcode: Extending Smalltalk with C Types to Improve PerformanceLowcode: Extending Smalltalk with C Types to Improve Performance
Lowcode: Extending Smalltalk with C Types to Improve Performance
ESUG
 

Similar to Questions (20)

Top 40 C Programming Interview Questions
Top 40 C Programming Interview QuestionsTop 40 C Programming Interview Questions
Top 40 C Programming Interview Questions
 
Trans coder
Trans coderTrans coder
Trans coder
 
고급컴파일러구성론_개레_230303.pptx
고급컴파일러구성론_개레_230303.pptx고급컴파일러구성론_개레_230303.pptx
고급컴파일러구성론_개레_230303.pptx
 
"Source Code Abstracts Classification Using CNN", Vadim Markovtsev, Lead Soft...
"Source Code Abstracts Classification Using CNN", Vadim Markovtsev, Lead Soft..."Source Code Abstracts Classification Using CNN", Vadim Markovtsev, Lead Soft...
"Source Code Abstracts Classification Using CNN", Vadim Markovtsev, Lead Soft...
 
Elixir Brasil 2019 - Quality: A Panacéia para seu código Elixir
Elixir Brasil 2019 - Quality:  A Panacéia para seu código ElixirElixir Brasil 2019 - Quality:  A Panacéia para seu código Elixir
Elixir Brasil 2019 - Quality: A Panacéia para seu código Elixir
 
A Comparative Study on Schema-guided Dialog State Tracking
A Comparative Study on Schema-guided Dialog State TrackingA Comparative Study on Schema-guided Dialog State Tracking
A Comparative Study on Schema-guided Dialog State Tracking
 
Principles of compiler design
Principles of compiler designPrinciples of compiler design
Principles of compiler design
 
java theory and coding topic power point presentation.pptx
java theory and coding topic power point presentation.pptxjava theory and coding topic power point presentation.pptx
java theory and coding topic power point presentation.pptx
 
C++ Made simple .pptx
C++ Made simple .pptxC++ Made simple .pptx
C++ Made simple .pptx
 
Large Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLarge Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and Repair
 
Network programming
Network programmingNetwork programming
Network programming
 
Advanced computer architecture
Advanced computer architectureAdvanced computer architecture
Advanced computer architecture
 
1-Phases of compiler-26-04-2023.pptx
1-Phases of compiler-26-04-2023.pptx1-Phases of compiler-26-04-2023.pptx
1-Phases of compiler-26-04-2023.pptx
 
Lecture 1 introduction to language processors
Lecture 1  introduction to language processorsLecture 1  introduction to language processors
Lecture 1 introduction to language processors
 
LANGUAGE TRANSLATOR
LANGUAGE TRANSLATORLANGUAGE TRANSLATOR
LANGUAGE TRANSLATOR
 
Data Type in C Programming
Data Type in C ProgrammingData Type in C Programming
Data Type in C Programming
 
Lifting variability from C to mbeddr-C
Lifting variability from C to mbeddr-CLifting variability from C to mbeddr-C
Lifting variability from C to mbeddr-C
 
Дмитрий Копляров , Потокобезопасные сигналы в C++
Дмитрий Копляров , Потокобезопасные сигналы в C++Дмитрий Копляров , Потокобезопасные сигналы в C++
Дмитрий Копляров , Потокобезопасные сигналы в C++
 
Dineshmaterial1 091225091539-phpapp02
Dineshmaterial1 091225091539-phpapp02Dineshmaterial1 091225091539-phpapp02
Dineshmaterial1 091225091539-phpapp02
 
Lowcode: Extending Smalltalk with C Types to Improve Performance
Lowcode: Extending Smalltalk with C Types to Improve PerformanceLowcode: Extending Smalltalk with C Types to Improve Performance
Lowcode: Extending Smalltalk with C Types to Improve Performance
 

Questions

  • 1. 2 Marks Questions Q. In two pass assembler what is the objective of First Pass? Q. Brief note on Parser Generator Q. What is mean by Semantic Actions? 3 Marks Questions Q. What is mean by Intermediate Code? Q. What is Relocation? 5 Marks Questions vuzs Q. What are the components of CFG Q. Aik question Ambiguous Grimmer ka tha.
  • 2. 8)The attribute of a number token contains Its type Its value Its variable 9)<num, 31> u e 0 0 0 is a token without attribute. u e 0 0 0 is a token with one attribute. Is a token with two attributes. 2)Compiler Construction concerns about: u e 0 0 0 Design of programming languages u e 0 0 0 Design of translator systems for language u e 0 0 0 Building converter for programs 3) LL1 languages: u e 0 0 0 are good for top down parsing u e 0 0 0 needs more than one token lookahead u e 0 0 0 work good with left recursion 3)Ambiguity Allows more than one meaning of one expression Is well suited together with predicted parsing It should not be avoided