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

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

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
   B. False

For More Help Vu Topper RM Contact What’s app 0322-4021365

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

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

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

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
   B. Complementing
   C. Decrementing
   D. None of the given

Question No:15                     (Marks:1)            Vu-Topper RM
There _______ be dead states in NFA.
  A. may not
  B. must
  C. should not
  D. will

Question No:16                     (Marks:1)              Vu-Topper RM
1 Let FA1 accepts many strings and FA2 accepts none then FA1+FA2 will be
equal to:
   A. FA1

  B. FA2
  C. FA2-FA1
  D. (FA2)

Question No:17                (Marks:1)         Vu-Topper RM
If FA1 corresponds to (a+b)* then FA1 must accept ___________
string/strings.
   A. No
   B. Odd length
   C. Even length
   D. Every

Question No:18                      (Marks:1)               Vu-Topper RM
A regular language can be:
  A. irregular
  B. infinite
  C. non-deterministic
  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. may be
  C. 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

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
For More Help Vu Topper RM Contact What’s app 0322-4021365

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
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
In concatenation, we include the initial state of FA2 automatically after the
final state of FA1 because of:
We need just one initial state

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 starts
and ends in different letters will be:
  A. 1

  B. 2
  C. 3
  D. 4

Question No:28                   (Marks:1)             Vu-Topper RM
Consider we have languages L7 and L6. Which of the following represents
their concatenation?
   A. L7+L6
   B. L7/L6
   C. L6L7
   D. L7L6

Question No:29                  (Marks:1)          Vu-Topper RM
Let FA1 has x number of states and FA2 has y number of states. Now
FA1+FA2 can have maximum _______________ number of states.
  A. x+y
  B. x-y
  C. x/y
  D. none

More CS402 files

All CS402 files · Midterm Prep 2026 · MCQs Bank