← Quiz: TOC Basics: all 10 questions
Quiz: TOC Basics · Question 8 of 10
If L₁ = {a, b} and L₂ = {c, d}, how many strings are in the concatenation L₁L₂?
If L₁ = {a, b} and L₂ = {c, d}, how many strings are in the concatenation L₁L₂?
- A.2
- B.4
- C.6
- D.8
Answer & explanation
Correct answer: 4
L₁L₂ = {ac, ad, bc, bd}: every string of L₁ followed by every string of L₂.
Can you get the rest right without peeking?
Take the timed Quiz: TOC Basics quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →