Operating Systems Concepts

Q1: In analyzing the compilation of PL/I program, the term "Lexical analysis" is associated with

A recognition of basic syntactic constructs through reductions.

B recognition of basic elements and creation of uniform symbols

C creation of more optional matrix.

D use of macro processor to produce more optimal assembly code

E None of the above

ANS:B - recognition of basic elements and creation of uniform symbols

The lexical analyzer is the first phase of compiler. Its main task is to read the input characters and produces output a sequence of tokens that the parser uses for syntax analysis.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.