Monday, August 27, 2012

HP Interview Questions

Skill sets:  C#, Oracle Developer

1) What is sealed class ?
2) Difference between ref, in and out parameters
3) Abstract class and override
4) Performance tuning of Oracle stored procedures
5) Difference between various bindings in WCF Services.

Saturday, August 11, 2012

Miscellaneous Interview questions

1) How will you secure Web Service ?
2) Why System.object is base class in .NET frame work ?
3) Is it possible to pass HTTP header in your SOAP Service ?
4) What is the advantage of using Razor engine in MVC3 framework ?
5) What is MVVM ?

Tuesday, August 7, 2012

TESLA Motors Interview questions

About the company:
They are very picky. various levels of middle mans play games with TESLA motor openings.
Find below are some of the questions .

1) How will you Build an MVC 3 App with Database First and Entity Framework 4.1
2) HTTP Handlers and HTTP Modules difference
3) can you have more than one model in single view and how to acive that
4) when to use wshttpbinding and basichttpbinding

check
http://www.codeproject.com/Articles/36396/Difference-between-BasicHttpBinding-and-WsHttpBind

5) when to use var and when to use dynamic
6) what is the difference between arryalist and list
7) where do you use IncludeExceptionDetailInFaults in service debug
8) what is the use of view and what is inline view
9) What are various behaviourconfigurations in WCF

Fuzebox Interview questions

https://www.fuzebox.com/

Focus was more on WinForm and multi-threading.

1) IDictionary interface
2) How do you use Assemblies Win32 API's in C# code ?
3) How to make your class not accessible to other class ?
4) Difference between interface and abstract classes
5) Difference between finalize() and dispose()
6) How do you use unmanaged code in your application ?
7) Have you written any C++ code recently ?
8) What are collections ? Difference between Arraylist and Array.
9) How will you resize WinForm with all form elements in it ?
10) Have you used any design patterns (Observer, Observable, etc.)
11) How will you call DLL's in your C# code ?
12) What is DLL Hell problem ?

Friday, August 3, 2012

Oracle Interview questions

http://www.oracle.com

1) Hashing vs Encryption
2) Singleton design pattern
3) Java Dynamic classloader
4) Java keywords final, synchronized
5) Java code to compare 2 maps with values

6) Is it possible to create an inner class within an interface ?

Wednesday, August 1, 2012

Satellite Healthcare Interview Questions

http://www.satellitehealth.com/

Interview questions:
1) Write a program to sum elements in array
int [] numbers = { 9, 1, 2, 7 }
Hint : Use LINQ as well as normal for-loop

2) Static variable vs Non-static variable.

3) Find the n-th highest salary of an employee.
Answer:
SELECT TOP 1 salary
FROM
(
SELECT DISTINCT TOP
6 salary
FROM
employee
ORDER BY salary DESC)
a
ORDER BY salary


TIBCO .NET Interview Questions

http://tibco.com

C#/.NET interview questions:

1) Difference between interface and abstract classes
2) What is CLR Hosting ?  How to do it ?
3) Explain about interoperability between Java and .NET
4) What is Association, Aggregation and Composition ?
5) Is knowing C++ important for CLR hosting?

Saturday, July 28, 2012

Relay Health Interview Questions


This company is in Emeryville, CA.

1) Implement bubble sort 
2) Find the most common occuring letter in a string
3) What is the expected output of
static void RelayHealthQuestion1() 
{
    int[] numbers = { 1, 2, 3, 4, 5, 6 };
    var result = numbers.Count(item => item % 2 == 1);        
}

Answer: 3

4) With class diagram, write classes for the following:
    a) Zoo which has lot of animal
    b) Animal has cage of different size tall, short, etc.
    c) Some animals in zoo can walk (Class: Mammalia) and some can fly (Class: Aves).
    d) All animals can talk

DB questions:
5) Suppose you have the following DB table with its data:

EmployeeID    |  Salary       |     Department
1                        100,000                 2
2                        105,000                 1
3                        125,000                 2

Give the count of departments which have Salary > 100,000 and number of employees are 2 or more

6) Write an update statement
Table Name: Alphabet.

Letter      Order
X             NULL
Y             NULL
A             NULL
C             NULL

Expected output:

Letter      Order
X              7
Y              8
A              1
C              2

7) What are anonymous methods in C#