
Compiler Design unit 1 Quiz

Quiz
•
Engineering
•
University
•
Hard
Kalpana Gilda
Used 1+ times
FREE Resource
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
Similar Resources on Wayground
25 questions
End Of 9 Weeks Study Guide (Spring)

Quiz
•
11th Grade - University
25 questions
D29 CHECK YOUR LEVEL

Quiz
•
University
20 questions
12SEN Software Automation terms

Quiz
•
12th Grade - University
23 questions
QUIZ

Quiz
•
University
15 questions
Grafana & Friends Meetup

Quiz
•
University
21 questions
AI quiz 4

Quiz
•
University
20 questions
NEXUS'25

Quiz
•
University
20 questions
EP Capacitor Sizing Quiz

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade