How to practice concept:context-free-languages

Attempt a question, record the concept and assumptions, then check the available answer. Rework mistakes after revising the relevant concepts. Topic tags can overlap; review the question context.

Questions 1–9 of 9. Imported answers require independent review unless marked reviewed.

Topic practice 9 questionsPage 1 of 1

Question 24

Open question
CSMCQ1 markNeeds review
Which ONE of the following languages is accepted by a deterministic pushdown automaton?
Your answerChoose one option.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 30

Open question
CSMSQ1 markNeeds review
Consider the two lists List I and List II given below:
List I
List II
(i) Context free languages
(a) Closed under union
(ii) Recursive languages
(b) Not closed under complementation
(iii) Regular languages
(c) Closed under intersection
For matching of items in List I with those in List II, which of the following option(s) is/are CORRECT?
Your answerSelect all correct options. You can choose more than one.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 45

Open question
CSMCQ2 marksNeeds review
Consider the following two languages over the alphabet

, where

and

are natural numbers.


Which ONE of the following statements is CORRECT?
Your answerChoose one option.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 24

Open question
CSMSQ1 markNeeds review
Which of the following statements is/are CORRECT?
Your answerSelect all correct options. You can choose more than one.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 23

Open question
CSMSQ1 markNeeds review
Which of the following statements is/are TRUE?
Your answerSelect all correct options. You can choose more than one.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 1

Open question
CSMCQ1 markNeeds review
Suppose that

is a regular language and

is a context-free language. Which one of the following languages is NOT necessarily context-free?
Your answerChoose one option.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 12

Open question
CSMSQ1 markNeeds review
Let

be a regular language and

be a context-free language. Which of the following languages is/are context-free?
Your answerSelect all correct options. You can choose more than one.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 4

Open question
CSMCQ1 markNeeds review
Let L₁, L₂ be any two context-free languages and R be any regular language. Then which of the following is/are CORRECT?
I. L₁ ∪ L₂ is context-free. II. L̅₁ is context-free. III. L₁ − R is context-free. IV. L₁ ∩ L₂ is context-free.
Your answerChoose one option.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 38

Open question
CSMCQ2 marksNeeds review
Consider the following languages over the alphabet

. Let

and

.
Which of the following are context-free languages?
I.

II.

Your answerChoose one option.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer