CS402-Quiz-2 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 By Vu Topper RM.pdf for free?

You can preview and download "CS402-Quiz-2 By Vu Topper RM.pdf" (CS402 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs402-quiz-2-by-vu-topper-rm-pdf-3) 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

In FA, final state is represented by a ________ sign.
A. -
B. =
C. *
D. +

If we have the regular expression (a+b)* (aaa + bbb) (a+b)*, then we can
draw a TG for the provided RE with minimum _________ number of
state(s).
A. two
B. zero
C. one
D. three

Suppose we have the regular expression:
aa(a+b+c)*bb(a+b+c)*cc
Which of the following string will not be generated by the given RE?
A. aabbcc
B. aaaabbccbc
C. aaabcbbcbacc
D. aaabbbbccc           ok

If an FA has 3 states and 2 letters in the alphabet set, then it will have total
___________ number of transitions.
A. 7
B. 4
C. 6            ok
D. 5

Which one of the following string is a part of EQUAL language defined
over Σ={a,b}?
A. aabbaa
B. aabbbaa

    For More Help Contact What’s app 03224021365

C. ababab
D. babab

Which one of the following word is not accepted by the given regular
expression?aa(a+b)*b
Aabbabb
Abbaab
Aaabab
aaaababb

Which of the following statement is NOT true about TG?
There may exist NULL path
There may be no final state
There exists exactly one path for certain string       ok
There may exist more than one paths for certain string

Kleene’s Theorem Part III expresses the relationship between
___________.
  A. RE and FA      ok
  B. FA and GTG
  C. TG and RE
  D. FA and TG

Which one of the following word is not accepted by the given regular
expression?(a+b)*bba(a+b)*
Aaababab
Babbba
Abbbbaa
bbabbbbaba

When even length language is expressed by an FA, then it will have
minimum_______ states.
One

   For More Help Contact What’s app 03224021365

Two
Four
Three

FA stands for ___________.
  A. Fixed Automaton
  B. Finite Automaton
  C. False Automaton
  D. Functional Automaton

FA corresponding to an NFA can be built by introducing an empty state
for a letter having
   A. no transition at certain state           ok
   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.

   For More Help Contact What’s app 03224021365

  A. 4          ok
  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               ok

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         ok
  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             ok
   C. 4
   D. 2

If an alphabet has "2" number of letters, then total number of strings of
length "3" will be ________.
   A. 5

   For More Help Contact What’s app 03224021365

  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

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        ok
   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              ok
 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

   For More Help Contact What’s app 03224021365

  C. 3        ok
  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

Reverse of string "YxwzYz" defined over Σ ={w,x,Y,z} is __________.
  A. zYzwxY         ok
  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        ok

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    ok

   For More Help Contact What’s app 03224021365

  B. Initial sate, null state
  C. Final state, initial state
  D. Final state, null state

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         ok
  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         ok
  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       ok
   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?

More CS402 files

All CS402 files · Midterm Prep 2026 · MCQs Bank