Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Tests  >  Question Bank for GATE Computer Science Engineering  >  Test: Pushdown Automata: CFL & DCFL- 1 - Computer Science Engineering (CSE) MCQ

Test: Pushdown Automata: CFL & DCFL- 1 - Computer Science Engineering (CSE) MCQ


Test Description

10 Questions MCQ Test Question Bank for GATE Computer Science Engineering - Test: Pushdown Automata: CFL & DCFL- 1

Test: Pushdown Automata: CFL & DCFL- 1 for Computer Science Engineering (CSE) 2024 is part of Question Bank for GATE Computer Science Engineering preparation. The Test: Pushdown Automata: CFL & DCFL- 1 questions and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus.The Test: Pushdown Automata: CFL & DCFL- 1 MCQs are made for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: Pushdown Automata: CFL & DCFL- 1 below.
Solutions of Test: Pushdown Automata: CFL & DCFL- 1 questions in English are available as part of our Question Bank for GATE Computer Science Engineering for Computer Science Engineering (CSE) & Test: Pushdown Automata: CFL & DCFL- 1 solutions in Hindi for Question Bank for GATE Computer Science Engineering course. Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free. Attempt Test: Pushdown Automata: CFL & DCFL- 1 | 10 questions in 30 minutes | Mock test for Computer Science Engineering (CSE) preparation | Free important questions MCQ to study Question Bank for GATE Computer Science Engineering for Computer Science Engineering (CSE) Exam | Download free PDF with solutions
Test: Pushdown Automata: CFL & DCFL- 1 - Question 1

Which of the following is not true?

Detailed Solution for Test: Pushdown Automata: CFL & DCFL- 1 - Question 1

 cannot be accepted by the deterministic PDA since guessing of the alphabet after which reversal is done is required. One must have to guess the end of w, so that start of wR is found. The word cannot be determined deterministically as w ∈ (0 + 1)* which includes multiple combinations.

Test: Pushdown Automata: CFL & DCFL- 1 - Question 2

Which of the following statements are true?
(i) The complement of a language is always regular.
(ii) The intersection of regular languages is regular.
(iii) The complement of a regular language is regular.

Detailed Solution for Test: Pushdown Automata: CFL & DCFL- 1 - Question 2

According to the closure properties regular language is closed under union, intersection, Kleen closure, concatenation, complementation. But the complementation of any language need not to be always regular.

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: Pushdown Automata: CFL & DCFL- 1 - Question 3

Which of the following is not true?

Detailed Solution for Test: Pushdown Automata: CFL & DCFL- 1 - Question 3

According to closure properties regular languages are closed under the ail finite basic operations like:  
But CFL is closed only under 
Also Regular inter section of CFL i.e. CFL intersected with regular language.

Test: Pushdown Automata: CFL & DCFL- 1 - Question 4

Context-free languages and regular languages are both closed under the operations(s) of
(i) Union
(ii) Intersection
(iii) Concatenation

Detailed Solution for Test: Pushdown Automata: CFL & DCFL- 1 - Question 4

Regular and context free languages are both closed under union and concatenation while only regular is closed under intersection.

Test: Pushdown Automata: CFL & DCFL- 1 - Question 5

Which of the following languages are context free 

Detailed Solution for Test: Pushdown Automata: CFL & DCFL- 1 - Question 5

In L1 only one stack is required since only one comparison is there. While for Land Ltwo stacks are required since there are 2 comparisons. So, only L1 is context free language as it is accepted by PDA.

Test: Pushdown Automata: CFL & DCFL- 1 - Question 6

If L1, is regular and L2 is CFL over ∑* which of the following statement is incorrect?

Detailed Solution for Test: Pushdown Automata: CFL & DCFL- 1 - Question 6

Since L1 and L2 are regular and context free languages respectively CFL are closed under regular ∪, ∩, therefore
(a) L1 ∪ L2 is CFL and therefore regular too.
(b) L1 ∩ L2 is not regular
(c) L1 * is regular

Test: Pushdown Automata: CFL & DCFL- 1 - Question 7

Context free languages are closed under

Detailed Solution for Test: Pushdown Automata: CFL & DCFL- 1 - Question 7

Out of the four operations given, as per the closure properties CFL are closed under only union.

Test: Pushdown Automata: CFL & DCFL- 1 - Question 8

Which of the following languages is/are context free?

Detailed Solution for Test: Pushdown Automata: CFL & DCFL- 1 - Question 8

Here for the languages (i) and (ii) we can design a PDA Hence they are CFL.
In (iii) and (iv) we cannot conclude whether number of (a) = number of (c) and number of (b) = number of (d) using only one stack memory so they aren’t CFL.

Test: Pushdown Automata: CFL & DCFL- 1 - Question 9

Which of the following is undecidable?

Test: Pushdown Automata: CFL & DCFL- 1 - Question 10

Context-free language can be recognized by

Detailed Solution for Test: Pushdown Automata: CFL & DCFL- 1 - Question 10

Since the power of recognization of NFA is less then the PDA. Also CFL can be recognized by the one which has equal or higher power than the PDA. Both PDA and LBA can recognize the CFL.

63 videos|8 docs|165 tests
Information about Test: Pushdown Automata: CFL & DCFL- 1 Page
In this test you can find the Exam questions for Test: Pushdown Automata: CFL & DCFL- 1 solved & explained in the simplest way possible. Besides giving Questions and answers for Test: Pushdown Automata: CFL & DCFL- 1, EduRev gives you an ample number of Online tests for practice

Top Courses for Computer Science Engineering (CSE)

Download as PDF

Top Courses for Computer Science Engineering (CSE)