Skip to content

Programming Questions

David Smith

Asked May 19, 2012, 9:32 PM EDT1 answer
Share
LinkedInX

26.   Explain the difference between optimistic concurrency control and pessimistic concurrency control with respect to database updates      

27.   What feature introduced with SQL Server 2005 provides a way to define temporary tabular result sets that, while similar to derived tables, can be self-referencing and can be referenced multiple time sin the same query?      

28.    Imagine a database table named 'employee' that contains the columns "ID", "Name", "Salary", and "Department".  Explain the concept of a correlated subquery, and provide a brief query that would list the names of all employees who have a salary higher than the average for their department using a correlated subquery.      

29.   What is dependency injection, and how might it be useful for building unit tests in a large application?      

30.   What is inversion of control, and how is it useful in addressing cross-cutting concerns?      

31.   Describe the difference between "first-tier" and "second-tier" caching in ORM frameworks     

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Mahesh Chand
    0
    You should post them one question at a time.
    0