Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Only a subset of regular expressions can be translated to a deterministic finite

ID: 3578076 • Letter: O

Question

Only a subset of regular expressions can be translated to a deterministic finite automaton (DFA) that recognizes them. Lexical analysis occupies only a negligible fraction of total runtime in a compiler. There is no possibility of ambiguity in a left-recursive grammar. A program conforming to a context free grammar can be recognized by either a non-deterministic finite automaton (NFA) or a DFA. Types can be and only need to be represented as a tree in a C compiler. Any program that parses correctly should be accepted by a compiler, which should proceed to carry out code generation. An abstract syntax tree is suitable form of data structure for code optimization in a multilingual compiler. Any regular expression can be recognized by a program generated by YACC or BISON. Symbol tables are used in lexical analysis. A basic block is a collection of any instructions convenient for program analysis.

Explanation / Answer

t only the subset of regular expression

f in lexial analysis expression is not the negligiable fraction of total runtime

t there is a possible of amoiguity in a left recursive grammer

f a program conforming to a contexst free grammar cant be recognized

f type cant be made by as tree in a c compailer

f any program taht not parses correctly should be accepted by a compiler

t an abstract syntax tree is suitated

t regular expersions can be recognized by a program generated by yacc

t symbol rate are used for lexial analysis

t a basic block is a collection of any instruction conveninent for program