Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Tests  >  Test: From Grammars to Push Down Automata - Computer Science Engineering (CSE) MCQ

Test: From Grammars to Push Down Automata - Computer Science Engineering (CSE) MCQ


Test Description

10 Questions MCQ Test - Test: From Grammars to Push Down Automata

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

The production of the form A->B , where A and B are non terminals is called

Detailed Solution for Test: From Grammars to Push Down Automata - Question 1

 A->ε is termed as Null production while A->B is termed as Unit production.

Test: From Grammars to Push Down Automata - Question 2

Halting states are of two types. They are:

Detailed Solution for Test: From Grammars to Push Down Automata - Question 2

 Halting states are the new tuple members introduced in turing machine and is of two types: Accept Halting State and Reject Halting State.

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: From Grammars to Push Down Automata - Question 3

A push down automata can be represented as:
PDA= ε-NFA +[stack] State true or false:

Detailed Solution for Test: From Grammars to Push Down Automata - Question 3

Test: From Grammars to Push Down Automata - Question 4

 A pushdown automata can be defined as: (Q, ∑, G, q0, z0, A, d)
What does the symbol z0 represents?

Detailed Solution for Test: From Grammars to Push Down Automata - Question 4

z0 is the initial stack symbol, is an element of G. Other symbols like d represents the transition function of the machine.

Test: From Grammars to Push Down Automata - Question 5

 Which of the following correctly recognize the symbol ‘|-‘ in context to PDA?

Detailed Solution for Test: From Grammars to Push Down Automata - Question 5

Using this notation, we can define moves and further acceptance of a string by the machine.

Test: From Grammars to Push Down Automata - Question 6

Which among the following is true for the given statement?Statement :If there are strings R and T in a language L so that R is prefix of T and R is not equivalent to T.

Detailed Solution for Test: From Grammars to Push Down Automata - Question 6

If M is a DPDA accepting L by an empty stsck, R and T are distinct strings in L, and R is a prefix of T, then the sequence of moves M must make in order to accept R leaves the stack empty, since R∈L. But then T cannot be accepted, since M cant move with an empty stack.

Test: From Grammars to Push Down Automata - Question 7

Which of the following can be accepted by a DPDA?

Detailed Solution for Test: From Grammars to Push Down Automata - Question 7

Theorem: The language pal of palindromes over the alphabet {0,1} cannot be accepted by any finite automaton , and it is therefore not regular.

Test: From Grammars to Push Down Automata - Question 8

For a counter automaton, with the symbols A and Z0, the string on the stack is always in the form of __________

Detailed Solution for Test: From Grammars to Push Down Automata - Question 8

:The possible change in the stack contents is a change in the number of A’s on the stack.

Test: From Grammars to Push Down Automata - Question 9

Statement: Counter Automaton can exist for the language L={0i1i|i>=0}

Detailed Solution for Test: From Grammars to Push Down Automata - Question 9

The PDA works as follows. Instead of saving excess 0’s or 1’s on the stack, we save *’s and use two different states to indicate which symbol there is currently a surplus of. The state q0 is the initial state and the only accepting state.

Test: From Grammars to Push Down Automata - Question 10

 Let ∑={0,1}* and the grammar G be:
S->ε
S->SS
S->0S1|1S0
State which of the following is true for the given

Detailed Solution for Test: From Grammars to Push Down Automata - Question 10

A string is said to be balanced if it consist of equal number of 0’s and 1’s.

Information about Test: From Grammars to Push Down Automata Page
In this test you can find the Exam questions for Test: From Grammars to Push Down Automata solved & explained in the simplest way possible. Besides giving Questions and answers for Test: From Grammars to Push Down Automata, 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)