Fast Enterprises Interview Question

What is the different between a reference variable and a pass-by-value variable? What is inheritance? What are the different types of loops? Do you know SQL?