Midterm past paper
CS606 Midterm Solved MCQs by Junaid
PDF 1.3 MB
vubuddy.com
- Type
- Midterm past paper
- Course
- CS606 Compiler Construction
- Size
- PDF 1.3 MB
- Updated
- 23 Oct 2026
Free download
0 of 3 used today
You get 3 free files a day on the website. Add the Chrome extension for 30 a day.
Preview text
Text from pages 2, 3, 4 of 51. Download the file for all 51 pages.
Q1. LL(1) parsing is called ___________________ parsing.
Predictive
- Non-predictive
- Post-predictive
- Post determine
Q2. One kind of predictive parser is the ______________________.
Recursive descent parses
- Bottom-up parser
- Natural parser
- Multilingual parser
Q3. Front-end of a two pass compiler consists of ____________________.
- Code optimizer
Scanner
- Parser
- Assembler
Q4. The algorithm for _____________________ conversion is called Thompson’s Construction.
- DFA to RE
RE to DFA
- RE to NFA
- CFG to NFA
Q5. ________ convert the relocatable machine into absolute machine code by linking library and relocatable object files.
- Assembler
Loader/link editor
- Compiler
- Preprocessor
Q6. The __________________ parser uses a stack to hold the frontier.
- Top-down
Bottom-up
- Predicative
- LL(1) parsers
Q7. ______________ is the process of discovering a derivation for some sentence of a language.
- Compiling
- Scanning
Parsing
- Interpretation
Q8. A ______________ accepts a string if we can follow transitions labeled with characters in the string from start state to some accepting state.
- Regular expression
- Regular language
- Acceptor
Q9. The general idea behind NFA-to-DFA construction is that each _______ state corresponds to a set of _______ states.
DFA, NFA
- NFA, DFA
- NFA, FA
- CFG, NFA
Q10. Optimal registers allocation is ____________ problem.
- NP-hard
- Polynomial complete
- Multinomial complete
Q11. Majority of the algorithms employed in the back-end are
- Polynomial time
- Np
- None of the given
Q12. In predictive parsing table, the rows are _______________________.
Non-terminals
- Terminals
- Both non-terminals and terminals
- Neither non-terminals nor terminals
Related CS606 files
All CS606 files →- CS606 Midterm Solved MCQs Set 2 by Junaid Midterm PDF 1.2 MB
- CS606 Midterm Solved File 2 by Team Hadi Midterm PDF 4.1 MB
- CS606 Midterm Past Papers Set 2 by Junaid Midterm PDF 1.5 MB
- CS606 Final Term Highlighted Handouts Lectures 19-45 by Masters Highlighted PDF 1.4 MB
- CS606 Short Notes Lecture 14 Quiz PDF 35 KB
- CS606 Final Term Solved Quizzes and MCQs with References Final term PDF 117 KB
Get more out of VUBuddy, for free
Android app
Free on Google Play
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
Chrome extension
Free on the Chrome Web Store
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.