CS402 Final Term Solved MCQs By Hina_VUAnswer.com.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 compiled by VUAnswer) 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)
Compiled by
VUAnswer
Tags
MCQ, SOLVED, 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 Final Term Solved MCQs By Hina_VUAnswer.com.pdf for free?

You can preview and download "CS402 Final Term Solved MCQs By Hina_VUAnswer.com.pdf" (CS402 PDF, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs402-final-term-solved-mcqs-by-hina-vuanswer-com-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

                     More Files Visit VUAnswer.com

                     CS402 FINAL TERM PAPER
                     Solved final term by HINA
                      (VISIT VUANSWER FOR MORE)

More Files Visit VUAnswer.com

                               More Files Visit VUAnswer.com

   Choose the correct statement.

       Ø A Mealy machine generates no language as such Ø   A Moore
       machine generates no language as such Ø A
       Mealy machine has no terminal state

More Files Visit VUAnswer.com

                       More Files Visit VUAnswer.com
      Ø All of these

More Files Visit VUAnswer.com

                                   More Files Visit VUAnswer.com
 Question: 7
 Let Q and R be expressed by ab*a and (ba)* respectively i.e Q={aa ,aba ,abba ……}and R={Λ,ba baba,bababa…….}..aba is
 the only word in Q which can make a word in R, because the words in R don,t contain

   Ø OR box

 Question: 12
 For the given input, AND box provides the Boolean AND output.
      Ø True
     Ø False

 Question: 13
 The current in the wire is indicated by 1 and 0 indicates the absence of the current. Ø True

More Files Visit VUAnswer.com

                                     More Files Visit VUAnswer.com
     Ø False

 Question: 14

 NO19: For a certain language L, the complement of Lc is the given language L i.e. (Lc)c = L
    Ø True Page 71
    Ø False
 Question: 20
 If L is a regular language then, Lc is also a   language.
 Ø Regular
 Ø Non-regular
 Ø Regular but finite

More Files Visit VUAnswer.com

                       More Files Visit VUAnswer.com
 Ø None of the given

More Files Visit VUAnswer.com

                                   More Files Visit VUAnswer.com

 Question: 21

               Transition Graph of L Ø
      Regular expression of L Question: 26
 If L1 and L2 are two regular languages, then L1 U L2 is not a regular.
      Ø True
      Ø False

More Files Visit VUAnswer.com

                                 More Files Visit VUAnswer.com

 Question:27

    Ø PALINDROME and PRIME. Page 76
    Ø PALINDROME and EVEN-EVEN
    Ø FACTORIAL and SQURE
 Question: 32
  De-Morgan's law for sets is expressed by,
    Ø         (L1 c ∩ L2 c ) c= L1 c ∩ L2 c
            c ∩ L2 c ) c= L

More Files Visit VUAnswer.com

                                   More Files Visit VUAnswer.com
            c

    ØØ          ((LL11 c ∩∩ LL22   c c )) cc== LL111 c∩ L ∩L22 L 2
    Ø           (L1    c

  Let L be an infinite language accepted by a language accepted by a finite automaton with N states , then for all words
 W in L that have length more than N there are strings x,y and Z (y being non null string)and length (x)+length
 (y)≤Ns.t.W=xyz and all strings of the form xynz are in L for n=1,2,3………..
    Ø True Page 80
    Ø False

More Files Visit VUAnswer.com

                                   More Files Visit VUAnswer.com
 Question: 38
 If, two strings x and y, defined over Σ, are run over an FA accepting the language L, then x and y are said to belong
 to the same class if they end in the same state, no matter that state is final or not. Ø True
      Ø False

     Ø Regular Page 84
     Ø Infinite

 Question: 44
 The regular expression thus obtained if contains at least one word then the language is not empty otherwise the
 language is :

More Files Visit VUAnswer.com

                     More Files Visit VUAnswer.com
    Ø Regular

More Files Visit VUAnswer.com

                                 More Files Visit VUAnswer.com
    Ø No regular
    Ø Empty         Page 85
    Ø Non of the above

 Question: 45

    Ø Input Tape       Page 110
    Ø Output Tape
 Question: 50
 TM is more powerful than FSM because
    Ø The tape movement is confined to one direction
    Ø It has no finite state control
    Ø It has the capability to remember arbitrary long sequences of input symbols Ø None

More Files Visit VUAnswer.com

                     More Files Visit VUAnswer.com
    of these

More Files Visit VUAnswer.com

                                   More Files Visit VUAnswer.com
 NO51: In new format of an FA This state is like dead-end non final state:

     Ø One character can be pushed and one character can be popped
     Ø Any no. of characters can be pushed and one character can be popped
     Ø One character can be pushed and any no. of characters can be popped
     Ø Any no. of characters can be pushed and any no. of characters can be popped NO57: In pumping lemma theorem
     (x y^n z) the range of n is:

     Ø n=1, 2, 3, 4……….         Page 77
     Ø n=0, 1, 2, 3, 4……….
     Ø n=…….-3,-2,-1, 0, 1, 2, 3, 4……
     Ø n=…….-3,-2,-1, 1, 2, 3, 4……

More Files Visit VUAnswer.com

                                   More Files Visit VUAnswer.com
  NO58:       TM is more powerful than FSM because Ø

 Left hand side of a production in CFG consists of:
      Ø One terminal

     Ø    More than one terminal

     Ø    One non-terminal

More Files Visit VUAnswer.com

                                   More Files Visit VUAnswer.com
     Ø   Terminals and non-terminals             Page 64:

 NO65: it is very important to determine which sequences of rows do correspond to possible paths through the:
    Ø CFG

     Ø None of these
     Ø A ,B both

 NO 69: To examine whether a certain FA accepts any words, it is required to seek the paths from----------state.

    Ø Final to initial
    Ø Final to final
    Ø Initial to final
    Ø Initial to initial
 NO 70: The high level language is converted into assembly language codes by a program called compiler.

     Ø TRUE
     Ø FALSE

 NO 71: Grammatical rules which involve the meaning of words are called ---------------

More Files Visit VUAnswer.com

                                 More Files Visit VUAnswer.com
    Ø        Semantics        Page 92

    Ø        Syntactic Both
    Ø        a and b None
    Ø        of given

 NO72: Choose the correct statement.
           A Mealy machine generates no language as such

    Ø Productions
    Ø Terminals Page 92 Ø Non-

More CS402 files

All CS402 files · Midterm Prep 2026 · MCQs Bank