cs402 mega-file final term.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 mega-file final term.pdf for free?

You can preview and download "cs402 mega-file final term.pdf" (CS402 PDF, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs402-mega-file-final-term-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

                                    Table of Contents
1CS402FinalTermsolvedmcqs                                         2
 1 L                                                             26
CS 402 Theory of Automata Final Term Paper.                      29
CS 402 Theory of Automata Final Term Paper                       60
CS402 - Final Term Solved Subjective with references By Moaaz   104
cs402 Khan                                                      122
CS402_FINAL_2007 (1)                                            161
CS402-finalterm-paper-2005                                      167
CS402-FINALTERM-paper-2006                                      171

                            Cs402- Theory of Automata
                    Latest Solved MCQs from Final term Papers               10 june,2011

FINAL TERM                          mc100402098@vu.edu.pk                   Latest Mcqs

                         Solved MCQS for final term
Question: 1
The production of the form nonterminal →Λ is said to be null production.
   Ø ► True Page 104
   Ø ► False

Question: 2
 Consider the following GFC :
s→aa|bB,a→aa|B,B→aS|Λ
 here s→aaand A→B are null productions ,while B→Λ is null able production
    Ø ►false page 105
    Ø ►True

Question: 3
Which statement is true?
  Ø The tape of turing machine is infinite.
  Ø The tape of turing machine is finite.
  Ø The tape of turing machine is infinite when the language is regular
  Ø The tape of turing machine is finite when the language is nonregular.

Question: 4
The production of the form nonterminal →one nonterminal is called the :
     Ø Null production
     Ø Null able production
     Ø Unit production       page105
     Ø None of the given

Question: 5
For a given input, it provides the compliment of Boolean AND output.
      Ø NAND box (NOT AND)
      Ø DELAY box
      Ø OR box
      Ø AND box

Question: 6
( Marks: 1 ) - Please choose one
  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
       Ø    All of these

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 the

      Ø    Single letter
      Ø    Double letter   page 84
      Ø    String
      Ø    Null string

Question: 8
It delays the transmission of signal along the wire by one step (clock pulse).
      Ø OR box
      Ø DELAY box
      Ø NAND box (NOT AND)
      Ø AND box

Question: 9
To describe the complement of a language, it is very important to describe the ----------- of that
language over which the language is defined.
     Ø String
     Ø Regular Expression
     Ø Alphabet
     Ø Word

Question:10
Let L be a language defined over an alphabet ∑,then the language of strings , defined over ∑, not
belonging to L denoted by LC or L. is called :
      Ø Non regular language of L
      Ø Complement of the language L
      Ø Non of the given
      Ø All of above

Question:11
For the given input, it provides the Boolean OR output
  Ø DELAY box
  Ø AND box
  Ø NAND box (NOT AND)
  Ø 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
   Ø False

Question: 14
If L is a regular language ,then according to Kleene,theorem ,
 there exists an :
    Ø TG
    Ø GTG
    Ø FA        page77
    Ø Non of the given

Question: 15
Any language that can not be expressed by a RE is said to be regular language.
  Ø True
  Ø False

Question: 16
and r2 = ( a + b) then the language (aa + bb)(a + b) will be generated by

   Ø   (r1 + r2)
   Ø   (r2)(r1)
   Ø   (r1)*
   Ø   (r1)(r2)

Question: 17
If L1 and L2 are regular languages is/are also regular language(s).

   Ø   L1 + L2
   Ø   L1L2
   Ø   L1*
   Ø   All of above     Page 70

Question: 18
Let L be a language defined over an alphabet Σ, then the language of strings, defined over Σ, not
belonging to L, is called Complement of the language L, denoted by Lc or L’.
True
False

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
Ø   None of the given

Question: 21
If an effectively solvable problem has answered in yes or no, then this solution is called ---------
    Ø Decision problem
    Ø Decision method
    Ø Decision procedure
    Ø Decision making

Question: 22
There is an approach in defining the quotient of regular languages ie the language Q is said to be
quotient of two regular languages P and R, denoted by Q=R/P if :
   Ø PQ=R
   Ø R=PQ
   Ø QR=P
   Ø Non of above

Question: 23
 consider a language L defined over an alphabet ∑ 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 ………. if they end in the
same …….
    Ø Class ,state
    Ø Final ,infinite
    Ø Regular ,nonregular
    Ø All of Above

Question:24
If L is a regular language then, --------- is also a regular language.
    Ø Lm
    Ø Ls
    Ø Lx
    Ø Lc

Question:25
Converting each of the final states of F to non-final states and old non-final states of F to final states,
FA thus obtained will reject every string belonging to L and will accept every string, defined over Σ,
not belonging to L. is called

    Ø   Complement of L
    Ø   Finite Automata of L
    Ø   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

Question:27
L= language of words containing even number of a’s. Regular Expression is

   Ø   (a+b)*aa(a+b)*
   Ø   (b+ab*a)*

More CS402 files

All CS402 files · Midterm Prep 2026 · MCQs Bank