Questions: Alphabets, Strings, and Language Definition

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

Let Σ = {a, b}. A student claims that because Σ is finite (only 2 symbols), Σ* must also be finite. What is wrong with this reasoning?

ANothing is wrong — Σ* is finite when Σ is finite
BΣ* is infinite because strings can be any finite length, so there are strings of length 1, 2, 3, ... with no upper bound — even a 2-symbol alphabet generates infinitely many strings
CΣ* is only infinite when Σ contains more than 10 symbols
DΣ* is uncountably infinite, so the student's intuition about finiteness is irrelevant
Question 2 Multiple Choice

Which of the following correctly distinguishes the empty string ε from the empty language ∅?

AThey are equivalent — both represent the absence of any string or symbol
Bε is a string of length zero (a member of Σ*); ∅ is the language containing no strings — {ε} is a language with one element, not an empty language
Cε is a symbol in some alphabets; ∅ is ε when the alphabet is empty
DBoth ε and ∅ are languages, and both are empty, just written differently
Question 3 True / False

Because Σ (an alphabet) is defined as a finite set, Σ* (the set of most finite strings over Σ) is also finite.

TTrue
FFalse
Question 4 True / False

A formal language over Σ can be any subset of Σ*, including finite sets, infinite sets, and even the empty set ∅.

TTrue
FFalse
Question 5 Short Answer

Why is the empty string ε considered a foundational element in formal language theory rather than a trivial edge case?

Think about your answer, then reveal below.