📜  门| GATE-CS-2015(套装2)|问题 29

📅  最后修改于: 2021-09-25 06:56:51             🧑  作者: Mango

和以下相符:

List-I                  List-II
A. Lexical analysis       1. Graph coloring
B. Parsing                2. DFA minimization
C. Register allocation    3. Post-order traversal
D. Expression evaluation  4. Production tree
Codes:
    A B C D
(a) 2 3 1 4
(b) 2 1 4 3
(c) 2 4 1 3
(d) 2 3 4 1

(一)
(乙)
(C) c
(D) d答案: (C)
解释:

Register allocation is a variation of Graph Coloring problem.

Lexical Analysis uses DFA.

Parsing makes production tree

Expression evaluation is done using tree traversal 

这个问题的测验