Answer
one to one: True, Because 2 strings are different adding a to the start of each of them won't change that they are different.
onto: False, let y = any string starting with b $\in$ S, whilst the image of any x $\in$ S will start with a because f(s) = as. For example, take the string bab we cant get any x to match it with.
Work Step by Step
one to one: True, Because 2 strings are different adding a to the start of each of them won't change that they are different.
onto: False, let y = any string starting with b $\in$ S, whilst the image of any x $\in$ S will start with a because f(s) = as. For example, take the string bab we cant get any x to match it with.