Inside Track
A recruiter from the company contacted me and asked the following questions:

  1. What is a standard Microsoft technology stack for a database driven web application with reporting?
  2. What are C# generics and why they are useful?
  3. What are Lambda expressions and what have they replaced?
  4. What is LINQ used for and how does this benefit the programmer?
  5. What are CURSOR in T-SQL and how can they be helpful?
  1. ADO and also Microsoft Reporting Services are used for DB driven web applications with reporting.
  2. Generics are similar to templates in C++. Generics allow to defer specifications of types until class/method is declared/instantiated.
  3. Lambda expressions replaced anonymous methods syntax that allow to declare code inline
  4. LINQ is Language Integrated Query – it transforms database development model into an object oriented one so the developer who know OOP does not have to go deep into SQL.
  5. CURSOR allows to loop through data – row by row.
An on-site interview was scheduled:

1) You have 2 tables: Student and StudentTmp
a.    StudentTmp contains exactly the same fields (StudentID, Name, DateCreated, DateUpdated) as Student
b.    Write a stored procedure (SQL) that copies data from StudentTmp to Student, if the data is not already there (i.e. StudentID does not exist) and updates it otherwise

2) You have Coaches that coach Students that attend a School and Managers that manage coaches.
a.    Each manager can manage many coaches
b.    Each Student attends exactly one schools
c.    Each coach can coach many students
d.    Each student can be only coached by exactly one coach each semester.
Create a DB schema that implements it.

3) Design classes to for a chess game
4)  Design a database schema for a basketball game
5)  All the language  crap (i.e. virtual, const, public, inheritance, OOP, sort, data structures)

Leave a Reply

5 × three =