CS402_MID_SPRING2007_S4.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
- Study Resource
- Coverage
- Mid-Term Exam Scope (Lectures 1 to 22)
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_MID_SPRING2007_S4.pdf for free?
You can preview and download "CS402_MID_SPRING2007_S4.pdf" (CS402 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs402-mid-spring2007-s4-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.VUPages.com
http://forum.vupages.com
Largest Online Community of VU Students
MIDTERM EXAMINATION
SPRING 2007 Marks: 35
CS402 - THEORY OF AUTOMATA (Session - 4 ) Time: 90min
StudentID/LoginID: ______________________________
Student Name: ______________________________
Center Name/Code: ______________________________
Exam Date: Saturday, April 28, 2007
1. This examination is closed book, closed notes, closed neighbors.
2. Answer all questions.
a. There is no choice.
b. You will have to answer correctly all questions in this examination to
get the maximum possible marks.
3. Do not ask any questions about the contents of this examination from
anyone.
a. If you think that there is something wrong with any of the questions,
attempt it to the best of your understanding.
b. If you believe that some essential piece of information is missing, make
an appropriate assumption and use it to solve the problem.
You are allowed to use only MS Word for drawing Diagrams and Symbols.
**WARNING: Please note that Virtual University takes serious note of unfair means.
Anyone found involved in cheating will get an `F` grade in this course.
For Teacher's use only
Question 1 2 3 4 5 6 7 8 9 10 Total
Marks
Question 11 12 13 14 15 16 17 18
Marks
Question
Marks
Question No: 1 ( Marks: 1 ) - Please choose one
Length of a null string is supposed to be 1.
► True
► False
Question No: 2 ( Marks: 1 ) - Please choose one
There is no difference between Word and String
► True
► False
Question No: 3 ( Marks: 1 ) - Please choose one
There may be two RE representing the same language.
► True
► False
Question No: 4 ( Marks: 1 ) - Please choose one
NFA – null can be considered as TG and vise versa.
► True
► False
Question No: 5 ( Marks: 1 ) - Please choose one
∑ = {aA, b}, length(aAbaAaAb) = 5.
► True
► False
Question No: 6 ( Marks: 1 ) - Please choose one
If s=abcd is a string defined over ∑ = {a,b,c,d} then reverse of s is dcba.
► True
► False
Question No: 7 ( Marks: 1 ) - Please choose one
The language equal means number of a’s and b’s are equal with no null string.
► True
► False
Question No: 8 ( Marks: 1 ) - Please choose one
Palindrome is a regular language.
► True
► False
Question No: 9 ( Marks: 1 ) - Please choose one
If s = babab then palindrome of s = rev(s).
► True
► False
Question No: 10 ( Marks: 1 ) - Please choose one
TG must have only one start state.
► True
► False
Question No: 11 ( Marks: 1 ) - Please choose one
If a language can be accepted by FA then it can be accepted by a TG as well.
► True
► False
Question No: 12 ( Marks: 1 ) - Please choose one
Length of output string is 1 less then that of input string is mealy machine.
► True
► False
Question No: 13 ( Marks: 1 ) - Please choose one
Formal languages are called Semantic languages.
► True
► False
Question No: 14 ( Marks: 1 ) - Please choose one
Every NFA can be converted to an FA
► True
► False
Question No: 15 ( Marks: 1 ) - Please choose one
In mealy machine output character are mentioned on the transition.
► True
► False
Question No: 16 ( Marks: 8 )
Differentiate between the following terms:
• Mealy and Moore machine.
• NFA and FA.
Question No: 17 ( Marks: 5 )
Build an FA corresponding to NFA given below.
q1 b
a
b
q0 +q3
Question No: 18 ( Marks: 7 )
Build an NFA equivalent to FA1U FA2, where FA1, FA2 are given below.
FA1
b a,b
a
q a
p- +
b
FA2
2 a
4
a a
b a,b
1– a b 6+
b a b
3 b
3
5
More CS402 files
- (cs402).docx (DOC · Study Resource)
- CS402 BY S KHAN ACADEMY-1.pdf (PDF · Study Resource)
- CS402-FAQ-AutomataTheory.pdf (PDF · Study Resource)
- CS402-MID-fall-2010-08-12-2010.pdf (PDF · Study Resource)
- CS402.Sol By F . Files preparation. Group.pdf (PDF · Study Resource)
- CS402_01_MID_Spring2009-1 By study with hamza 25 (subscribe) (PDF · Study Resource)
- CS402_Quiz_2026-01-05.pdf (PDF · Study Resource)
- cs402 .pdf (PDF · Study Resource)