Match List-I with List-II :
|
LIST - I
|
LIST - II
|
|
A.
|
A → aB ∣ a, a ∈ T, A, B ∈ V.
|
I.
|
Recursive Descent Parser
|
|
B.
|
A → BC ∣ a, a ∈ T, A, B, C ∈ V
|
II.
|
Turing Machine
|
|
C.
|
LL (1) grammar
|
III.
|
Choamsky Normal Form
|
|
D.
|
Halting problem
|
IV.
|
Finite Automate
|
Choose the correct answer from the options given below :
1.A - IV, B - III, C - I, D - II ✓ Correct
2.A - III, B - I, C - II, D - IV
3.A - II, B - IV, C - III, D - I
4.A - IV, B - III, C - II, D - I
Solution
The correct answer is A - IV, B - III, C - I, D - II
Key Points
- A. A → aB ∣ a, a ∈ T, A, B ∈ V.
- This represents a rule in a context-free grammar where A can be replaced by either 'aB' or 'a'.
- This type of rule is suitable for Finite Automata.
- Correct match: IV. Finite Automate
- B. A → BC ∣ a, a ∈ T, A, B, C ∈ V
- This represents a rule in a context-free grammar where A can be replaced by 'BC' or 'a'.
- This type of rule is suitable for Chomsky Normal Form.
- Correct match: III. Chomsky Normal Form
- C. LL (1) grammar
- LL(1) grammar is a type of context-free grammar that can be parsed by a recursive descent parser.
- Correct match: I. Recursive Descent Parser
- D. Halting problem
- The Halting problem is a decision problem about whether a given program will finish running or continue to run forever.
- This problem is associated with Turing Machines.
- Correct match: II. Turing Machine
Therefore, the correct answer is: A - IV, B - III, C - I, D - II