Back to the 2022 paper

Module 1: Introduction & Regular Languages

20227m

Give examples of L1L_1 and L2L_2 such that:

(i) L1L_1 is regular, L2L_2 is not regular, and L1−L2L_1 - L_2 is regular.
(ii) L1L_1 and L2L_2 are not regular but L1∪L2L_1 \cup L_2 is regular.

Similar questions

Student FinanceWeb Platform

Pocketly — Personal Finance for Students

Keep your hostel and college expenses under control. Track accounts, log spending in seconds, and stay within your monthly budget.