Computer Science - Language Processors

Exercise : Language Processors - Section 2
1.
Convert the CHARI h#000F, s assembly language instructions into hexadecimal machine language:
0111EF
9001E6
DA000F
40
Answer: Option
Explanation:
No answer description is available. Let's discuss.

2.
The table created by lexical analysis to describe all literals used in the source program, is:
Terminal table
Literal table
Identifier table
Reductions
Answer: Option
Explanation:
No answer description is available. Let's discuss.

3.
Advantage(s) of using assembly language rather than machine language is/are:
It is mnemonic and easy to read
Addresses any symbolic, not absolute
Introduction of data to program is easier
All of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

4.
The action of parsing the source program into the proper syntactic classes is known as
syntax analysis
lexical analysis
interpretation analysis
general syntax analysis
Answer: Option
Explanation:
No answer description is available. Let's discuss.

5.
The task(s) of the Lexial analysis phase is/are:
to parse the source program into the basic elements or tokens of the language
to build a literal table and an identifier table
to build a uniform symbol table
All of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.