What data structure in a compiler is used for managing information about variables and their attributes?

Syntax Directed Definition

Quiz
•
Computers
•
University
•
Hard
Twins TR
Used 19+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Abstract syntax tree
Symbol table
Semantic stack
Parse table
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What value does the variable a have after ALL of the code above executes?
int a;
int b;
a=1;
b=a++;
1
2
3
None
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In a syntax directed translation scheme, if value of an attribute of a node is a function of the values of the attributes of its children, then it is called
synthesized attribute
inherited attribute
canonical attribute
None of the above
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Inherited attribute is a natural choice in
keeping track of variable declaration
checking for the correct use of L-values and R-values
both (a) and (b)
None of these
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Syntax directed translation scheme is desirable because
it is based on the syntax
its description is independent of any implementation
it is easy to modify
all of these
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which is not true about syntax and semantic parts of a computer language?
Syntax is generally checked by the programmer.
Semantics is the responsibility of the programmer
Semantics is checked mechanically by a computer.
Both (b) and (c)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Type checking is normally done during
lexical analysis
syntax analysis
syntax directed translation
code optimization
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Knowledge representations

Quiz
•
University
15 questions
HTML

Quiz
•
University - Professi...
10 questions
Database | Entity Relationship Model

Quiz
•
University
11 questions
RDBMS

Quiz
•
University
15 questions
JavaScript Basics

Quiz
•
12th Grade - University
15 questions
E-R Modeling

Quiz
•
University
15 questions
DBC_CHAPTER 4

Quiz
•
University
12 questions
Compiler Design -Lexical analysis and Syntax analysis

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade