CS402 MID MCQS 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 (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
PDF
Type
MCQ Bank
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

  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)

Frequently asked questions

Where can I download CS402 MID MCQS BY ASFAND YARR.pdf for free?

You can preview and download "CS402 MID MCQS BY ASFAND YARR.pdf" (CS402 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs402-mid-mcqs-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 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 MID MCQS FILES BY
                ASFAND YARR                         SOURCE: ALL OVER THE INTERNET
                                                       MIDTERM SOLVED MCQS
                   NOTE: SOME MCQS WERE NOT CONFRIMED THAT’S WHY THEY ARE LEFT UNMARKED.
                                        VU ALL FILES: VUALLFILESPASTPAPERMID&FINALQUIZ
                                HOW TO DOWNLOAF VU ALL FILES: HOW TO DOWNLOAD ALL FILES
                                        VU FILESHARING GROUP: FILE SHARING GROUP
                                                VU QUIZ GROUP: QUIZ GROUP
           THIS FILE WILL BE UPDATED TIME TO TIME. IF U WANT UPDATED FILES THEN JOIN GROUP ABOVE MENTIONED

Sr.No     MCQS                                                                                               ANSWER
    1.    Which of the following steps replaces multiple incoming transition edges with a                    3
          single one proving Kleene’s theorem part II?
    2.    Let FA1 accepts many strings and FA2 accepts no strings, then FA1+FA2 will be                      FA1
          equal to:
    3.    Let L be the language of all strings, defined over ∑ =(0,1), ending in 10. Which of                (111,101 )or (010,101)
          the following strings are indistinguishable w.r.t L with z being 0?
    4.    If r1=(aa+bb)and r2=(a+b) then the language (aa+bb)(a+b) will bhe generated                        (r)(r2)
          by
    5.    Introducing a new start state in the case of multiple states is step no.         of                1
          proving Kleen’s theorem part II.
    6.    The language having even numbers of a’s and even number of b’s defined over                        EVEN-EVEN
          S={a,b} is called
    7.    In NFA having no transition at a certain state, FA can be built by introducing :                   Empty state

    8.  For every three regular expression R, S, and T. the language denoted by R(S U T)                     Same
        and (RS)U(RT) are the
    9. Which of the following string belongs to the language of the regular expression                       aabaab
        (aa*b)?
    10. If L1’ and L2’ are regular languages, then L1, L2 will be                                            Regular

    11. Suppose the language L1 has 2 L2 has 2 states. If we have a machine M that                           4
        accepts L1∩L2. Then the total number of states in M is equal to
    12. If L is a regular language, then (L’)’ U L will be:                                                  L

    13. In Mealy machine, the output depends on                                                              Present state and Present
                                                                                                             output
    14. Strings x,y,z belongs to ∑* such that xz ∈ L but yz ∉ L where L ⊆ ∑* are:                            Distinguishable

    15. Mealy machine to increase the output string in magnitude by 1 is called:                             Incrementing machine

    16. Suppose we have FA3 (which is to FA1+FA2) then the final state of FA3 will be                        It corresponds to any of the
        declared final if:                                                                                   final states of FA1 or FA2
    17. If we have the finite language and the number of states in the FA is n then the                      n+1
        maximum number of letter in each word of the language that will be accepted
        by the given FA will be :
    18. Which of the following state is introduced while developing NFA for the closure                      An initial state which should
        of FA?                                                                                               be final as well
 This study source was downloaded by 100000859633799 from CourseHero.com on 11-19-2023 23:11:37 GMT -06:00

 https://www.coursehero.com/file/97526975/CS402-FILEdocx/

  19. Length of EVEN-EVEN language is                                                                       Even

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

  21. In FA, initial stage is represented by :                                                              Drawing an arrowhead
                                                                                                            before the state
  22. Which one of the following machine is represented as a pictorial representation                       Mealy machine
      with states and directed edges labeled by an input letter along with an output
      character?

This study source was downloaded by 100000859633799 from CourseHero.com on 11-19-2023 23:11:37 GMT -06:00

https://www.coursehero.com/file/97526975/CS402-FILEdocx/

  23. Length of machine “AbBAbcd“ defined over ∑=(Ab,B,c,d) is                             .                Five

  24. An FA is a collection of:                                                                             Finite states , finite transition
                                                                                                            and finite input letter
  25. Given the language L={ab, aa, baa}, which of the following strings are in L*?                         1,2 & 4
               i) abaabaaabaa
               ii) aaaabaaaa
               iii) baaaaabaaaab
               iv) baaaaabaa
  26. In the context to make NFA for the concentration of FA1 and FA2 (FA1 accepting                        Final states in both FAs
      null string) which of the following option is correct?
  27. Every        is a  as well, but the converse may not be true.                                         FA, TG

  28. NFA with null string has                initial state(s).                                             One

  29. While finding RE corresponding to a TG, we connect the new start state with the                       Null

More CS402 files

All CS402 files · Midterm Prep 2026 · MCQs Bank