Job Interview Placement Paper At Microsoft

 

Microsoft HR (Screening)

- Tell about yourself

- Tell about your work experience

- Tell about projects

- Tell about your current project and your role in it

- What is your current salary p.a.

 

.NET

- Difference between asp and asp.net

- How do you do exception management

- If you are using components in your application, how can you handle exceptions raised in a component

- Can we throw exception from catch block

- How do you relate an aspx page with its code behind page

- What are the types of assemblies and where can u store them and how

- What is difference between value and reference types

- Is array reference type / value type

- Is string reference type / value type

- What is web.config. How many web.config files can be allowed to use in an application

- What is differnce between machine.config and web.config

- What is shared and private assembly

- What are asynchronous callbacks

- How to write unmanaged code and how to identify whether the code is managed / unmanaged.

- How to authenticate users using web.config

- What is strong name and which tool is used for this

- What is gacutil.exe. Where do we store assemblies

- Should sn.exe be used before gacutil.exe

- What does assemblyinfo.cs file consists of

- What is boxing and unboxing

- Types of authentications in ASP.NET

- difference between Trace and Debug

- Difference between Dataset and DataReader

- What is custom tag in web.config

- How do you define authentication in web.Config

- What is sequence of code in retrieving data from database

- About DTS package

- What provider ADO.net use by default

- Where does web.config info stored? Will this be stored in the registry?

- How do you register the dotnet component or assembly?

- Difference between asp and asp.net

- Whis is stateless asp or asp.net?

- Authentication mechanism in dotnet

- State management in asp.net

- Types of values mode can hold session state in web.config

- About WebService

- What are Http handler

- What is view state and how this can be done and was this there in asp?

- Types of optimization and name a few and how do u do?

- About DataAdapters

- Features of a dataset

- How do you do role based security

- Difference between Response.Expires and Expires.Absolute

- Types of object in asp

- About duration in caching technique

- Types of configuration files and ther differences

- Difference between ADO and ADO.net

- About Postback

- If you are calling three SPs from a window application how do u check for the performance of the SPS

 

Database

- What is normalization

- What is an index and types of indexes. How many number of indexes can be used per table

- What is a constraint. Types of constraints

- What are code pages

- What is referential integrity

- What is a trigger

- What are different types of joins

- What is a self join

- Authentication mechanisms in Sql Server

- What are user defined stored procedures.

- What is INSTEAD OF trigger

- Difference between SQL server 7.0 and 2000

- How to optimize a query that retrieves data by joining 4 tables

- Usage of DTS

- How to disable an index using select query

- Is non-clustered index faster than clustered index

- Types of optimization in querries

- Difference between ISQL and OSQL

- How you log an exception directly into sql server what is used for this

- About Replication in Database

- What is the default optimization done in microsoft and sql server

- How can i make a coulmn as unique

- How many no of tables can be joined in same sql server

- How many coulmns can exist per table

- About Sql Profiler usage

 

HR & Project

- About yourself

- About work experience

- How long you are working on .NET

- Are you willing to relocate

- When will you join

- Why do u what to change from current organization

- Why do you want to join Accenture

- What are your weaknesses / areas of improvement

- What is your current project and your responsibilities

- Have you done database design / development

- What is D in ACID

 

Technical .NET

- How do you manage session in ASP and ASP.NET

- How do you handle session management in ASP.NET and how do you implement them. How do you handle in case of SQLServer mode.

- What are different authentication types. How do you retreive user id in case of windows authentication

- For a server control, you need to have same properties like color maxlength, size, and allowed character throughout the application. How do you handle this.

- What is custom control. What is the difference between custom control and user control

- What is the syntax for datagrid and specifying columns

- How do you add a javascript function for a link button in a datagrid.

- Does C# supports multi-dimensional arrays

- How to transpose rows into columns and columns into rows in a multidimensional array

- What are object oriented concepts

- How do you create multiple inheritance in C#

- ADO and ADO.NET differences

- Features and disadvantages of dataset

- What is the difference between and ActiveX dll and control

- How do you perform validations

- What is reflection and disadvantages of reflection

- What is boxing and how it is done internally

- Types of authentications in IIS

- What are the security issues if we send a query from the application

- Difference between ByVal and ByRef

- Disadvantages of COM components

- How do we invoke queries from the application

- What is the provider and namespaces being used to access microsoft database

- How do you load XML document and perform validation of the document

- How do you access elements in XML document

- What is ODP.NET

- Types of session management in ASP.NET

- Difference between datareader and dataset

- What are the steps in connecting to database

- How do you register a .NET assembly

- Usage of web.config

- About remoting and web services. Difference between them

- Caching techniques in .NET

- About CLS and CTS

- Is overloading possible in web services

- Difference between .NET and previous version

- Types of chaching. How to implement caching

- Features in ASP.NET

- How do you do validations. Whether client-side or server-side validations are better

- How do you implement multiple inheritance in .NET

- Difference between multi-level and multiple inheritance

- Difference between dataset and datareader

- What are runtime hosts

- What is an application domain

- What is viewstate

- About CLR, reflection and assemblies

- Difference between .NET components and COM components

- What does assemblyinfo.cs consists

- Types of objects in ASP

 

More on Database

- What are the blocks in stored procedure

- How do you handle exceptions. Give the syntax for it

- What is normalization and types of normalization

- When would you denormalize

- Difference between a query and strored procedure

- What is clustered and non-clustered indexes

- Types of joins

- How do you get all records from 2 tables. Which join do you use

- Types of optimization

- Difference between inline query and stored procedure

 

Project Related

- Tell about your current project

- Tell about your role

- What is the toughest situation you faced in the development

- How often you communicate with the client

- For what purposes, you communicate with the client

- What is the process followed

- Explain complete process followed for the development

- What is the life cycle model used for the development

- How do communicate with team members

- How do you say you are having excellent team management skills

- If your client gives a change and asks for early delivery. How will you manage.

- How will gather requirements and where do you record. Is it in word / Excel or do you have any tool for that

- What is the stage when code is delivered to the client and he is testing it.

- What are the different phases of SDLC

- How do you handle change requests

- How do you perform impact analysis

- How do you write unit test cases.

- About current project architecture

Microsoft Job Interview Paper Pattern (CA, Database, Java And Graphics)

 

Computer Architecture:

 

1. Explain what is DMA?

2. What is pipelining?

3. What are superscalar machines and vliw machines?

4. What is cache?

5. What is cache coherency and how is it eliminated?

6. What is write back and write through caches?

7. What are different pipelining hazards and how are they eliminated.

8. What are different stages of a pipe?

9. Explain more about branch prediction in controlling the control hazards

10. Give examples of data hazards with pseudo codes.

11. How do you calculate the number of sets given its way and size in a cache?

12. How is a block found in a cache?

13. Scoreboard analysis.

14. What is miss penalty and give your own ideas to eliminate it.

15. How do you improve the cache performance.

16. Different addressing modes.

17. Computer arithmetic with two's complements.

18. About hardware and software interrupts.

19. What is bus contention and how do you eliminate it.

20. What is aliasing?

21) What is the difference between a latch and a flip flop?

22) What is the race around condition? How can it be overcome?

23) What is the purpose of cache? How is it used?

24) What are the types of memory management?

 

 

Databases:

 

1. You, a designer want to measure disk traffic i.e. get a histogram showing the relative frequency of I/O/second for each disk block. The buffer pool has b buffers and uses LRU replacement policy. The disk block size and buffer pool block sizes are the same. You are given a routine int lru_block_in_position (int i) which returns the block_id of the block in the i-th position in the list of blocks managed by LRU. Assume position 0 is the hottest. You can repeatedly call this routine.

 

How would you get the histogram you desire?

 

Hints and Answers

 

1. Simply do histogram [lru_block_in_position (b-1)] ++ at frequent intervals... The sampling frequency should be close to the disk I/O rate. It can be adjusted by remembering the last block seen in position b. If same, decrease frequency; if different, increase, with exponential decay etc. And of course, take care of overflows in the histogram.

 

Semaphores: 

 

1. Implement a multiple-reader-single-writer lock given a compare-and-swap instruction. Readers cannot overtake waiting writers.

 

Java:

 

1. How do you find the size of a java object (not the primitive type) ?

ANS. type cast it to string and find its s.length()

 

2. Why is multiple inheritance not provided in Java?

3. Thread t = new Thread(); t.start(); t = null; now what will happen to the created thread?

4. How is garbage collection done in java?

5. How do you write a "ping" routine in java?

6. What are the security restrictions on applets?

 

Graphics:

 

1. Write a function to check if two rectangles defined as below overlap or not. struct rect { int top, bot, left, right; } r1, r2;

 

2. Write a SetPixel(x, y) function, given a pointer to the bitmap. Each pixel is represented by 1 bit. There are 640 pixels per row. In each byte, while the bits are numbered right to left, pixels are numbered left to right. Avoid multiplications and divisions to improve performance

 

Microsoft Placement Question Papers - Technical & General Ability

 

Programming Questions

 

Computer Networks, Databases, etc.

 

Computer Architecture

 

Puzzles, Riddles and Others

 

0. Classic: If a bear walks one mile south, turns left and walks one mile to the east and then turns left again and walks one mile north and arrives at its original position, what is the color of the bear.

 

1. Given a rectangular (cuboidal for the puritans) cake with a rectangular piece removed (any size or orientation), how would you cut the remainder of the cake into two equal halves with one straight cut of a knife?

 

2. There are 3 baskets. one of them have apples, one has oranges only and the other has mixture of apples and oranges. The labels on their baskets always lie. (i.e. if the label says oranges, you are sure that it doesn’t have oranges only,it could be a mixture) The task is to pick one basket and pick only one fruit from it and then correctly label all the three baskets.

 

HINT. There are only two combinations of distributions in which ALL the baskets have wrong labels. By picking a fruit from the one labeled MIXTURE, it is possible to tell what the other two baskets have.

 

3. You have 8 balls. One of them is defective and weighs less than others. You have a balance to measure balls against each other. In 2 weighings how do you find the defective one?

 

4. Why is a manhole cover round?

 

HINT. The diagonal of a square hole is larger than the side of a cover!

 

5. How many cars are there in the USA?

 

6. You’ve got someone working for you for seven days and a gold bar to pay them. The gold bar is segmented into seven connected pieces. You must give them a piece of gold at the end of every day. If you are only allowed to make two breaks in the gold bar, how do you pay your worker?

 

7. One train leaves Los Angeles at 15mph heading for New York. Another train leaves from New York at 20mph heading for Los Angeles on the same track. If a bird, flying at 25mph, leaves from Los Angeles at the same time as the train and flies back and forth between the two trains until they collide, how far will the bird have traveled?

 

HINT. Think relative speed of the trains.

 

8. You have two jars, 50 red marbles and 50 blue marbles. A jar will be picked at random, and then a marble will be picked from the jar. Placing all of the marbles in the jars, how can you maximize the chances of a red marble being picked? What are the exact odds of getting a red marble using your scheme?

 

9. Imagine you are standing in front of a mirror, facing it. Raise your left hand. Raise your right hand. Look at your reflection. When you raise your left hand your reflection raises what appears to be his right hand. But when you tilt your head up, your reflection does too, and does not appear to tilt his/her head down. Why is it that the mirror appears to reverse left and right, but not up and down?

 

10. You have 5 jars of pills. Each pill weighs 10 gram, except for contaminated pills contained in one jar, where each pill weighs 9 gm. Given a scale, how could you tell which jar had the contaminated pills in just one measurement?

 

11. If you had an infinite supply of water and a 5 quart and 3 quart pail, how would you measure exactly 4 quarts?

 

12. You have a bucket of jelly beans. Some are red, some are blue, and some green. With your eyes closed, pick out 2 of a like color. How many do you have to grab to be sure you have 2 of the same?

 

13. Which way should the key turn in a car door to unlock it?

 

14. If you could remove any of the 50 states, which state would it be and why?

 

15. There are four dogs/ants/people at four corners of a square of unit distance. At the same instant all of them start running with unit speed towards the person on their clockwise direction and will always run towards that target. How long does it take for them to meet and where?

 

HINT. They will meet in the center and the distance covered by them is independent of the path they actually take (a spiral).

 

16. (from Tara Hovel) A helicopter drops two trains, each on a parachute, onto a straight infinite railway line. There is an undefined distance between the two trains. Each faces the same direction, and upon landing, the parachute attached to each train falls to the ground next to the train and detaches. Each train has a microchip that controls its motion. The chips are identical. There is no way for the trains to know where they are. You need to write the code in the chip to make the trains bump into each other. Each line of code takes a single clock cycle to execute.

You can use the following commands (and only these);

MF – moves the train forward

MB – moves the train backward

IF (P) – conditional that’s satisfied if the train is next to a parachute. There is no “then” to this IF statement.

GOTO

 

Personality

 

It is best to read some website or a book for questions like these.

 

1. Tell me the courses you liked and why did you like them.

 

2. Give an instance in your life in which you were faced with a problem and you tackled it successfully.

 

3. What is your ideal working environment.

 

4. Why do you think you are smart.

 

5. Questions on the projects listed on the Resume.

 

6. Do you want to know any thing about the company.( Try to ask some relevant and interesting question).

 

7. How long do you want to stay in USA and why (I guess non-citizens get this)?

 

8. What is your geographical preference?

 

9. What are your expectations from the job.

 

Microsoft Student Partner Program

 

Organiser : Microsoft

 

Who are they looking for?

They are looking for people who are passionate about Technology, love to share and want to develop skills outside your field of study.

 

What's in it for us?

Exposure and recognition on campus with faculty and students. Access to numerous benefits including Microsoft software, reference materials, training and privileged information about future job opportunities. Direct interaction with Microsoft Professionals and partners.

 

Registration for Phase 2 of MSP selection 2009/2010 is now closed. The new selection process for 2010/2011 will be announced in June 2010. Please visit this site in June 2010 for latest updates.

 

Phase 2 of MSP selection is now launched!

 

If you are scheduled to graduate in 2011 or later, you can participate in Phase 2. Hurry and register now on www.tinyurl.com/mspindia. Candidates who applied for Phase 1 will need to register once again.

 

Phase 2 Screening Criteria (All with equal weight):

* Imagine Cup 2010: Encourage your friends to register for Imagine Cup. The referral code that you can provide to them is your own Username on the Imagine Cup site. For tracking purposes, your friends who register on imaginecup.com can enter this referral code in the “Referral code” field at the time of registration. Consider using social media like Twitter, Facebook & other forums to spread the word rather than email. Please do not spam!

 

Note: We have internal reports to track the referrals. However, due to the volume of candidates that apply, this will not be shared externally.

 

* IC2010 IT Challenge or Visual Studio ALM Challenge: Scores in the Nov/Dec quizzes of Imagine Cup and Round 1 of VS ALM Challenge (Student category) will be considered.

 

*Student Tech Club: Create a new STC or if an existing STC exists in your campus, you can join it. To find out if a tech club exists in your vicinity, you can use the search feature on Student Tech Club Search)

 

* Statement of Purpose: This is available on the registration form at www.tinyurl.com/mspindia.

 

If you are passionate about technology and looking for a unique opportunity to share that talent, we are looking for you! Motivated Bachelor’s/Master’s Degree students specializing in Science, Technology, Engineering, Maths or Design who will graduate after May 2011 are invited to apply for the Microsoft Student Partner (MSP) Program.

 

In exchange for sharing your knowledge and participating in fun activities on your campus, you will get a whole host of benefits, the chance to connect with like-minded people and gain real-world experience to add to your résumé.

 

Collaborate ... Innovate ... Celebrate!

 

For detailed eligibility criteria, selection process, benefits, responsibilities and other relevant information, please visit the above mentioned site.

 

Contact above mail address if you need further clarifications

 

Website : http://tinyurl.com/yey7es9

 

Email address: studpart[at]microsoft.com

 

Courtesy : Letmeknow

 

 

 

 Click to download more papers

Click to download more papers