Questions 31–40 of 83. Imported answers require independent review unless marked reviewed.

Topic practice 83 questionsPage 4 of 9

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 39

Open question
CSMCQ2 marksNeeds review
Consider the context-free grammar

below

where

and

are non-terminals, and

and

are terminal symbols. The starting non-terminal is

.
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 40

Open question
CSMCQ2 marksNeeds review
Consider the pushdown automaton (PDA)

below, which runs on the input alphabet

, has stack alphabet

, and has three states

, with

being the start state. A transition from state

to state

, labelled

, where

is an input symbol or

,

is a stack symbol, and

is a string of stack symbols, represents the fact that in state

, the PDA can read

from the input, with

on the top of its stack, pop

from the stack, push in the string

on the stack, and go to state

. In the initial configuration, the stack has only the symbol

in it. The PDA accepts by empty stack.
Which one of the following options correctly describes the language accepted by

?
Diagram for Computer Science and Information Technology question 40

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 63

Open question
CSNAT2 marksNeeds review
Consider the language

over the alphabet

, given below:

The minimum number of states in a Deterministic Finite-State Automaton (DFA) for

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 12

Open question
CSMCQ1 markNeeds review
Which one of the following regular expressions correctly represents the language of the finite automaton given below?
Diagram for Computer Science and Information Technology question 12

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 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 46

Open question
CSMSQ2 marksNeeds review
Which of the following is/are undecidable?
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 47

Open question
CSMSQ2 marksNeeds review
Consider the following languages:


Note that

is the reversal of the string

. Which of the following 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 48

Open question
CSMSQ2 marksNeeds review
Consider the following languages:



Which of the following statements is/are FALSE?
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