cs402-2nd-quiz-FOR-MIDSOLVED.pdf
Verified academic study resource for CS402 (Theory of Automata) under the Computer Science at Virtual University of Pakistan. This PDF document (Midterm Solved Past Paper & Revision File) covers Mid-Term Exam Scope (Lectures 1 to 22) spanning approximately 240 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
- Quiz
- Coverage
- Mid-Term Exam Scope (Lectures 1 to 22)
- Tags
- MIDTERM
Focus on core definitions and repeated MCQs from Lectures 1–22. Remember that scoring in the First Half builds your safety buffer toward the mandatory 20% Two-Half passing rule in CS402.
What this file covers — CS402 syllabus roadmap
- Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
- Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
- Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
- Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
Frequently asked questions
Where can I download cs402-2nd-quiz-FOR-MIDSOLVED.pdf for free?
You can preview and download "cs402-2nd-quiz-FOR-MIDSOLVED.pdf" (CS402 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs402-2nd-quiz-for-midsolved-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 Mid-Term Exam Scope (Lectures 1 to 22) across 4 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22), 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
www.vuplanet.com
Question # 1 of 10 ( Start time: 10:05:07 PM ) Total Marks: 1
According to Myhill Nerode theorem, if L generates finite no. of classes then L is.......
Select correct option:
Finite
Infinite
Regular
OK
Non regular
The strings or words which do not belong to a language is called…………. of that language
Question # 2 of 10 ( Start time: 10:06:09 PM ) Total Marks: 1
The strings or words which do not belong to a language is called…………. of that language
Select correct option:
Intersection
Union
Complement
ok
Quotient
www.vuplanet.com
www.vuplanet.com
Question # 3 of 10 ( Start time: 10:07:38 PM ) Total Marks: 1
a^n b^n generates the ………… language
Select correct option:
regular
non regular
ok
EQUAL and non regular
EQUAL and regular
Question # 4 of 10 ( Start time: 10:08:35 PM ) Total Marks: 1
The values of input (say a & b) does not remain same in one cycle due to
Select correct option:
NAND gate
Clock pulse
OK
OR gate
NOT gate
www.vuplanet.com
www.vuplanet.com
In pumping lemma theorem (x y^n z) the range of n is
Select correct option:
n=1, 2, 3, 4……….
OK
n=0, 1, 2, 3, 4……….
n=…….-3,-2,-1, 0, 1, 2, 3, 4……
n=…….-3,-2,-1, 1, 2, 3, 4……
Question # 6 of 10 ( Start time: 10:11:10 PM ) Total Marks: 1
For language L defined over {a, b},then L partitions {a, b}* into …… classes
Select correct option:
Infinite
Finite
Distinct
OK
Non distinct
www.vuplanet.com
www.vuplanet.com
Question # 7 of 10 ( Start time: 10:11:43 PM ) Total Marks: 1
If the intersection of two regular languages is regular then the complement of the intersection of these two languages is
also regular
Select correct option:
True
OK
False
Question # 8 of 10 ( Start time: 10:12:20 PM ) Total Marks: 1
A non regular language can be represented by
Select correct option:
RE
FA
TG
None of the given options
OK
www.vuplanet.com
www.vuplanet.com
Question # 9 of 10 ( Start time: 10:12:41 PM ) Total Marks: 1
Set of all palindromes over {a,b}is regular
Select correct option:
True
False
OK
Question # 10 of 10 ( Start time: 10:13:05 PM ) Total Marks: 1
The complement of a regular language is also a regular
Select correct option:
True
OK
False
Question # 8 of 10 ( Start time: 10:24:38 PM ) Total Marks: 1
Two languages are said to belong to same class if they end in the same state when they run over an FA, that state
Select correct option:
Must be final state
May be final state or not
OK
May be start state or not
www.vuplanet.com
www.vuplanet.com
None of the given option
Question # 9 of 10 ( Start time: 10:25:54 PM ) Total Marks: 1
If L1 and L2 are regular languages then which statement is NOT true?
Select correct option:
L1 + L2 is always regular
L1 L2 is always regular
L1/L2 is always regular
OK
L1* is always regular
www.vuplanet.com
www.vuplanet.com
Question # 6 of 10 ( Start time: 10:32:51 PM ) Total Marks: 1
For a non regular language there exist …… FA
Select correct option:
One
At least one
At most one
No
OK
www.vuplanet.com
More CS402 files
- CS-402-Solved-Quiz-Reference-by-Fara-Nasir.zip (ARCHIVE · Quiz)
- CS402 QUIZ-2 LEC (29 to 40) By JUNAID.pdf (PDF · Quiz)
- CS402 GRAND QUIZ (VUAnswer.com).pdf (PDF · Quiz)
- CS402 GRAND QUIZ BY JUNAID (1).pdf (PDF · Quiz)
- CS402 GRAND QUIZ BY JUNAID.pdf (PDF · Quiz)
- CS402 GRAND QUIZ BY JUNAID.pdf (PDF · Quiz)
- CS402 GRAND QUIZ.pdf (PDF · Quiz)
- CS402 Grand Quiz 2021 by HUSSNAIN ALI.pdf (PDF · Quiz)