adplus-dvertising

Welcome to the Syntax Directed Definition and Translations MCQs Page

Dive deep into the fascinating world of Syntax Directed Definition and Translations with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of Syntax Directed Definition and Translations, a crucial aspect of Compiler Design. In this section, you will encounter a diverse range of MCQs that cover various aspects of Syntax Directed Definition and Translations, from the basic principles to advanced topics. Each question is thoughtfully crafted to challenge your knowledge and deepen your understanding of this critical subcategory within Compiler Design.

frame-decoration

Check out the MCQs below to embark on an enriching journey through Syntax Directed Definition and Translations. Test your knowledge, expand your horizons, and solidify your grasp on this vital area of Compiler Design.

Note: Each MCQ comes with multiple answer choices. Select the most appropriate option and test your understanding of Syntax Directed Definition and Translations. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

Syntax Directed Definition and Translations MCQs | Page 6 of 12

Q51.
Given the language L-{ab, aa, baa}, which of the following strings are in LG?
1) abaabaaabaa

2) aaaabaaaa

3) baaaaabaaaab

4) baaaaabaa
Discuss
Answer: (c).1,2 and 4
Discuss
Answer: (d).All of the mentioned
Q53.
The lexical analyzer takes _________as input and produces a stream of _______as output.
Discuss
Answer: (a).Source program, tokens
Discuss
Answer: (d).Both
Discuss
Answer: (c).Set of tokens
Q56.
In a two pass assembler, adding literals to literal table and address resolution of local symbols are done using
Discuss
Answer: (d).Both first pass
Q57.
In Two pass assembler the object code generation is done during the
Discuss
Answer: (a).Second pass
Q58.
Which of the following type of software should be used if you need to create, edit and print document?
Discuss
Answer: (a).Word processing
Q59.
Output file of the Lex is _________ is the input file is Sam.
Discuss
Answer: (b).sam.yy.c
Q60.
Yacc is available as a command on the
Discuss
Answer: (b).UNIX
Page 6 of 12

Suggested Topics

Are you eager to expand your knowledge beyond Compiler Design? We've curated a selection of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!