Compilers Questions and Answers – L-Attributed Definition – 2

This set of Compilers Multiple Choice Questions & Answers (MCQs) focuses on “L-Attributed Definition – 2”. 1. The grammar A ->AA |( A)| ε is not suitable for predictive-parsing because the grammar is ___________ a) Ambiguous b) Left-recursive c) Right-recursive d) An operator-grammar 2. Consider the grammar. E -> E + n | E # … Read more

advertisement

Compilers Questions and Answers – L-Attributed Definition – 1

This set of Compilers Multiple Choice Questions & Answers (MCQs) focuses on “L-Attributed Definition – 1”. 1. Dynamic linking can cause security concerns because ______________ a) Security is dynamic b) None of the mentioned c) Security is dynamic & Cryptographic procedures are not available for dynamic linking d) Cryptographic procedures are not available for dynamic … Read more

advertisement

Compilers Questions and Answers – Implementation of the Translation Specified by Syntax-Directed Definitions – 2

This set of Compilers Question Bank focuses on “Implementation of the Translation Specified by Syntax – Directed Definitions and Translations – 2”. 1. A non relocatable program is the one which? a) Cannot execute in any area of storage other than the one designated b) Consists of a program and information for its relocation c) … Read more

advertisement

Compilers Questions and Answers – Implementation of the Translation Specified by Syntax-Directed Definitions – 1

This set of Compilers Multiple Choice Questions & Answers (MCQs) focuses on “Implementation of the Translation Specified by Syntax-Directed Definitions – 1″. 1. Which is not true about syntax and semantic parts of a computer language? a) Semantics is checked mechanically by a computer b) Semantics is the responsibility of the programmer c) All of … Read more

advertisement

Compilers Questions and Answers – Syntax-Directed Definitions and Translations – 2

This set of Compilers Multiple Choice Questions & Answers (MCQs) focuses on “Syntax Directed Definition & Translations Questions and Answers – Sanfoundry “. 1. The segment base is specified using the register named is? a) ORG instructions b) TITLE instruction c) ASSUME instruction d) SEGMENT instruction 2. In what module multiple instances of execution will … Read more

advertisement

Compilers Questions and Answers – Syntax-Directed Definitions and Translations – 1

This set of Compilers Multiple Choice Questions & Answers (MCQs) focuses on “Syntax-Directed Definitions and Translations – 1”. 1. In a single pass assembler, most of the forward references can be avoided by putting the restriction ___________ a) On the number of strings/life reacts b) Code segment to be defined after data segment c) On … Read more

advertisement

Compilers Questions and Answers – Data Structure for Representing Parsing Table – 2

This set of Compilers online quiz focuses on “Data Structure for Representing Parsing Table – 2”. 1. In operator precedence parsing whose precedence relations are defined _________ a) For all pair of non-terminals b) For all pair of terminals c) To delimit the handle d) None of the mentioned 2. LR parsers are attractive because … Read more

advertisement

Compilers Questions and Answers – Data Structure for Representing Parsing Table – 1

This set of Compilers Multiple Choice Questions & Answers (MCQs) focuses on “Data Structure for Representing Parsing Table – 1”. 1. Compiler can diagnose __________ a) Grammatical errors only b) Logical errors only c) Grammatical and logical errors d) None of the mentioned 2. A simple two-pass assembler does which of the following in the … Read more

advertisement

Compilers Questions and Answers – LR Parser – 2

This set of Compilers Multiple Choice Questions & Answers (MCQs) focuses on “LR Parser – 2”. 1. What is terminal table? a) Contains all constants in the program b) Is a permanent table of decision rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure c) Consist of … Read more

advertisement

Compilers Questions and Answers – LR Parser – 1

This set of Compilers Multiple Choice Questions & Answers (MCQs) focuses on “LR Parser – 1”. 1. Which of these is also known as look-head LR parser? a) SLR b) LR c) LLR d) None of the mentioned 2. What is the similarity between LR, LALR and SLR? a) Use same algorithm, but different parsing … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.