题目
题目

Languages and Computation (COMP2049 UNNC) (SPC1 24-25) Lab Quiz 3 - Group A

单项选择题

Consider the regular expressions r_1 = (1+0)^*0(1+0)^* and r_2 = 11^* over the alphabet \Sigma=\{0,1\}, and let L_1 = L(r_1) and L_2 = L(r_2). Which one of the following is incorrect?

选项
A.a. L_2 \subseteq \bar{L_1}, i.e., L_2 is a subset of the complement of L_1 .
B.b. L_1 \cup L_2 \neq \Sigma^* .
C.c. L_1^* = L_1 .
D.d. L_1 \subseteq \bar{L_2}, i.e., L_1 is a subset of the complement of L_2 .
查看解析

查看解析

标准答案
Please login to view
思路分析
We start by restating the problem to be clear about what is being evaluated. Question: Consider the regular expressions r1 = (1+0)*0(1+0)* and r2 = 11^* over the alphabet {0,1}, with L1 = L(r1) and L2 = L(r2). Which one of the following is incorrect? Answer options: a. L2 ⊆ µL1, i.e., L2 is a subset of the complement of L1. b. L1 ∪ L2 ≠ Σ* c. L1^* = L1. d. L1 ⊆ µL2, i.e., L1 is a subset of the complement of L2. Now we analyze each option in turn, explaining why it could be true or false, with supporting reasoning. Option a: L2 ⊆ complement of L1. - L2 is described by 11^*, interpreted as 1 followed by zero or more 1s, i.e., the set of strings of the form 1^n with n ≥ 1. These are string......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!