Solved

Let SS Be the Set of All Strings in 0's and 1's

Question 7

Essay

Let SS be the set of all strings in 0's and 1's, and define a function F:S→Znonneg F : S \rightarrow \mathbf { Z } ^ { \text {nonneg } } as follows: for all strings ss in SS ,
F(s)= the number of 1 ’s in s.F ( s ) = \text { the number of } 1 \text { 's in } s .
(a) What is F(001000)?F(111001)F ( 001000 ) ? F ( 111001 ) ? F(10101)F ( 10101 ) ? F(0100)F ( 0100 ) ?
(b) Is FF one-to-one? Prove or give a counterexample.
(c) Is FF onto? Prove or give a counterexample.
(d) Is FF a one-to-one correspondence? If so, find F−1F ^ { - 1 } .

Correct Answer:

verifed

Verified

a. blured image
b. blured image is not one-to-one.
blured image blured image and blured image but blured image.
...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions