CS402 FINAL MERGED BY ASFAND YARR.pdf
Verified academic study resource for CS402 (Theory of Automata) under the Computer Science at Virtual University of Pakistan. This PDF document (Final-Term Solved Past Paper & Examination Pack) covers Final-Term Exam Scope (Lectures 23 to 45) spanning approximately 320 pages across 4 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
- Type
- Final-Term
- Coverage
- Final-Term Exam Scope (Lectures 23 to 45)
- Tags
- FINALTERM
Virtual University regulations strictly require achieving at least 20% marks in the Final-Term exam paper alone (typically 12+ marks out of 60) to pass CS402, regardless of midterm scores.
What this file covers — CS402 syllabus roadmap
- Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
- Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
- Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
- 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 FINAL MERGED BY ASFAND YARR.pdf for free?
You can preview and download "CS402 FINAL MERGED BY ASFAND YARR.pdf" (CS402 PDF, ~320 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs402-final-merged-by-asfand-yarr-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 Final-Term Exam Scope (Lectures 23 to 45) across 4 distinct lecture units (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- Theory of Automata
Solved MCQS Feb 12,2013
From Midterm Papers
MC100401285 Moaaz.pk@gmail.com Mc100401285@gmail.com PSMD01
FINALTERM EXAMINATION
Spring 2010
CS402- Theory of Automata (Session - 1)
Question No: 1 ( Marks: 1 ) - Please choose one
If r1 = (aa + bb) and r2 = ( a + b) then the language (aa + bb)(a + b) will be generated by
► (r1)(r2) (Page 10)
► (r1 + r2)
► (r2)(r1)
► (r1)*
Question No: 2 ( Marks: 1 ) - Please choose one
“One language can be expressed by more than one FA”. This statement is ______
► True (Page 14)
► False
► Some times true & sometimes false
► None of these
Question No: 3 ( Marks: 1 ) - Please choose one
Who did not invent the Turing machine?
► Alan Turing
► A. M. Turing (Page 140)
► Turing
► None of these
Question No: 4 ( Marks: 1 ) - Please choose one
Which statement is true?
► The tape of turing machine is infinite. (Page 140)
► The tape of turing machine is finite.
► The tape of turing machine is infinite when the language is regular
► The tape of turing machine is finite when the language is nonregular.
1
Question No: 5 ( Marks: 1 ) - Please choose one
A regular language:
► Must be finite (Page 11)
► Must be infinite
► Can be finite or infinite
► Must be finite and cannot be infinite
Question No: 6 ( Marks: 1 ) - Please choose one
Every regular expression can be expressed as CFG but every CFG cannot be expressed as a regular expression.
This statement is:
► Depends on the language
► None of the given options
► True (Page 97)
► False
Question No: 7 ( Marks: 1 ) - Please choose one
a b b
X1– X2+
a
Above given FA corresponds RE r. then FA corresponding to r* will be
z1±
b a
b a
z3+ z2 a
b
This statement is
► True (Page 38)
► False
► Depends on language
► None of these
2
Question No: 8 ( Marks: 1 ) - Please choose one
Consider the language L of strings, defined over Σ = {a,b}, ending in a
► There are finite many classes generated by L, so L is regular (Page 76)
► There are infinite many classes generated by L, so L is regular
► There are finite many classes generated by L, so L is non-regular
► There are infinite many classes generated by L, so L is non-regular
Question No: 9 ( Marks: 1 ) - Please choose one
aa,bb aa,bb
ab,ba
ab,ba
Above given TG has _____________ RE.
► (aa+aa+(ab+ab)(aa+ab)*(ab+ba))*
► (aa+bb+(ab+ba)(aa+bb)*(ab+ba))* (Page 22)
► (aa+bb+(ab+ba)(aa+bb)(ab+ba))*
► None of these
Question No: 10 ( Marks: 1 ) - Please choose one
The word „formal‟ in formal languages means
► The symbols used have well defined meaning
► They are unnecessary, in reality
► Only the form of the string of symbols is significant Click here for detail
► None of these
Question No: 11 ( Marks: 1 ) - Please choose one
Let A = {0, 1}. The number of possible strings of length „n‟ that can be formed by the elements of the set A is
► n!
► n2
► nm
► 2n
Question No: 12 ( Marks: 1 ) - Please choose one
Choose the correct statement.
► A Mealy machine generates no language as such
► A Moore machine generates no language as such
► A Mealy machine has no terminal state
► All of these click here for detail
3
Question No: 13 ( Marks: 1 ) - Please choose one
TM is more powerful than FSM because
► The tape movement is confined to one direction
► It has no finite state control
► It has the capability to remember arbitrary long sequences of input symbols Click here for detail
► None of these
Question No: 14 ( Marks: 1 ) - Please choose one
If L1 and L2 are expressed by regular expressions r1 and r2, respectively then the language expressed by r1 +
r2 will be _________
► Regular (Page 10)
► Ir-regular
► Can‟t be decided
► Another Language which is not listed here
Question No: 15 ( Marks: 1 ) - Please choose one
Like TG, a PDA can also be non-deterministic
► True (Page 111)
► False
Question No: 16 ( Marks: 1 ) - Please choose one
The above machine is a/anTG ___________
► Finite Automata
► Turing machine (Page 141)
► FA
► TG
Question No: 17 ( Marks: 1 ) - Please choose one
The language of all words (made up of a‟s and b‟s) with at least two a‟s can not be described by the regular
expression.
► a(a+b)*a(a+b)*(a+b)*ab*
► (a+b)* ab* a(a+b)*
► b*ab* a(a+b)*
► none of these
anbn {where n>0} is the language will at least one a and b and cannot be described by RE.
4
Question No: 18 ( Marks: 1 ) - Please choose one
In FA, if one enters in a specific state but there is no way to leave it, then that specific state is called
► Dead State
► Waste Basket
► Davey John Locker
► All of these (Page 17)
Question No: 19 ( Marks: 1 ) - Please choose one
If L is a regular language then, Lc is also a _____ language.
► Regular (Page 66)
► Non-regular
► Regular but finiteMore CS402 files
- All Subjects Mid & Final 25000 Pdf Files.pdf (PDF · Final-Term)
- CS402 - Final Term Solved Mcqs with references 2013 Paper By (PDF · Final-Term)
- CS402 - Final Term Solved Mcqs with references By Moaaz.pdf (PDF · Final-Term)
- CS402 - Final Term Solved Subjective with references By Moaa (PDF · Final-Term)
- CS402 - Final Term Solved Subjective with references By Moaa (PDF · Final-Term)
- CS402 Current Final Term Papers 2018 To 2020.pdf (PDF · Final-Term)
- CS402 Current Solved Subjective Final Term By JUNAID.pdf (PDF · Final-Term)
- CS402 Current Solved Subjective Final Term By JUNAID.pdf (PDF · Final-Term)