Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 3 MCQs FORMAL LANGUAGES

CSE322 50 questions. Pick an option to check it.

Read the notes Subjective questions

0 of 50 answered 0 right 0 wrong , 50 left

  1. Question 1 of 50

    What is the formal definition of a Grammar in Formal Language Theory?

  2. Question 2 of 50

    In the grammar tuple , what does the intersection of and yield?

  3. Question 3 of 50

    Which mathematical notation correctly denotes the language generated by a grammar ?

  4. Question 4 of 50

    What is a 'derivation' in the context of formal grammars?

  5. Question 5 of 50

    In a leftmost derivation, which non-terminal is replaced at each step?

  6. Question 6 of 50

    What is a sentential form?

  7. Question 7 of 50

    According to the Chomsky Hierarchy, Type 0 grammars generate which class of languages?

  8. Question 8 of 50

    Which type of grammar corresponds to Context-Free Languages in the Chomsky Hierarchy?

  9. Question 9 of 50

    What is the proper subset relation defining the Chomsky hierarchy, where denotes Type languages?

  10. Question 10 of 50

    What is the primary constraint on the production rules for a Type 1 (Context-Sensitive) grammar?

  11. Question 11 of 50

    What is the only valid exception to the length-increasing rule () in a Context-Sensitive Grammar?

  12. Question 12 of 50

    What is the defining constraint on the production rules of a Type 2 (Context-Free) grammar?

  13. Question 13 of 50

    Which of the following describes the production rules for a Type 3 (Regular) grammar?

  14. Question 14 of 50

    What is the only restriction on the production rules for a Type 0 (Unrestricted) grammar?

  15. Question 15 of 50

    Which computational model strictly corresponds to Recursively Enumerable (Type 0) languages?

  16. Question 16 of 50

    Which computational model strictly corresponds to Context-Sensitive (Type 1) languages?

  17. Question 17 of 50

    Which computational model strictly corresponds to Context-Free (Type 2) languages?

  18. Question 18 of 50

    Which computational model strictly corresponds to Regular (Type 3) languages?

  19. Question 19 of 50

    By definition, a language is called 'Recursive' if:

  20. Question 20 of 50

    By definition, a language is called 'Recursively Enumerable' (RE) if:

  21. Question 21 of 50

    Which of the following is true regarding the complement of a Recursive language?

  22. Question 22 of 50

    What can be said about the complement of a Recursively Enumerable (RE) language that is NOT Recursive?

  23. Question 23 of 50

    What does Post's Theorem state regarding formal languages?

  24. Question 24 of 50

    How is the Halting Problem classified in formal language theory?

  25. Question 25 of 50

    The intersection of a Context-Free Language (CFL) and a Regular Language is always:

  26. Question 26 of 50

    Are Context-Free Languages (CFLs) closed under intersection?

  27. Question 27 of 50

    Which of the following describes the generic form of production rules in a Right-Linear Grammar?

  28. Question 28 of 50

    Which of the following describes the generic form of production rules in a Left-Linear Grammar?

  29. Question 29 of 50

    If a grammar freely mixes left-linear rules (e.g., ) and right-linear rules (e.g., ), what type of grammar is it?

  30. Question 30 of 50

    Every valid Regular Grammar (either strictly right-linear or strictly left-linear) generates:

  31. Question 31 of 50

    Which operation are Regular Languages NOT necessarily closed under?

  32. Question 32 of 50

    Which right-linear regular grammar correctly generates the regular expression ?

  33. Question 33 of 50

    Which right-linear regular grammar correctly generates the regular expression ?

  34. Question 34 of 50

    Which right-linear regular grammar correctly generates the regular expression ?

  35. Question 35 of 50

    Arden's Theorem is primarily utilized for which of the following purposes in Formal Language Theory?

  36. Question 36 of 50

    Arden's Theorem states that for sets , and , the equation has a unique solution provided what condition is met?

  37. Question 37 of 50

    Under Arden's Theorem, if and does not contain , what is the unique solution for ?

  38. Question 38 of 50

    For the language equation (which arises from right-linear grammars), if does not contain , what is the unique solution for ?

  39. Question 39 of 50

    Convert the right-linear grammar into an equivalent Regular Expression.

  40. Question 40 of 50

    Convert the left-linear grammar into an equivalent Regular Expression.

  41. Question 41 of 50

    Find the regular expression for the right-linear grammar: , .

  42. Question 42 of 50

    Find the regular expression for the grammar: , .

  43. Question 43 of 50

    Is every Context-Free Language also a Regular Language?

  44. Question 44 of 50

    Every Context-Free Language is also a:

  45. Question 45 of 50

    Which of the following languages is strictly Context-Free but NOT Regular?

  46. Question 46 of 50

    Which of the following languages is Context-Sensitive but NOT Context-Free?

  47. Question 47 of 50

    Two formal languages and are said to be equivalent if and only if:

  48. Question 48 of 50

    Which of the following statements about the union of Recursive and Recursively Enumerable languages is TRUE?

  49. Question 49 of 50

    What kind of grammar allows rules where the left-hand side can be any string containing at least one non-terminal, and the right-hand side can be shorter than the left-hand side?

  50. Question 50 of 50

    Which automaton corresponds to a language formed by freely mixing left-linear and right-linear grammar rules (A Linear Grammar)?

That's unit 3

Answer a few questions and your score shows up here.