Tuesday, December 28, 2021

Notes Related to Computer Science

On representing strings. Computer Science MATHEMATICS: S = set of strings of the form bxbybzbsbt where b is the symbol b, x is an element of the set {a,e,i,o,u), y is an element of the set {a,e,i,o,u), z is an element of the set {a,e,i,o,u), s is an element of the set {a,e,i,o,u), and t is an element of the set {a,e,i,o,u) = {bababababa, bababababe, ..., babebibobu, ... , bububububu} UNIX Because ? is a wildcard notation for a single valid character, assuming that a,e,i,o,u are the only valid characters: S =b?b?b?b?b?= {bababababa, bababababe, ..., babebibobu, ... , bububububu} T = b??b??b??b??b??={baabaabaabaabaa, ..., beebeebeebeebee, ... baebeibeebiebie, ...buubuubuubuubuu} Because * is a wildcard notation for a sequence zero or more valid characters , assuming that a,e,i,o,u are the only valid character: b* ={b, ba, baa, baaa, baaaa, ...., bieieie, buuuuuuuuuu}

No comments:

Post a Comment