Cognizant Interview Question

Basic sql and .net oops code based Qs like few inheritance based examples were given and asked to find the output or what is wrong in the code. total 20 Qs