Lakshya Education MCQs

Question: The task(s) of the Lexial analysis phase is/are:
Options: parse the source program into the basic elements or tokens of the language build a literal table and an identifier table build a uniform symbol table
D.All of the above
Answer: Option D

Submit Answer & Explaination

Earn Reward Points by submitting Detailed Explaination for this Question

More Questions on This Topic :

Question 1. The action of parsing the source program into the proper syntactic classes is known as
  1.    syntax analysis
  2.    lexical analysis
  3.    interpretation analysis
  4.    general syntax analysis
Answer: Option B
Question 2. A relocate program form is the one which
  1.    cannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation
  2.    consists of a program and relevant information for its relocation
  3.    can itself perform the relocation of its address-sensitive portions
  4.    All of the above
Answer: Option D
Question 3. In which way(s) can a macro processor for assembly language be implemented?
  1.    independent two-pass processor
  2.    independent one-pass processor
  3.    processor incorporated into pass of a standard two-pass assembler
  4.    All of the above
Answer: Option D
Question 4. Advantage(s) of using assembly language rather than machine language is/are:
  1.    It is mnemonic and easy to read
  2.    Addresses any symbolic, not absolute
  3.    Introduction of data to program is easier
  4.    All of the above
Answer: Option D
Question 5. The table created by lexical analysis to describe all literals used in the source program, is:
  1.    Terminal table
  2.    Literal table
  3.    Identifier table
  4.    Reductions
Answer: Option B
Question 6. Convert the CHARI h#000F, s assembly language instructions into hexadecimal machine language:
  1.    0111EF
  2.    9.00E+09
  3.    DA000F
  4.    40
Answer: Option C

Check all Questions in this Topic : Click HERE