adplus-dvertising
frame-decoration

Question

Which of the following is used for grouping of characters into tokens (in a computer)?

a.

A parser

b.

Code optimizer

c.

Code generator

d.

Scanner

Answer: (d).Scanner

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following is used for grouping of characters into tokens (in a computer)?

Similar Questions

Discover Related MCQs

Q. P: “Program is a step by step execution of the instructions”. Given P, which of the following is true?

Q. In a MIU puzzle, either of the letters M, I or U could go as a start symbol. Production rules are given
below :

R1 : U→IU
R2 : M.x→M.x.x where ːˑ is string concatenation operator. Given this, which of the following holds for

(i) MIUIUIUIUIU
(ii) MIUIUIUIUIUIUIUIU

Q. Recursive functions are executed in a

Q. In an absolute loading scheme which loader function is accomplished by assembler?

Q. A shift-reduce parser carries out the actions specified within braces immediately after reducing with the corresponding rule of the grammar.

S -> xxW[print“1”]
S -> y[print“2”]
W -> S2[print“3”], what is the translation of “x x x x y z z”?

Q. Synthesized attribute can be easily simulated by a

Q. There exists a construct which returns a value ‘true’ if the argument subquery is:

Q. The linker:

Q. A compiler that runs on one machine and produces code for a different machine is called:

Q. Any syntactic construct that can be described by a regular expression can also be described by a:

Q. When a language has the capability to produce new data types, it is said to be:

Q. An assembly program contains:

Q. Which of the following are Assembler Directives?

(i) EQU
(ii) ORIGIN
(iii) START
(iv) END

Q. Assembler program is:

Q. At the end of parsing,

Q. Dead-code elimination in machine code optimization refers to:

Q. A parse tree is an annotated parse tree if:

Q. In a two pass compiler, during the first pass:

Q. A single instruction in an assembly language program contains:

Q. Absolute loader demands that the programmer needs to know the: