in Theory of Computation retagged by
866 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
in Theory of Computation retagged by
by
866 views

2 Comments

option a is correct
0
0
Can we say that if the prefix w is epsilon then will  {L} = {v| v belong  to L}.

And since L is regular {L} has to be regular?
0
0

4 Answers

0 votes
0 votes
Answer related to prefix of a string is always Regular
0 votes
0 votes
opt a is correct as the finite automata is accepting it
0 votes
0 votes
Obviously it is option a as rl is closed on prefix and suffix also
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