
PL Chapter 03 04

Quiz
•
Computers
•
University
•
Hard

Murat Ak
Used 3+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Android

Quiz
•
University
10 questions
TSSR - S14 - Journalisation et supervision

Quiz
•
University
10 questions
SketchUp Reading

Quiz
•
KG - University
13 questions
Guess the Video Game Character 1

Quiz
•
KG - Professional Dev...
12 questions
Computer Ethics

Quiz
•
7th Grade - Professio...
15 questions
FLA (UNIT-1) QUIZ

Quiz
•
University
15 questions
Web Application Security Quiz

Quiz
•
University
10 questions
Compiler Design

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University