CS402 Quiz-2 File By Vu Topper RM.pdf

Verified academic study resource for CS402 (Theory of Automata) under the Computer Science at Virtual University of Pakistan. This PDF document (Live Quiz Dumps & Solved Objective Bank) covers Quizzes & Objective Exam Scope 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
CS402 – Theory of Automata
Faculty
Computer Science
Format
PDF
Type
Quiz
Coverage
Quizzes & Objective Exam Scope

Quiz questions often repeat with modified parameter values in both Midterm and Final exams. Practice with our 45-second timed simulator to master exam pacing.

What this file covers — CS402 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 CS402 Quiz-2 File By Vu Topper RM.pdf for free?

You can preview and download "CS402 Quiz-2 File By Vu Topper RM.pdf" (CS402 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs402-quiz-2-file-by-vu-topper-rm-pdf-2) with 100% free high-speed downloads and zero registration requirements.

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

This document covers Quizzes & Objective Exam Scope 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 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

CS-402 Theroy Of Automata
Update MCQS For Quiz-2 File
Solve By Vu Topper RM
       85% To 100% Marks

 For More Help Contact What’s app 03224021365

FA corresponding to an NFA can be built by introducing an empty state
for a letter having
   A. no transition at certain state
   B. one transition at certain state
   C. two transitions at certain state
   D. more than two transitions at certain state

In order to make NFA for the union of FA1 and FA2, the final state/ states
of:
    A. both FAs should be linked
    B. both FAs should be left intact
    C. FA1 have a transition to the final state of FA2
    D. FA2 have a transition to the final state of FA1

Suppose we have FA3 which is equal to the union of FA1 and FA2. Now
the initial state of the FA3 will be equal to:
   A. Only initial state of FA1
   B. Final state of FA2
   C. Only initial state of FA2
   D. Initial state of FA1 or FA2          ok

Introducing new final state in case of multiple final states is the step no.
____________ of proving Kleene’s theorem part II.
   A. 4
   B. 1
   C. 2
   D. 3

In proving Kleene Theorem II, circuits are reduced into:
   A. asterisk
   B. difference
   C. both difference and asterisk
   D. sum

   For More Help Contact What’s app 03224021365

Finite Automaton (FA) has:
  A. Zero or more final states
  B. Exactly one final state
  C. Not more than two final states
  D. Exactly two final states

The formal language is also known as _________.
  A. Semantic language
  B. Informal language
  C. Syntactic language
  D. Normal language

The language of all strings defined over alphabet set = {x, y} having triple
x’s or triple y’s will have the minimum strings with length of:
   A. 1
   B. 3
   C. 4
   D. 2

If an alphabet has "2" number of letters, then total number of strings of
length "3" will be ________.
   A. 5
   B. 9
   C. 8
   D. 6

GTG for the expression (a+b)*bb may have minimum number of states:
  A. 3
  B. 4
  C. 2
  D. 1

   For More Help Contact What’s app 03224021365

Consider the Regular Expression (RE) a (a + b)b*. Which one of the
following is NOT accepted by the provided RE?
   A. aa
   B. aab
   C. aba
   D. abb

Which of the following is NOT true about the term alphabet?
 A. It is usually denoted by Greek letter sigma
 B. It can be an empty set
 C. Strings are generated by concatenating its elements
 D. It is a finite set of symbols

Which of the following is free of non-determinism?
 A. FA
 B. TG
 C. NFA
 D. NFA-^

The language of all strings defined over alphabet set = {a, b} containing
‘bbb’ will have the minimum string with length of:
   A. 1
   B. 2
   C. 3
   D. 4

The aa(a+b)*bb is the RE of the language defined over Σ={a,b}.The
language must ____________.
  A. have at least two ab
  B. have at least one aa and one bb
  C. have at least one abbb
  D. have at least one ba

   For More Help Contact What’s app 03224021365

Reverse of string "YxwzYz" defined over Σ ={w,x,Y,z} is __________.
  A. zYzwxY
  B. zYzxwY
  C. zYwzxY
  D. zYzwYx

If "r1" and "r2" are regular expressions, then which of the following is not
a regular expression?
    A. r1 + r2
    B. r1*
    C. r1 r2
    D. r1 – r2

Which of the following string belongs to the language of the regular
expression (aa*b)*?
  A. baabab
  B. aabaab
  C. aaaaaa
  D. abbbaa

FA of EVEN-EVEN language shows that it accepts the null string by
declaring the _________ as a __________as well.
  A. Initial state, final state
  B. Initial sate, null state
  C. Final state, initial state
  D. Final state, null state

Let S = {a, bb, bab, baabb} be a set of strings, which one of the following
will not be included in S*?
  A. baba
  B. bbbaabaabb
  C. baabbabb
  D. bbaaabb

   For More Help Contact What’s app 03224021365

The language of all strings defined over alphabet set = {x, y} that ends
with different letters will have the maximum length of:
  A. 1
  B. 2
  C. infinite
  D. 3

In an FA, when there is no path from the initial state to final state, then
that FA_____________.
  A. accept all non empty strings
  B. does not accept any string
  C. accept all strings
  D. accept null strings

If Σ= {a, b, c, d}. How many transitions will be there on each state of a
finite automaton for any language defined over Σ?
   A. 2
   B. 4
   C. 1
   D. 3

Which of the following is the minimal number of states for a finite
automaton accepting the language of all strings defined over any alphabet
set?
   A. 3
   B. 4
   C. 2
   D. 1

How many states of a finite automaton will be final for accepting L = {^,
b, bb, bbb}?
   A. 3
   B. 1

   For More Help Contact What’s app 03224021365

  C. 4
  D. 2

There is no compulsion that each state must have an on outgoing edge for
every input variable in:
  A. Transition Graph
  B. Transition Table
  C. Both Finite Automata and Transition Graph
  D. Finite Automata

In TG, there can be more than one _____________.
  A. start state only
  B. null state only
  C. start state and final state
  D. final state only

Substrings as input letters can be specified on edges in:
  A. NFA
  B. PDA
  C. FA
  D. TG

If we have the regular expression (a + b)*, then we can draw FA for the
provided RE with minimum _________ number of state(s).
   A. 2
   B. 0
   C. 1
   D. 3

   For More Help Contact What’s app 03224021365

Question No:1                 (Marks:1)                Vu-Topper RM
Σ={a,Aa,Abb}, then string aAaAbbAa has length.
  A. One
  B. Two
  C. Three
  D. Four         Page 4

Question No:2                  (Marks:1)               Vu-Topper RM
Languages generated by kleene star are always    .
  A. Finite
  B. Infinite      Page 7
  C. Sometimes finite & sometimes infinite
  D. None of the these

Question No:3                    (Marks:1)              Vu-Topper RM
Let S = {aa, bb}, then S* will have the _______ string.
  A. Λ            Page 7
  B. abba
  C. aabbbaa
  D. bbaab

Question No:4                    (Marks:1)              Vu-Topper RM
If r1 = (aa + bb) and r2 = ( a + b) then the language (aa + bb)* will be
generated by
   A. (r1)(r2)
   B. (r1 + r2)
   C. (r2)*
   D. (r1)*          Page 10

More CS402 files

All CS402 files · Midterm Prep 2026 · MCQs Bank