Compiler Design Unit 4 – Symbol Tables, Run-Time Administration and Error Recovery: AKTU previous year questions
12 AKTU questions from Unit 4 (Symbol Tables, Run-Time Administration and Error Recovery) asked in 2024–2026, tagged by marks, year and topic. In short: about 25 marks of every paper come from this unit; the most asked topic is Error Detection and Recovery (15 times); 3 questions came back in a later year. The latest ones are listed below; on the page you can filter them by 2-mark or long questions, topic and repeats.
Unit 4 previous year questions
- List various error recovery strategies for a lexical analysis. (2 marks, 2026, Error Detection and Recovery)
- Explain symbol table organization and discuss different data structures used for symbol tables. (7 marks, 2026, Data Structures for Symbol Tables)
- Discuss various error recovery techniques used in compiler design. (7 marks, 2026, Error Detection and Recovery)
- Explain the role of a hash table in implementing a symbol table. (2 marks, 2025, Data Structures for Symbol Tables)
- Analyze the role of symbol tables in different phases of compilation. How does symbol table interact with lexical, syntax, and semantic analyzers? (7 marks, 2025, Data Structures for Symbol Tables)
- Semantic errors are often difficult to detect. Explain different types of semantic errors with examples and how a compiler detects them during semantic analysis. (7 marks, 2025, Error Detection and Recovery)
- Give a classification of various errors and discuss each class of errors with examples. (7 marks, 2025, Error Detection and Recovery)
- Discuss how scope information is represented in a symbol table. (2 marks, 2024, Representing Scope Information)
- Compare between static and dynamic scope rule. (2 marks, 2024, Representing Scope Information)
- Write the short note of Activation Record with their fields. (2 marks, 2024, Implementation of Simple Stack Allocation Scheme)
- What is mean by Activation record? (2 marks, 2024, Implementation of Simple Stack Allocation Scheme)
- Explore the various data structures used for the symbol table construction. (10 marks, 2024, Data Structures for Symbol Tables)
Most asked Unit 4 topics
- Error Detection and Recovery – asked 15 times
- Data Structures for Symbol Tables – asked 14 times
- Implementation of Simple Stack Allocation Scheme – asked 9 times
Unit 4 question pattern
- 2-mark questions: 6 asked in 2024–2026
- 7-mark questions: 5 asked in 2024–2026
- 10-mark questions: 1 asked in 2024–2026
- About 25 marks from Unit 4 in every paper
- 3 questions were asked again in a later year
Unit 4 questions year by year
- 2026: 3 Unit 4 questions asked (16 marks across that year's papers)
- 2025: 4 Unit 4 questions asked (23 marks across that year's papers)
- 2024: 5 Unit 4 questions asked (18 marks across that year's papers)