CS402 Mcqs MidTerm By Vu Topper RM-1-1.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
- Midterm
- Coverage
- Mid-Term Exam Scope (Lectures 1 to 22)
- Tags
- MCQ, 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 Mcqs MidTerm By Vu Topper RM-1-1.pdf for free?
You can preview and download "CS402 Mcqs MidTerm By Vu Topper RM-1-1.pdf" (CS402 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs402-mcqs-midterm-by-vu-topper-rm-1-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 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
CS402 Theroy Of Automata
Update MCQS For MidTerm
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. 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
C. None of these
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
Decomposing a string into its valid units is referred as:
A. Decomposing
For More Help Contact What’s app 03224021365
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
starts and ends in different letters will be:
A. 1
B. 2
C. 3More CS402 files
- CS402 Grand Quiz file for Mid Term Prepration by VU Stars.pd (PDF · Midterm)
- CS402 Grand Quiz file for Mid Term Prepration by VU Stars.pd (PDF · Midterm)
- CS402 MIDTERM FILE 1 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS402 MIDTERM FILE 1 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS402 MIDTERM FILE 2 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS402 MIDTERM FILE 3 SOLVED BY TEAM HADI.pdf (PDF · Midterm)
- CS402 MIDTERM SOLVED MCQS By JUNAID-1.pdf (PDF · Midterm)
- CS402 MIDTERM SOLVED MCQS By JUNAID.pdf (PDF · Midterm)