Header Ads

ad728
  • Latest

    Operators of Regular Expression Introduction Automata Theory Multiple Choice Questions with Answers



    This set of Automata Theory Multiple Choice Questions & Answers (MCQs) focuses on “Operators of Regular Expression”.


    1. A finite automaton accepts which type of language:
    a) Type 0
    b) Type 1
    c) Type 2
    d) Type 3
    View Answer



    2. Which among the following are incorrect regular identities?
    a) εR=R
    b) ε*=ε
    c) Ф*=ε
    d) RФ=R
    View Answer


    3. Simplify the following regular expression:
    ε+1*(011) *(1*(011) *) *
    a) (1+011) *
    b) (1*(011) *)
    c) (1+(011) *) *
    d) (1011) *
    View Answer


    4. P, O, R be regular expression over ∑, P is not ε, then
    R=Q + RP has a unique solution:


    a) Q*P
    b) QP*
    c) Q*P*
    d) (P*O*) *
    View Answer



    5. Arden’s theorem is true for:
    a) More than one initial states
    b) Null transitions
    c) Non-null transitions
    d) None of the mentioned
    View Answer


    6. The difference between number of states with regular expression (a + b) and (a + b) * is:
    a) 1
    b) 2
    c) 3
    d) 0
    View Answer


    7. In order to represent a regular expression, the first step to create the transition diagram is:
    a) Create the NFA using Null moves
    b) Null moves are not acceptable, thus should not be used
    c) Predict the number of states to be used in order to construct the Regular expression
    d) None of the mentioned
    View Answer


    8. (0+ε) (1+ε) represents
    a) {0, 1, 01, ε}
    b) {0, 1, ε}
    c) {0, 1, 01 ,11, 00, 10, ε}
    d) {0, 1}
    View Answer



    9. The minimum number of states required to automate the following Regular Expression:
    (1) *(01+10) (1) *
    a) 4
    b) 3
    c) 2
    d) 5
    View Answer


    10. Regular Expression denote precisely the ________ of Regular Language.
    a) Class
    b) Power Set
    c) Super Set
    d) None of the mentioned
    View Answer


    No comments

    Post Top Ad

    ad728

    Post Bottom Ad

    ad728