Cs402 Today Quiz + Final (Mueen).pdf

Verified academic study resource for CS402 (Theory of Automata) under the Computer Science at Virtual University of Pakistan. This PDF document (Final-Term Solved Past Paper & Examination Pack) covers Final-Term Exam Scope (Lectures 23 to 45) spanning approximately 320 pages across 4 curriculum modules, and is indexed for student examination review with instant in-browser preview and 100% free direct download.

Course
CS402 – Theory of Automata
Faculty
Computer Science
Format
PDF
Type
Final-Term
Coverage
Final-Term Exam Scope (Lectures 23 to 45)
Tags
FINALTERM

Virtual University regulations strictly require achieving at least 20% marks in the Final-Term exam paper alone (typically 12+ marks out of 60) to pass CS402, regardless of midterm scores.

What this file covers — CS402 syllabus roadmap

  1. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  2. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  3. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  4. 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 Cs402 Today Quiz + Final (Mueen).pdf for free?

You can preview and download "Cs402 Today Quiz + Final (Mueen).pdf" (CS402 PDF, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs402-today-quiz-final-mueen-pdf) with 100% free high-speed downloads and zero registration requirements.

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

This document covers Final-Term Exam Scope (Lectures 23 to 45) across 4 distinct lecture units (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 CS402 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 CS402 solved past papers and handouts verified for 2026 exams?

Yes. All CS402 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

 ➢This File is based on the MCQS of 2 nd Quiz on
  Dated 24th August 2021.
 ➢This file will also help in the final. All options
  are marked with extreme care, but still
  human error is possible.
 ➢ First 60 MCQs are from the 2 nd quiz, and
  remaining (Al-Junaid File) is added for
  further accuracy and for final term.

Regards      Mueen Hasan          (MCS 1 st)
0301-7923536

1. In new format of an FA (discussed in lecture 37):……state is like a final state of an FA
       ➢     START
       ➢     ACCEPT             (Handouts Page # 119)
       ➢     REJECT
       ➢     READ
2. In conversion form of PDA there is no……………. state
       ➢     PUSH
       ➢     ACCEPT
       ➢     REJECT             (Handouts Page # 119)
       ➢     READ
3. Given a PDA that accepts the language L
       ➢     There does not exist any CFG that generates exactly L
       ➢     that PDA will also accept Language L' (complement of L)
       ➢     There exists a CFG that generates exactly L    (Handouts Page # 118)
       ➢     None of given options
4. In a CFG the non-terminal that occurs first from the left in the working string. is said to be
       ➢     Least Significant nonterminal
       ➢     Left most nonterminal                      (Handouts Page # 103)
       ➢     Most Significant nonterminal
       ➢     Left most derivate
5. The structure given below is called

S -> aAlbB

A -> aSla

B -> bSIb

       ➢    RE
       ➢    PDA
       ➢     CFG                   (It is form of CFG)
       ➢     TG
6. An FA has N states then it must accept the word of length
       ➢    2N
       ➢    N
       ➢    N-1
       ➢    N-1
7. To examine whether a certain FA accepts any words. it is required to seek the
   paths……..state.
       ➢    from initial to final                      (Handouts Page # 81)
       ➢    from initial-to-initial back
       ➢    from final to initial
       ➢    from final to back final

8. In nondeterministic PDA. a string is supposed to be accepted if there exists at least one path
    traced by the string. leading to………..state.
         ➢    START
         ➢    REJECT
         ➢    READ
         ➢    ACCEPT                      (Handouts Page # 111)
9. If a CFG has a null production, then it is
         ➢    Called Null CFG
         ➢    Not possible to construct another CFG without null production accepting the same
              language with the exception of the word
         ➢    Called Chmosky Normal Form (CNF)
         ➢    Possible to construct another CFG without null production accepting the same language
              with the exception of the word
10.There is at least one production in CFG that has one……………. on its left side.
         ➢    Non terminal                 (Handouts Page # 87)
         ➢    Null production
         ➢    Terminal
         ➢    Unit production
11. In large FA with thousands of states and millions of directed edges, without an effective
    procedure it is…………to find a path from initial to final state.
         ➢    Impossible                 (Handouts Page # 81)
         ➢    Always easy
         ➢    always impossible
         ➢    may be good
12. By removing null and unit productions__________.
         ➢    CNF can be converted into FA
         ➢    CNF can be converted into CFG
         ➢    CFG can be converted into CNF              (Handouts Page # 102)
         ➢    CNF can be converted into Turing machine
13. A………is the one for which every input string has a unique path through the machine
         ➢    deterministic PDA
         ➢    Input Tape
         ➢    nondeterministic PDA
         ➢    PUSHDOWN store
14. PDA stands for
         ➢    Push Down Automaton                     (Handouts Page # 112)
         ➢    Pop and Drop Automaton
         ➢    Push and Drop Automaton
         ➢    Push Deterministic Automaton
15. A PDA is called nondeterministic PDA if
         ➢    there are more than one POP states
         ➢    there are more than one PUSH states
         ➢    there are more than one outgoing edges at READ or POP states with one label
         ➢    every READ state is followed by a HERE state.

16. Which of the following cannot be represented by a regular expression?
         ➢     String of 0's with an odd length
         ➢     Language of even-even
         ➢     Language of odd-odd
         ➢     String of 0s with a prime length               (Because Prime is not regular Langue)
17. In conversion form of PDA. there is………..accept state(s).
         ➢     At most one
         ➢     At least one
         ➢     More than One
         ➢     Exactly one                        (Handouts Page # 119)
18. If there is no final state of two FAs, then their……….also have no………..state
         ➢     union, initial
         ➢     union. Final                       (Handouts Page # 83)
         ➢     final, union
         ➢     initial, union
19. The tree which produces all the strings of a language is called
         ➢     Derivation tree
         ➢     Total language tree               (Handouts Page # 96)
         ➢     Non ambiguous tree
         ➢     Ambiguous tree
20. In new format of an FA (discussed in lecture 37), …………state is like dead-end non final state.
         ➢     READ
         ➢     REJECT                          (Handouts Page # 105)
         ➢     START
         ➢     ACCEPT
21. To write the expression from the tree, it is required to traverse from
         ➢     Top to bottom of the tree
         ➢     Right side of the tree
         ➢     Left side of the tree          (Handouts Page # 94)
         ➢     Bottom to top of the tree
22. A PDA consists of the following:
         ➢     An alphabet (Sigma) of input letters.
         ➢      An input TAPE with infinite many locations in one direction
         ➢     One START state with only one out-edge and no in-edge •

More CS402 files

All CS402 files · Midterm Prep 2026 · MCQs Bank