1. Home
  2. Computer Science MCQs
  3. Algorithms and Data Structures
  4. In formal language theory, which grammar generates the…

Added 12 Sep 2025

In formal language theory, which grammar generates the context-sensitive languages?

  1. Type 0
  2. Type 1 Correct answer
  3. Type 2
  4. Type 3

Correct answer

B. Type 1

16 views

MCQSEXAM

Explanation

Type 1 grammars in the Chomsky hierarchy generate context-sensitive languages.

Reference

Asked in: GATE CS, UGC NET CS

https://www.geeksforgeeks.org/chomsky-hierarchy-in-theory-of-computation/

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Algorithms and Data Structures MCQs

Practise all Algorithms and Data Structures MCQs

Similar MCQs