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

  CS402 Theroy Of Automata
  Update MCQS For Quiz-2 File
   Solve By Vu Topper RM

          80 To 100% Marks

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

Question No:5                   (Marks:1)              Vu-Topper RM
If a language can be expressed through FA, then it can also be expressed
through TG.
   A. True          Page 25

   For More Help Contact What’s app 03224021365

  B. False

Question No:6                   (Marks:1)               Vu-Topper RM
If an alphabet has n number of letter, then number of strings of length m
will be
   A. n+m
   B. (n)(m)
   C. m^n
   D. n^m       Page 6

Question No:7                    (Marks:1)              Vu-Topper RM
In GTG, if a state has more than one incoming transitions from a state.
Then all those incoming transitions can be reduced to one transition using
sign
   A. -
   B. + Page 27
   C. *
   D. ( )

Question No:8                    (Marks:1)               Vu-Topper RM
Above given FA accepts      strings defined over Σ={a , b}
  A. All        Page 15
  B. Some
  C. All but not null
  D. None of these

Question No:9                    (Marks:1)           Vu-Topper RM
One FA has 3 states and 2 letters in the alphabet. Then FA will have
     number of transitions in the diagram
  A. 4
  B. 5
  C. 7
  D. 6       Page 14

   For More Help Contact What’s app 03224021365

Question No:10                (Marks:1)              Vu-Topper RM
Every FA should be
  A. Deterministic        Page 25
  B. Non- Deterministic
  C. Deterministic & Non- Deterministic
  D. None of these

Question No:11                 (Marks:1)             Vu-Topper RM
Auto Meta mean
  A. Manual work
  B. Automatic work       Page 3
  C. Both
  D. None of these

Question No:12                 (Marks:1)             Vu-Topper RM
NFA to FA will
  A. Equal     Page 43
  B. Not equal
  C. Not valid
  D. None of given

Question No:13                    (Marks:1)           Vu-Topper RM
The length of output string in case of is one more than the length of
corresponding input string.
   A. Finite Automaton            Page 55
   B. TG
   C. GTG
   D. NFA

Question No:14                (Marks:1)              Vu-Topper RM
The machine helps in building a machine that can perform the addition
of binary numbers.
   A. Incrementing     Page 60

   For More Help Contact What’s app 03224021365

  B. Complementing
  C. Decrementing
  D. None of the given

Question No:15                     (Marks:1)               Vu-Topper RM
In proving Kleene Theorem II, if a state has two incoming transition
edges labelled by RE from the same state, then replace all the edges with
a single transition edge labelled by ------- of corresponding RE.
   A. Sum          Page 27
   B. Edge
   C. FA
   D. RE

Question No:16                     (Marks:1)            Vu-Topper RM
Kleene Theorem III states that if the language can be expressed by RE
then there exist -------- accepting the language.
   A. FA          Page 32
   B. DFA
   C. NFA
   D. None

Question No:17                   (Marks:1)              Vu-Topper RM
If L1 and L2′ are regular languages, L1 ∩ (L2′ U L1′)’ will be
   A. Regular Page 10
   B. Ir-regular
   C. Can’t be decided
   D. Another Language which is not listed here

Question No:18                  (Marks:1)               Vu-Topper RM
A regular language can be:
  A. irregular
  B. infinite
  C. non-deterministic

   For More Help Contact What’s app 03224021365

  D. None of the given options

Question No:19                 (Marks:1)              Vu-Topper RM
There ______ a language for which only FA can be built but not the RE.
  A. is cannot be
  B. is
  C. may be
  D. may not be

Question No:20                   (Marks:1)               Vu-Topper RM
For every three regular expressions R, S, and T, the languages denoted by
R(S U T) and (RS) U (RT) are the ______ .
  A. Same
  B. Different
  C. R(S U T) is Greater
  D. None of the given options

Question No:21                   (Marks:1)                 Vu-Topper RM
In _______ there must be transition for all the lettersof a string.
   A. NFA
   B. GTG
   C. TG
   D. FA

Question No:22               (Marks:1)             Vu-Topper RM
We cannot construct an NFA for the language of ______ defined over
alphabet set {a,b}.
   A. Even
   B. odd
   C. Palindromes
   D. Integers

Question No:23                   (Marks:1)              Vu-Topper RM

   For More Help Contact What’s app 03224021365

Decomposing a string into its valid units is referred as:
  A. Decomposing
  B. Splitting
  C. Tokenizing
  D. Dividing

Question No:24                 (Marks:1)             Vu-Topper RM
Choose the correct word produced by RE (a + b)* (aa+bb).
  A. Abab
  B. Babab
  C. aaaa
  D. Ab

Question No:25               (Marks:1)              Vu-Topper RM
Considering FA1 and FA2 having 2 states each. Now FA1+FA2 can have
maximum ______________ number of states.
  A. 2
  B. 3
  C. more than 3
  D. None of these

Question No:26                     (Marks:1)              Vu-Topper RM
If R is a regular language and L is some language, and L U R is a _______,
then L must be a ________.
   A. Regular language
   B. Finite Auto

Question No:27                      (Marks:1)          Vu-Topper RM
The minimum length of the strings(except null string) of a language that

More CS402 files

All CS402 files · Midterm Prep 2026 · MCQs Bank