Discussion
Match each recovery technique with its characteristic action.
List I
A. panic mode
B. phrase level
C. error productions
D. global correction
List II
1. recognise an anticipated mistake
2. skip tokens to a synchronising point
3. find the minimal repair to the input
4. insert or delete a symbol locally
Answer: B
Correct answer: A-2, B-4, C-1, D-3
Four strategies of increasing ambition. Panic mode discards tokens until it reaches a synchronising symbol such as a semicolon. Phrase level recovery makes a local repair, inserting or deleting a single symbol. Error productions build the anticipated mistake into the grammar so it can be recognised and reported precisely. And global correction seeks the smallest set of changes making the input legal - theoretically attractive and too costly to use.
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development