World Wide Technology interview question

Ref Cursor, tables datatype in PL/SQL, difference between a stored procedure and a function