
SA3 PL
Authored by Eimee Marzan
Computers
University
Used 24+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
136 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In context grammar is a special form of context-free are appended to one or
more of its non-terminals in order to provide context-sensitive information.
TRUE
FALSE
Answer explanation
attribute grammar
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In creating a program, the basis for logical decision is called Selection.
TRUE
FALSE
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Example: E -> E + T { E.value = E.value + T.value }
The right part of the CFG contains the semantic rules that specify how the
grammar should be interpreted.
TRUE
FALSE
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The semantics help interpret symbols, their types, and their relations with
each other.
TRUE
FALSE
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The term ________________ help interpret symbols, their types, and their relations with each other.
NONE OF THE ABOVE
SEMANTICS
SYNTACTIC
LEXICAL
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The Semantics of a language provide meaning to its constructs, like tokens
and syntax structure.
TRUE
FALSE
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If an SDT uses only synthesized attributes, it is called as S-attributed SDT.
TRUE
FALSE
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?