CS_402100suresolved.doc

Verified academic study resource for GENERAL (General University Resources, Guides & Handbooks) under the General Guides at Virtual University of Pakistan. This DOC 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
GENERAL – General University Resources, Guides & Handbooks
Faculty
General Guides
Format
DOC
Type
MCQ Bank
Coverage
Full Course Curriculum

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

What this file covers — GENERAL syllabus roadmap

  1. Foundational Principles, Taxonomy & Introductory Frameworks — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (Core Definitions)
  2. Structural Systems, Methodologies & Theoretical Formulations — Lectures 7 to 12 (Pages 66 to 135). 18% Exam Marks (Short Question Rubrics)
  3. Applied Analysis, Mechanistic Models & Functional Processing — Lectures 13 to 18 (Pages 136 to 210). 22% Exam Marks (High Yield for Midterms)
  4. Midterm Examination Synthesis & Solved Concepts — Lectures 19 to 22 (Pages 211 to 275). Midterm Examination Culmination (Lectures 1–22)
  5. Advanced Frameworks, Modern Developments & Specialized Topics — Lectures 23 to 29 (Pages 276 to 350). 16% Final-Term Marks (Advanced Theory)
  6. Analytical Applications, Problem Solving & Case Critiques — Lectures 30 to 36 (Pages 351 to 425). 20% Final-Term Marks (Analytical Questions)
  7. Integration, Contemporary Debates & Standards Compliance — Lectures 37 to 41 (Pages 426 to 495). 15% Final-Term Marks (Synthesis & Standards)
  8. Final-Term Examination Archive & Solved Dossier — Lectures 42 to 45 (Pages 496 to 565). Final-Term Exam Synthesis (Lectures 23–45 Scope)

Frequently asked questions

Where can I download CS_402100suresolved.doc for free?

You can preview and download "CS_402100suresolved.doc" (GENERAL DOC, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs-402100suresolved-doc) with 100% free high-speed downloads and zero registration requirements.

What syllabus chapters and lectures are covered in this GENERAL 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 GENERAL 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 GENERAL solved past papers and handouts verified for 2026 exams?

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


Cs402 THEORY OF AUTOMATA

 MIDTERM  EXAMINATION
Spring 2009
CS402- Theory of Automata (Session - 1)

Question No: 1      ( Marks: 1 ) - Please choose one

 Alphabet S = {a,bc,cc} has _______ number of letters.

        One

        Two

        Three

        Four

Question No: 2      ( Marks: 1 ) - Please choose one

 In which of the following language Rev(s)=s

        EQUAL

        INTEGER

        PALINDROME

        FACTORIAL

Question No: 3      ( Marks: 1 ) - Please choose one

 If S = {ab, bb}, then S* will not contain

        abbbab

        bbba  (because ba does not belong to S)

        bbbbab

        ababbb

Question No: 4      ( Marks: 1 ) - Please choose one

 a,b


       1  –
        2 +

 a,b
 Above given FA generates the language having strings of _________

        ODD length

        EVEN length

        Equal number of a’s and b’s

        None of these

Question No: 5      ( Marks: 1 ) - Please choose one

 a+b
 a+b

 aa+bb
 -
 +
 Above given GTG accepts the language in which strings

        Contains double a or double b

        Contains both a and double b

        Depends on the alphabet

        None of these

Question No: 6      ( Marks: 1 ) - Please choose one

 aa+bb
 aa+bb
 ab+ba
 3-  2  1


 ab+ba

 4+

 If above given TG is drawn like

 aa+bb


3  1
 X
-


 4
+
Then what will be written in place of X.

        (ab+ba)(aa+bb)(ba+ab)

        (ab+ba)(aa+bb)(ab+ba)

        (ab+ba)(aa+bb)*(ab+ba)  (pg no.35)

        (ab+ba)(aa+bb)(ab+ba)*

Question No: 7      ( Marks: 1 ) - Please choose one

 FA3 expresses r1r2. Then initial state of FA3 will consist of

        Initial state of FA2

        Initial state of FA1

        Initial states of both FA1 & FA2

        Depends on FA’s

Question No: 8      ( Marks: 1 ) - Please choose one

 FA3 expresses r1r2. Then there will be at least one final state of FA3 that consist
of final state of FA1 and initial state of FA2.

        True

        False

        Depends on language

        None of these

Question No: 9      ( Marks: 1 ) - Please choose one

 Two machines are said to be equivalent if they print the same output string when
the different input string is run on them

        True

        False

        Depends on language

        May be or may not be
(when the same input string is run on them for equivalent)

Question No: 10      ( Marks: 1 ) - Please choose one

 Running the string abbabbba on this Moore machine. The outputs will
be________

 b
              q1/0  q2 /1

 a  b
 a

      q0/1   a
b
 a
q3/1  1
 b
 b
 a

2
 q3 /0

        101111010  (at q0 it is 1 output  so start with 1 )

        01111010

        01011110

        01010101

Question No: 11      ( Marks: 1 ) - Please choose one

 4  a
 2

 a
 a
 a, b a, b

                • 1 –    6+
                                    ▪ a,b
                                    ▪ a,b
                    ◦ b
                                ◦ b

 aaa,bbb
 b
 -
5
 3  +

 Above given TG’s are ______________.

        None of these

        Equivalent

        Non-equivalent

        TG’s are not valid

Question No: 12      ( Marks: 1 ) - Please choose one

 TG can have more than one initial state.

        True      (in definition of TG  pg 22 it ihas atleast 1 start start state so it can be more than 1)

        False

        Depends on alphabets

        None of these

Question No: 13      ( Marks: 1 ) - Please choose one

 a
 a


 +
 – –

 a
 b
 b



 b
Above given FA accepts null string.

        True

        False

        FA is not valid

        None of these

Question No: 14      ( Marks: 1 ) - Please choose one

 If in an NFA, Λ  is allowed to be a label of an edge then that NFA is called   _________.

        Will not remain NFA

        NFA with  (pg 47)

         NFA with null string

        Either "NFA with null string" OR "NFA with   "

Question No: 15      ( Marks: 1 ) - Please choose one

 One FA has n states and m letters in the alphabet. Then FA will have _____
number of transitions in the diagram.

        (n)+(m)

        (m)(n) OR (n)(m)

        None of the given options

        (m)-(n)

Question No: 16      ( Marks: 1 ) - Please choose one

 (a+b)*a(a+b)*b(a+b)* is the RE of  language defined over S={a,b} having at least one a
and one b

        True

        False

        Such a language does not exist  (not confirmed but I think every language have symbol L no language exist with S)

        None of the given options

Question No: 17      ( Marks: 1 )

 Is the following statement trure?
A regular language can not be infinite.
                                             Yes,   In certain conditions a regular language can  be
finite or infinite.

Question No: 18      ( Marks: 1 )

 Can you say that for a certain string there may be more than one paths in a TG?
Yes , that is why it is called non-dterministic.

Question No: 19      ( Marks: 2 )

 If a language can be accepted by an FA then it can be accepted by a TG as well.
What are the other two statements of kleenes’s theorem?
                                            Kleene’s Theorem Part II
                                                        If a language can be accepted by a TG then it can be expressed by an RE as well.
                                                     Kleene’s Theorem Part III
          If a language can be expressed by a RE then it can be accepted by an FA as well.

Question No: 20      ( Marks: 3 )

 Describe the method of NFA corresponding to Concatenation of FAs.
                                                 Method
                                                  Introduce additional transitions for each letter connecting each final state of the first FA with the states of
                                                  second FA that are connected with the initial state of second FA corresponding to each letter of the alphabet.
                                                  Remove the +ve sign of each of final states of first FA and –ve sign of the initial state of second FA. It will

More GENERAL files

All GENERAL files · Midterm Prep 2026 · MCQs Bank