
Compiler Design unit 1 Quiz
Quiz
•
Engineering
•
University
•
Practice Problem
•
Hard
Kalpana Gilda
Used 1+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Match all items in Group 1 with correct options from those given in Group 2.
P-4. Q-1, R-2, S-3
P-3, Q-1, R-4, S-2
P-3, Q-4, R-1, S-2
P-2, Q-1, R-4, S-3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure in a compiler is used for managing information about variables and their attributes?
Abstract syntax tree
Symbol table
Semantic stack
Parse table
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a compiler, keywords of a language are recognized during
parsing of the program
the code generation
the lexical analysis of the program
dataflow analysis
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of the following languages over the alphabet {0,1} is described by the regular expression: (0+1)*0(0+1)*0(0+1)*?
The set of all strings containing the substring 00.
The set of all strings containing at most two 0's.
The set of all strings containing at least two 0's.
The set of all strings that begin and end with either 0 or1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
S ->aSa| bSb| a| b ;The language generated by the above grammar over the alphabet {a,b} is the set of
All palindromes
All odd length palindromes
Strings that begin and end with the same symbol
All even length palindromes
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The lexical analysis for a modern computer language such as Java needs the power of which one of the following machine models in a necessary and sufficient sense?
Finite state automata
Deterministic pushdown automata
Non-Deterministic pushdown automata
Turing machine
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not performed during compilation?
Dynamic memory allocation
Type checking
Symbol table management
inline expression
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Data Visualization CT-5
Quiz
•
University
20 questions
Workshop Safety
Quiz
•
University
18 questions
PIM 1-2
Quiz
•
University
20 questions
Manufacturing Technology Quiz
Quiz
•
11th Grade - University
16 questions
ARM Cortex-M4 Microcontroller Quiz
Quiz
•
University
20 questions
Computer Networks CT-4
Quiz
•
University
20 questions
Engineering Design Process
Quiz
•
10th Grade - University
20 questions
C++ OOPs Concepts & Inheritance Quiz
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Engineering
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
