Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 1 Consider the universal set U = {a,b,c,aa, 1,2,5). Given the two sets A = {a,b, aa, 5), B = {5.c, b), calculate: i.

image text in transcribed
Problem 1 Consider the universal set U = {a,b,c,aa, 1,2,5). Given the two sets A = {a,b, aa, 5), B = {5.c, b), calculate: i. AUB AB A-B iv. B-A v. vi. B vii. AUB viii. AB Problem 2 i. Consider the set S = {a,b). Write down explicitly the powerset of S, P, (or 2$ following your textbook's notation). ii. How many partitions of Sexist? Write down all possible partitions. iii. Write down the cartesian product set S x S. Problem 3 i Consider a vertex set V = {a,b,c,d,e). Draw your own directed graph for this set Vand write down your edge set E. 11. Define/show a walk, a path, and a simple path on your graph. ili. Does your graph have a cycle? iv. From your graph, isolate a subgraph that is a tree. Problem 4 Consider the alphabet ? = {a,b,c). Derive formally a grammar G that produces the language L(G) = {(ab)"c": n 20). Problem 5 What language is generated by the grammar G = ({S, A,B),(a, b),S,P) where the productions P are S AB; A - a; B BBb12

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Focus On Geodatabases In ArcGIS Pro

Authors: David W. Allen

1st Edition

1589484452, 978-1589484450

More Books

Students also viewed these Databases questions