CS402 Lec1-22 srch mcqs.pdf

Verified academic study resource for CS402 (Theory of Automata) under the Computer Science at Virtual University of Pakistan. This PDF document (Mega Solved MCQs Question Bank) covers Full Course Curriculum 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
MCQ Bank
Coverage
Full Course Curriculum
Tags
MCQ

Cross-verify solutions against official lecture handouts. Practice active recall before checking answers to ensure true concept retention.

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 Lec1-22 srch mcqs.pdf for free?

You can preview and download "CS402 Lec1-22 srch mcqs.pdf" (CS402 PDF, ~180 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs402-lec1-22-srch-mcqs-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 Full Course Curriculum 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

CS402 Midterm
   MCQS
1. In the context of make NFA for the concatenation of FA1 and FA2 (none accepting
   null string), which of the following option is correct?
                  No initial state in FA1 only

2. In the context of make NFA for the concatenation of FA1 and FA2 (FAs accepting
   null string), which of the following option is correct?
              Final states in both FAs

3. In the context of make NFA for the concatenation of FA1 and FA2 (Both FAs
   accepting null string), which of the following option is correct?
               Final states in both FAs

4. In the context of make NFA for the concatenation of FA1 and FA2 (FA2 accepting
   null string), which of the following option is correct?
                  Final states in both FAs

5. In the context of make NFA for the concatenation of FA1 and FA2 (FA1 accepting
   null string), which of the following option is correct?

                   final states in both FAs

6. Let FA3 be an FA corresponding to FA1FA2, then the initial state of FA3 must
   correspond to the initial state of

                      FA1…..confirm

7. Let FA3 be an FA corresponding to FA1FA2, then the initial state of FA3 must
   correspond to the Final state of

                   FA2 only…..confirm

8. If two finite state machines are equivalent they should have the same number of
   _____.

                None of these….confirm

9. Let FA1 accepts many strings and FA2 accepts none then FA1+FA2 will be equal to:

                      FA2 - FA1……confirm

10. Corresponding to union of FAs is built introducing a new start state and connect it
    to the states originally connected to the old start state with the ___ transition as the
    old start state.

                    Same…..confirm

11. While developing NFA for the union of FA1 and FA2 if there is a loop of a at the
    initial state of FA1 then the new initial state will have a transition for a that goes
    straight to

             The initial state of FA1

12. Let L be the language of all strings, defined over = (0,1) ,ending in 111.which of
    the following strings Are indistinguishable with respect to L with z being 111?

                  111,010

13. Moore machine can have ________ final state

                     Zero

14. If we have an NFA having 3 states and we convert that NFA to an FA. The resultant
    FA will contains _______ states

                                 2

15. Let FA1 has x number of states and FA2 has y number of states. Now FA1+FA2 can
    have maximum ____ number of states.

                 None of the given option….confirm

16. If we have only one state, having no transition for input letters then it is an example
    of:

                         NFA….confirm

   Let L be the language of all strings, defined over = (0,1) ,ending in 111.which of the
   following strings Are distinguishable with respect to L with z being 111?

                       010,101

17. _______ state is not important in Melay machine.

              Final…..confirm

18. Which of the following is not a step in elimination of states procedure?

    Unify single transitions to multi transitions that contains union of input…confirm

19. If we have input 110010111 and the machine generates the 001101000 as an output,
    then that machine will be called?

                               Moore machine….confirm

20. 1’s complement for 01101 will be

               10010….confirm

21. Dead states are defined as:
                None of the given option…..confirm

22. In the context of make NFA for the concatenation of FA1 and FA2 (FA2 accepting
    null string) which of the following option is correct?

                    FA2 having final state only

23. Strings x,y,z belongs to ∑* such that xz∈ L but yz∉ L or yz ∉ L but yz ∈ L where L
    ⊆∑* are:
                       Distinguishable…..confirm

24. Strings x,y,z belongs to ∑* such that both xz or yz ∈ L or both don’t belong where
    L⊆∑* are:
                      Indistinguishable……confirm

25. Let FA3 be an corresponding to FA1FA2 then the initial state of FA3 must
    correspond to the initial state of

                           FA1 only…..confirm

26. Let FA3 be an corresponding to FA1FA2 then the final state of FA3 must
    correspond to the initial state of

                         FA2 only…..confirm

27. NFA corresponding to union of FAs is built by introducing a new state and connect
    it to the states originally connected to the old start state with the ____ transition as
    the old start state.

                        Same…..confirm

28. Consider we have languages L7 and L6. Which of the following represents their
    concatenation?

                          L7+L6…..confirm

29. There _______ be dead states in NFA.
                   Will

30. 1 Let FA1 accepts many strings and FA2 accepts none then FA1+FA2 will be equal
    to
                  FA2-FA1

31. If FA1 corresponds to (a+b)* then FA1 must accept ___________ string/strings.
                  Every

32. The minimum length of the strings(except null string) of a language that starts and
    ends in the same letters will be:
                                      2

33. A regular language can be:

                    None of the given options

34. There ______ a language for which only FA can be built but not the RE.

                        may not be

35. For every three regular expressions R, S, and T, the languages denoted by R(S U T)
    and (RS) U (RT) are the ______ .
                  Same

36. In _______ there must be transition for all the lettersof a string.
                             FA

37. We cannot construct an NFA for the language of ______ defined over alphabet set
    {a,b}.
                Palindromes

38. Decomposing a string into its valid units is referred as:
                    Tokenizing

39. In concatenation we accept the initial state of FA2 automatically after the final state
    of FA1 because of:
                       We need just one initial state (correct)

More CS402 files

All CS402 files · Midterm Prep 2026 · MCQs Bank