Computer Science EngineeringVery hard
The language denoted by the regular expression empty-set star (the Kleene star of the empty set) is
- A. the empty set
- B. {empty-set}
- C. all strings over the alphabet
- D. the set containing only the empty string
Correct answer: D. the set containing only the empty string
The star always includes zero concatenations, which yields the empty string only.
Practise more Theory of Computation, Compilers & Digital Logic (ISRO CS) questionsTheory of Computation, Compilers & Digital Logic (ISRO CS): notes and key points
More Theory of Computation, Compilers & Digital Logic (ISRO CS) questions
- The minimal DFA over {a, b} accepting strings whose length is divisible by 3 has how many states?
- Adding extra tapes to a Turing machine
- Savitch's theorem implies that
- If any NP-complete problem is shown to have a polynomial-time algorithm, then
- In a syntax-directed definition, an attribute at a node computed from the attributes of its children is called
- Static links (access links) in activation records are used for