Header Ads

ad728
  • Latest

    Chomsky Normal Form Automata Theory Multiple Choice Questions with Answers



    Automata Theory Multiple Choice Questions & Answers (MCQs) focuses on “Chomsky Normal Form”.


    1. The format: A->aB refers to which of the following?
    a) Chomsky Normal Form
    b) Greibach Normal Form
    c) Backus Naur Form
    d) None of the mentioned
    View Answer




    2. Which of the following does not have left recursions?
    a) Chomsky Normal Form
    b) Greibach Normal Form
    c) Backus Naur Form
    d) All of the mentioned
    View Answer


    3. Every grammar in Chomsky Normal Form is:
    a) regular
    b) context sensitive
    c) context free
    d) all of the mentioned
    View Answer


    4. Which of the production rule can be accepted by Chomsky grammar?
    a) A->BC
    b) A->a
    c) S->e
    d) All of the mentioned
    View Answer



    5. Given grammar G:
    (1)S->AS
    (2)S->AAS
    (3)A->SA
    (4)A->aa
    Which of the following productions denies the format of Chomsky Normal Form?
    a) 2,4
    b) 1,3
    c) 1, 2, 3, 4
    d) 2, 3, 4
    View Answer


    6. Which of the following grammars are in Chomsky Normal Form:
    a) S->AB|BC|CD, A->0, B->1, C->2, D->3
    b) S->AB, S->BCA|0|1|2|3
    c) S->ABa, A->aab, B->Ac
    d) All of the mentioned
    View Answer


    7. With reference to the process of conversion of a context free grammar to CNF, the number of variables to be introduced for the terminals are:
    S->ABa
    A->aab
    B->Ac
    a) 3
    b) 4
    c) 2
    d) 5
    View Answer



    8. In which of the following, does the CNF conversion find its use?
    a) CYK Algorithm
    b) Bottom up parsing
    c) Preprocessing step in some algorithms
    d) All of the mentioned
    View Answer


    9. Let G be a grammar. When the production in G satisfy certain restrictions, then G is said to be in ___________.
    a) restricted form
    b) parsed form
    c) normal form
    d) all of the mentioned
    View Answer


    10. Let G be a grammar: S->AB|e, A->a, B->b
    Is the given grammar in CNF?
    a) Yes
    b) No
    View Answer





    No comments

    Post Top Ad

    ad728

    Post Bottom Ad

    ad728