retagged by
890 views
4 votes
4 votes

If $L$ be a language recognizable by a finite automaton, then language from $\{L\} = \{w$ such that $w$ is a prefix of $v$ where $v\in L\}$, is a

  1. regular language.
  2. context-free language.
  3. context-sensitive language.
  4. recursive enumeration language
retagged by

4 Answers

0 votes
0 votes
Option A is correct ,

 Suppose L= {abcd} is regular , then prefix(L)={epsilon,a,ab,abc,abcd} that are finite , therefore prefix(L) is regular.
Answer:

Related questions

1 votes
1 votes
4 answers
1
1 votes
1 votes
2 answers
2
admin asked Mar 31, 2020
1,713 views
If there is in NP-Complete language L whose complement is in NP, then complement of any language in NP is inPNPboth (A) and (B)None of these
2 votes
2 votes
2 answers
3
admin asked Mar 31, 2020
2,494 views
Which of the following regular expressions denotes a language comprising all possible strings over the alphabet $\{a,b\}$?$a^*b^*$$(a\mid b)^*$$(ab)^+$$(a\mid b^*)$