Question
Please answer this question and it’s subparts

3. (25 points) Part I11: Functions a. (7 pts) Consider functions f and g with the same domain X and co-domain Y, eg, f : X → Y and gX -Y. Must it be true that fng is a function? Why or why not? glx) b. (4 pts) Draw an arrow diagram for a function that is injective but not surjective. ほ, v/ c. (15 pts) Let S be the set of all strings having only Os and 1s. For example, O1 10101010 E S, etc. Define h: S → Z as follows: for any s E S, S, 0011 E s h(s) = the number of ls in s minus the number of 0s in s 1. (3 points) What is h(101011)- h(00100) 2. (6 points) is h injective? Explain why or show a counter example. 3. (6 points) is h surjective? Explain why or show a counter example. Clearly label your answers to each part. 1 I Gan mp to G co domen D
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Let me know if you have any Doubts i will help you through comments

For cs-pl

Add a comment
Know the answer?
Add Answer to:
Please answer this question and it’s subparts 3. (25 points) Part I11: Functions a. (7 pts)...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT