CS606 MCQs JUNAID-1.pdf

Verified academic study resource for CS606 (Compiler Design & Construction) under the Computer Science at Virtual University of Pakistan. This PDF document (Mega Solved MCQs Question Bank) covers Full Course Curriculum spanning approximately 180 pages across 8 curriculum modules, and is indexed for student examination review with instant in-browser preview and 100% free direct download.

Course
CS606 – Compiler Design & Construction
Faculty
Computer Science
Format
PDF
Type
MCQ Bank
Coverage
Full Course Curriculum
Tags
MCQ

Cross-verify solutions against official lecture handouts. Practice active recall before checking answers to ensure true concept retention.

What this file covers — CS606 syllabus roadmap

  1. Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
  2. Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
  3. Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
  4. Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
  5. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  6. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  7. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  8. Final-Term Examination Dossier & Capstone Synthesis — Lectures 42 to 45 (Pages 511 to 585). Final-Term Exam Synthesis (Lectures 23–45 Scope)

Frequently asked questions

Where can I download CS606 MCQs JUNAID-1.pdf for free?

You can preview and download "CS606 MCQs JUNAID-1.pdf" (CS606 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs606-mcqs-junaid-1-pdf) with 100% free high-speed downloads and zero registration requirements.

What syllabus chapters and lectures are covered in this CS606 file?

This document covers Full Course Curriculum across 8 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22, Lectures 23 to 29, Lectures 30 to 36, Lectures 37 to 41, Lectures 42 to 45), featuring comprehensive definitions, solved objective questions, and examiner marking rubrics.

What is the passing criteria for CS606 under the VU 20% Two-Half Rule?

Under official Virtual University regulations, students must score at least 20% in the First Half (Quizzes, Assignments, GDBs, and Midterm combined) AND independently at least 20% in the Final-Term examination paper. Scoring under 20% in the final exam results in an automatic F grade regardless of earlier marks.

Are CS606 solved past papers and handouts verified for 2026 exams?

Yes. All CS606 materials on MIHORA VU—including Moaaz, Waqar Siddhu, and team archives—are reviewed against the current VU syllabus to help students prepare for 2026 Midterm, Final-Term, and online quiz examinations.

Inside this file

                            CS606-Compiler
                             Construction
                             (Solved Macq’s)
                          LECTURE FROM
                             (23 to 45)
Junaidfazal08@gmail.com     FOR MORE VISIT     JUNAID MALIK
Bc190202640@vu.edu.pk
                           VULMSHELP.COME       0304-1659294

AL-JUNAID TECH INSTITUTE
1.        convert the relocatable machine code into absolute
     machine codeby linking library and relocatable objectfiles.

        Assembler
        Loader/link-editor
        Compiler
        Preprocessor

 Parsers take as input from lexical analyzer.
2.
 Linker
 Token
 Instruction
 None of the given

 3. The regular expression denotes, the set of all strings of a’s and b’s of
    length two
                         a*
                         (a*|b*)*
                         (a*b*)*
                         (a|b)(a|b)
 4.          is a regular expression for the set of all strings over the
    alphabet {a} that has an even number of a’s.
                         aa*
                         (aa)*
                         aa*a
                         a(aa)*
 5.         Phase supports macro substitution and conditional compilation.
                         Semantic
                         Syntax
                         Preprocessing        
                         None of given
 6. In LL(1) parsing algorithm, contains a sequence of grammar symbols.
                         Stack     PG # 62
                         Link List
                         Array
                         None of the given.
 7. Consider the grammar

AL-JUNAID TECH INSTITUTE
                ABCD
                BhB|€
                CCg|g|Ch|i
                D AB | £
   First of A is        .
                         h, g, i
                         g
                         h
                         None of the given.
8.         parsers never shifts into an error state.
                         LS
                         LT
                         LR
                         LP
9. In parser, the two LL stand for .
                         Left-to-right scan of input
                         left-most derivation
                         Left-to-right scan of input and left-most
                           derivation                         PG # 54
                         None of the given
10.      is elaborated to produce bindings.
                         Declaration
                         Expression
                         Command
                         None of the given
11.                                A lexical analyzer generated by is
   essentially a FSA.
                       Dex
                       Mex
                       Fex
                       Lex
12.    A lexical analyzer generated by lex is essentially a PDA (Push
   Down Automaton).
                      True
                      False
13.                                                                      T

AL-JUNAID TECH INSTITUTE
   he actions (shift, reduce) in a SLR(1) parser depend on a look ahead
   symbol (                                                             )
                          Current input token
                          Next Input Token
                          Previous output Token
                          Previous Input Token.
14.                                    The following grammar contains a
   conflict. S → A | xb
                          Shift-Reduce
                          First-Reduce
                          Shift-First
                          Reduce-Reduce

15.      S  A | xb
     A  aAb | x
     This grammar contains a         conflict.
                        Shift-Reduce
                        First-Reduce
                        Shift-First
                        Reduce-Reduce
16. Consider the Following
 S → AB
                        1
                        2
                        3
                        4
17.           is a register allocation technique that always finds
   the minimal number of registers needed for aprocedure.
                         Dangling reference
                         Graph coloring
                         Left Factoring
                         Right Recursion
18.      Graph coloring is a register allocation technique that operates at
   individual basic blocks.
    True
    False

AL-JUNAID TECH INSTITUTE
19.       Graph coloring is a register allocation heuristic that usually
   finds he minimal number of registers needed for aprocedure.
    True
    False
20. S  a S | Sa | c
          This grammar is ambiguous.
    True
    False
21.                   When generating code at the basic block level, the
   dependency graph must be converted to target code. By identifying
   , instruction selection and instruction ordering can be performed
   efficiently in a single pass.
                         Ladder sequences
                         Physical sequences
                         Logical sequences
                         Token sequences
22.            can be considered a small compiler since it
   transforms a source language (assembly) into a lessabstract
   target language (binary object code)
                        Parser
                        Assembler
                        Lexical analyzer
                        Scanner
23.                            When memory allocator operates on
   chunks which include some administrative part and a block of user
   data. Theadministrative part includes   flag for marking the chunk
   as free or in-use.
                          One

More CS606 files

All CS606 files · Midterm Prep 2026 · MCQs Bank