
PL Chapter 03 04
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Murat Ak
Used 3+ times
FREE Resource
Enhance your content in a minute
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the lowest-level syntactic unit of a language, i.e. most basic units that you can see in a source code?
Sentence
Language
Lexeme
Token
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Is a context-free grammar (CFG) a recognizer or a generator?
Recognizer
Generator
Both
None
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
If we can generate two different parse trees for the same sentence, it means the language is:
a context-free language
in BNF form
ambiguous
infinite
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In a language when we say x=4.56 x becomes a double automatically. So, the type here is a ... attribute.
synthesized
inherited
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = b + 3 {a > 1}
what is the weakest precondition for this statement?
b>-2
b>2
b<-2
b<2
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which are the most common top-down parsing algorithms?
Recursive descent
LR parsers
LL parsers
RR parsers
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is this?
Recursive descent parsing table
LL parsing table
LR parsing table
RR parsing table
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?
Similar Resources on Wayground
10 questions
SketchUp Reading
Quiz
•
KG - University
18 questions
Cloud Metrics Quiz
Quiz
•
University
13 questions
Revisão de Compiladores U1 e U2
Quiz
•
University
10 questions
Install Software Applications
Quiz
•
University
12 questions
Computer Ethics
Quiz
•
7th Grade - Professio...
13 questions
Guess the Video Game Character 1
Quiz
•
KG - Professional Dev...
10 questions
Android
Quiz
•
University
10 questions
TSSR - S14 - Journalisation et supervision
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
