One to one relation ship between two sets is a primary perquisite of any function. Set comprising p and z have a one to one relationship. Same is true for other sets r and y, s and x.  Hence the given correspondence is  a function.

 

Hence the correct  response would be  A

 

                                                                    *****