Questions 51–60 of 83. Imported answers require independent review unless marked reviewed.

Topic practice 83 questionsPage 6 of 9

Question 51

Open question
CSNAT2 marksNeeds review
In a pushdown automaton

, a transition of the form
Diagram for Computer Science and Information Technology question 51

where

,

, and

, represents

.
Consider the following pushdown automaton over the input alphabet

and stack alphabet

.
Diagram for Computer Science and Information Technology question 51 (figure 2)

The number of strings of length 100 accepted by the above pushdown automaton is __________.

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 7

Open question
CSMCQ1 markNeeds review
Which one of the following regular expressions represents the set of all binary strings with an odd number of 1’s?
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 8

Open question
CSMCQ1 markNeeds review
Consider the following statements.
I. If

is regular, then both

and

must be regular.
II. The class of regular languages is closed under infinite union.
Which of the above statements is/are TRUE?
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 10

Open question
CSMCQ1 markNeeds review
Consider the language

and the following statements.
I.

is deterministic context-free.
II.

is context-free but not deterministic context-free.
III.

is not LL(k) for any

.
Which of the above statements is/are TRUE?
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
CSNAT1 markNeeds review
Consider the following grammar.


The number of reduction steps taken by a bottom-up parser while accepting the string

is ________.

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 26

Open question
CSMCQ2 marksNeeds review
Which of the following languages are undecidable? Note that

indicates encoding of the Turing machine

.


on input

reaches state

in exactly 100 steps


is not recursive


contains at least 21 members

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 32

Open question
CSMCQ2 marksNeeds review
Consider the following languages.


. Which one of the following is TRUE?
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 51

Open question
CSNAT2 marksNeeds review
Consider the following language.

The minimum number of states in a DFA that accepts

is ______.

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 7

Open question
CSMCQ1 markNeeds review
If

is a regular language over

, which one of the following languages is NOT regular?
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 15

Open question
CSMCQ1 markNeeds review
For

, let us consider the regular language

. Which one of the following can be a pumping length (the constant guaranteed by the pumping lemma) for

?
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