Wednesday, March 23, 2011

Microsoft - Placement Paper A.I.T Pune


Test Paper :3
Paper Type : Whole Testpaper
Test Date : 22 December 2010
Test Location : AIT Pune
Posted By : Barun
My experience Microsoft conducted on 22nd December, 2010.

First round was a written test of an hour. There were 6 questions (4 programming and 2 test cases) 10 marks each.



1) Find output of following code?
void main()

{
void *ptr;
char *a='A';
char *b="TAN";
int i=50;
ptr=a;
ptr=(*char)malloc(sizeof(a));
printf("%c",*ptr);
ptr=i;
ptr=(*int)malloc(sizeof(i));
printf("%d",++(*ptr));
ptr=b;
ptr=(*char)malloc(sizeof(b));
printf("%c",++(*ptr));

}
Ans: A51AN

2) Write a program that takes a no. from user and prints the no. subtracting 5 each time from the no. till the no. doesn’t crosses/reaches 0.And again prints the nos. Now increasing 5 each time till the no. doesn’t reaches/crosses original no. Don't use any loops or goto stmnt. And don't declare any local variables.

Ans: use recursion.

3) Convert a no. from string to integer.

Eg: str:"1234"
convert to int a=1234;

Ans: while(*ptr!=NULL)
{
a=(a*10)+(*ptr-48);

}
4) Find the subarray of an array that has the greatest sum? Array contains both +ve as well as -ve nos.

Ans: I did it using 3 loops but when I went for the 2nd technical round the interviewer told me a very simple and optimal program for the same.
sumtillnow=0;
sum=0;
for(i=0;i< p=""> <>
{
sumtillnow+=a[i];
if(sumtillnow>sum)
sum=sumtillnow;
if(sumtillnow<=0)
sumtillnow=0;
}

5) Write test cases for a student regestration form.
6) Write test cases for a web search engine.

20 students were shortlisted after the written test.

1st technical round.

First he saw my resume and asked me few questions about my BE Project and the TE Project. Then I was asked many questions from OOP concepts. Mainly about virtual functions, pure virtual functions (application based) and v-table etc.

Then he asked me some ques from OS.

1) Critical section
2) Semaphores
3) Processes
4) Threads
5) Reader Writers problem

Then there were a few questions from Logic Gates
1) Half adder....circuit and functionality

2) Full adder....circuit and functionality
Then he asked me 2 puzzles.

1) There are 3 buckets full of oranges, apples and mixture of both. Buckets are labeled with orange, apple and mixture. And it is known that all labels are false. Now just pick up 1 fruit from any 1 of the buckets and label all of them correctly.

Ans: Hint: pick the fruit from mixed labeled basket.

2) There are 5 bags containing marbles. All are identical. 4 of them weight 9g one of them is 10g. You have a weighing balance. In one go can u tell which is the bag with 10g.
Ans: I was blank. Min I could produce was in 3 chances.

In 1st round other students were also asked question from DBMS (Normalization, few queries and ER diagrams). And question from TOC (Finite automata machine). Draw a finite automata to accept a binary no. that is divisible by 5.

2nd Round
He asked me some test cases.

Then the interviewer asked me to optimize certain codes.

1) 4th question of the written exam. (Subarry sum)

2) An array of n elements contains elements 1-(n-1) in random order and 1 entry is duplicated. Find the duplicate entry?
Ans: I told him to take one more array. Now pick the elements from 1st array and put them into respective index of the 2nd array. If duplicate occur then report and end the loop.

He asked me to optimize the code. Then I suggested a BST. He asked me to optimize more and more and more and more this question.

But somehow I was advanced for the 3rd round. I was very excited.

3rd Round: HR

Some test cases and Why should I take you in Microsoft.

But unfortunately I wasn’t able to make it: (But may be these questions will help you for your placements)

Best of Luck to All.


Microsoft - Placement Paper pattern


Microsoft test paper would have section like databases, C & C++ programming, data structures, and algorithms.
What?

Here is a set of questions that I have with me which software guys have asked at interviews in the past, most of them are actually from Microsoft but a few have been pulled together from other places too. I have collected these from friends and would welcome any additions from you. Do send me your solutions, but the intent of this page is to kindle enough interest in you to try similar logic and programming questions.
PLEASE DO NOT REQUEST ME FOR MORE SOLUTIONS!

Why?

I have grown up reading Martin Gardner's Scientific American columns on Mathematical Games and interesting mathematics olympiad problems in high school. I discovered, to my delight, Bentley's Programming Pearls and David Gries' The Science of Programming in my computer science education . There is underlying beauty in mathematics and computer science. Some find it and others hate the subjects. When I found some of the Microsoft interview questions in graduate school, they were similar to mathematical puzzles that I was interested in. I started collecting them more as an illustration of interesting logic puzzles and algorithms in programming, than as an interview aid. If it has morphed into an interview questions page, that is more due to interest from all interviewees out there.

Some of the programming questions have a basic foundation in mathematics and algorithms. If the given data structure has a specific amount of information and the question asks you to extract/modify the given information, it is possible (though not always obvious) to find optimal solutions, and prove that it cannot be done any better, by quantifying the information content. But, there are always elegant and ugly ways to extract the same information. When you manage to find out the optimal solution to a problem, it usually not only turns out to be elegant, but also has the "aha!" factor to it. Try proving on paper the following question from my undergraduate mid-term:

1. Everyone Loves All Lovers
2. Romeo Loves Juliet
Therefore, prove (i.e. 1 AND 2 => 3)
3. I Love You

How?

To answer one of the more frequent questions that I get: No! I have never interviewed at Microsoft. In fact, I work in a microprocessor company far removed from any software development (though I work mostly in programming). However, I have had two of my roommates and two more housemates eventually working in Microsoft, in addition to a large number of friends. None of them have contributed to this page AFTER they started working at Microsoft. Microsoft itself does not hold any patents and nor has it invented most of the questions. Most of them come from mathematics and physics books, party puzzles, programming lore and standard textbooks. I know many companies ask similar questions, though Microsoft might have made the practice more common (especially with the manhole cover type of questions).

Usage

I have spent some time in collecting with the intention of their value as a practice session. They are not meant to be exact questions that you need to know and answer in an interview. They are supposed to make you think! Discuss with your friends, colleagues, professors for answers (get your tuition money's worth). I have left the page in simple text format so you can print them out and try them on your flight to the interview in case you are pressed for time. One of the strangest phone calls I remember is from a girl, staying up in a Microsoft provided hotel room in Redmond the night before the interview, asking me about the solution for one of the questions from this page. I hope the rest of you are saner (or do not have my phone number).

Puzzles, Riddles, etc.

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.

ANS. The color of the bear is trivial. The possible solutions to it are interesting. In addition to the trivial north pole, there are additional circles near south pole. Think it out.

* 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?

ANS. Join the centers of the original and the removed rectangle. It works for cuboids too! BTW, I have been getting many questions asking why a horizontal slice across the middle will not do. Please note the "any size or orientation" in the question! Don't get boxed in by the way you cut your birthday cake :) Think out of the box.

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!

Alternate answers: 1. Round covers can be transported by one person, because they can be rolled on their edge. 2. A round cover doesn't need to be rotated to fit over a hole.

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?

ANS. 1. Mark the jars with numbers 1, 2, 3, 4, and 5.
2. Take 1 pill from jar 1, take 2 pills from jar 2, take 3 pills from jar 3, take 4 pills from jar 4 and take 5 pills from jar 5.
3. Put all of them on the scale at once and take the measurement.
4. Now, subtract the measurement from 150 ( 1*10 + 2*10 + 3*10 + 4*10 + 5*10)
5. The result will give you the jar number which has contaminated pill.

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

ANS.
A: MF
IF (P)
GOTO B
GOTO A
-----
B: MF
GOTO B
Explanation: The first line simply gets them off the parachutes. You need to get the trains off their parachutes so the back train can find the front train's parachute, creating a special condition that will allow it to break out of the code they both have to follow initially. They both loop through A: until the back train finds the front train's parachute, at which point it goes to B: and gets stuck in that loop. The front train still hasn't found a parachute, so it keeps in the A loop. Because each line of code takes a "clock cycle" to execute, it takes longer to execute the A loop than the B loop, therefore the back train (running in the B loop) will catch up to the front train.
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 - Company profile


Microsoft Company Profile

Microsoft is a multinational computer technology corporation. They are a veteran software company, best known for their Microsoft Windows operating system and the Microsoft Office suite of productivity software, but they have also ventured into hardware with consumer products such as the Zune and Xbox. They have made a presence on the Web with the MSN internet portal and Microsoft Live search, but have been widely criticized for their failure to penetrate this market .

Microsoft's ambitions are anything but small. The world's #1 software company provides a variety of products and services , including its Windows operating systems and Office software suite. The company has expanded into markets such as video game consoles, server and storage software, and digital music players. Microsoft has reached set tlements to end a slew of antitrust investigations and lawsuits, including agreeing to uniformly license its operating systems and allowing manufacturers to include competing software with Windows. In 2008 Microsoft made repeated efforts to acquire Yahoo! but was rebuffed by that company's board of directors. Microsoft is the world's largest software firm with 50,000 people working in 78 countries and revenues of over US$ 37 billion.

Microsoft Corporation provides software products for computing devices worldwide. Its Client segment offers Windows product family that comprises Windows Vista; Windows XP Professional and Home; Media Center Edition; Tablet PC Edition; and other Windows operating systems. The company's Server and Tools segment provides integrated server infrastructure and middleware software that support software applications and tools built on the Windows Server operating system.

This segment offers Windows Server operating system; Microsoft SQL Server; Microsoft Enterprise Services; product support services; Visual Studio; System Center products; Forefront Security products; Biz Talk Server; and MSDN. Its Online Services Business provides an on-line advertising platform for publishers and advertisers; personal communications services, such as email and instant messaging; and online information. It offers Live Search; MSN; MapPoint; MSN Internet Access; MSN Premium Web Services; Windows Live; MSN Mobile Services; AvenueA Razorfish media agency services; Atlas online tools for advertisers; and the Drive PM ad network for publishers.

The company's Microsoft Business Division provides Microsoft office product set comprising enterprise content management , collaboration, unified communications, and business intelligence products; and Microsoft Dynamics products for financial management, customer relationship management, supply chain management, and analytics applications. Its Entertainment and Devices Division offers the Xbox video game system, including consoles and accessories, third-party games, games published under the Microsoft brand, and Xbox Live operations. This division also provides Zune digital music and entertainment device; PC software games; online games; Mediaroom, an Internet protocol television software; mobile and embedded device platforms; and Surface computing platform. Microsoft was founded in 1975 and is headquartered in Redmond, Washington.

Our mission is to help people and businesses throughout the world realize their full potential. Microsoft is a multinational computer technology corporation that develops, manufactures, licenses, and supports a wide range of software products for computing devices.

In the past quarter of a century, Microsoft has grown from small start-up to Fortune 500 success by creating innovative software, and working diligently to help customers realize their full potential. When you view our company profile, you'll see examples of the groundbreaking products and services we're developing for today's customers and learn about our commitment to exploring tomorrow's frontiers.

Headquarters Greater Seattle Area
Industry Computer Software
Type Public Company
Status Operating
Company Size 89,809 employees
2007 Revenue $51,122 mil (15%)
Founded 1975

Contact
Microsoft Corporation
One Microsoft Way
Redmond, WA 98052-6399
United States

Microsoft India
Founded in 1975, Microsoft is the worldwide leader in software for personal and business computing. The company offers a wide range of products and services designed to empower people through great software - any time, any place and on any device. Microsoft Corporation India Private Ltd is a subsidiary of Microsoft Corporation USA. It has had a presence in India since 1990 and currently has offices in twelve cities - Ahmedabad, Bangalore, Chandigarh, Chennai, Hyderabad, Indore, Kochi, Kolkata, Mumbai, Nagpur, New Delhi, and Pune.

Microsoft India markets its parent's software and services to customers across India. Its offerings include the full range of Microsoft operating systems, productivity applications, and development tools. The regional subsidiary also encompasses substantial research and development operations. The Hyderabad-based Microsoft India Development Center (MIDC) is Microsoft's largest R&D facility outside the US (second only to the company's Redmond location worldwide). Other Microsoft businesses in India provide internal and commercial software development, technical support, and consulting services.

Under its mission of “Realizing India's Potential", the company has commenced strategic initiatives towards creating a digitally inclusive society in India, forged local partnerships for building a vibrant domestic IT ecosystem, and empowering the Indian developer community and working towards innovating in India, with India and for India.

The Microsoft India Development Centre (IDC) is Microsoft's second Product Development Centre outside USA. Through this team we develop end-to-end strategic products like Windows Services for UNIX; Visual J#.NET; Outlook to Notes Connector and Windows System Resource Manager. Our strategy is to align with the focus areas of Microsoft and as a result we recently created the Enterprise Storage Group; Windows Server Group; Windows Networking Group; Tablet PC Group; Business Solutions Group; Developer Tools Group; Messaging group and Subscription Group. So as you can see - there is something for everyone!


The IDC has three core functional units: Development; Testing and Program Management. These units focus on product development starting from customer engagement, specification, architecture, design, development and release management. We are always happy to meet Computer Science Graduates having basic technical skills and excellent problem solving minds. If you are passionate about coding, testing, and creativity, there's no doubt you'd enjoy the challenge of a career with IDC. We seek those who thrive on team spirit and possess the confidence to conceptualize, architect and develop new products that impact millions of people across the world. Come and join our team! Life is full of defining moments. This could be one of them.

One thing we've learned over our brief history is that nothing is impossible. Just as people around the world embraced our original vision of a computer on every desk and in every home, we are confident that the future will hold amazing new technologies that will further enable people and businesses around the world to realize their full potential.

Contact
The Great Eastern Centre
70 Nehru Place
New Delhi, 110019
India

For more details please visit www.microsoft.com


Oracle - Placement Paper Pattern Latest


Test Paper :7
Paper Type : Whole Testpaper
Test Date : 10 February 2011
Test Location : Electronic city, Bangalore
Posted By : Nikita
the whole test is online divided into 3 parts:

1.Computer science knowledge:

Section Time Questions
OS Concepts and Data Structures 10 Minutes 10
Big O notations and OOAD Fundamentals 10 Minutes 10
DBMS and CODD's Fundamentals 10 Minutes 10
Totals 30 Minutes 30 Questions


2.English:
Section Time Questions
Sentence Structure 5 Minutes 10
Grammatical Usage 5 Minutes 5
Written Expression 7 Minutes 5
Reading Comprehension 8 Minutes 5
Totals 25 Minutes 25 Questions

3.Software engineering aptitude:
Section Time Questions
Math Reasoning 10 Minutes 10
IT Reasoning 10 Minutes 10
Attention to Detail 5 Minutes 10
Logic Diagramming 10 Minutes 5
Totals 35 Minutes 35 Questions


Polaris - Placement paper Hyderabad


Test Paper :4
Paper Type : Candidate Experiences
Test Date : 24 October 2009
Test Location : Polaris Hyderabad
Posted By : Shivakumar.S
HI Friends...!!
On 24 Oct 2009 "Polaris Software Lab" has recruited 2009 Passouts.
---------------------------------------------------------------------------------------------------------------
I. Written test .
II. Group Discussion.
III. Personal Interview.
------------------------------------------------------[-I-]----------------------------------------------------------
The Written Test was Quite Lengthy with respective given time...
i.e.
Question Paper Consists of 200 Questions for 90 minutes.[each Qn should be solved in 27secs].

The question paper has 3 sections
1-70 Questions are Quantative Aptitude.
71-110 Questions are General Knowledge.
111-200 English( 4-5 lines of paragraph is given and 3 questions were asked on;
a statement is given and underlined statement should be replaced by the given options).
---------------------------------------------------[-II & III-]-------------------------------------------------------
Next Round was GD
And III-Round is Personal Interview.
----------------------------------------------------------------------------------------------------------------------
And friends whoever doesn't get jobs don't worry!!!
We all have bright future..!! Each 'Hard working' student have at least one seat. But, it takes some time to be seated.
Moreover "ALL THE BEST for Your NEAR FUTURE" .......!!


Polaris - Placement paper Thousand lights


Test Paper :3
Paper Type : Technical - Electronics
Test Date : 3 October 2010
Test Location : Thousand Lights, Chennai
Posted By : Suresh Kumar A
Hi All of you,

I am happy to inform you all that with the grace of God I got selected at Polaris.

I share some of the questions I faced in interview. As I am from Electrical they asked from, basic circuits like half adder, full adder, how it is functioning, boolean algebra, some basic laws, how to implement a circuit with the given function, why we are using karnau map, basic C program stuffs, rectifier operation, math puzzle.

About my project work . Hey asked me in detail what are its applications , how it is working . Don't get shock why for a software c/y they ask all these. They are really good in the sense that they will see only how you are answering, and how you are confident.

Always be strong in your core subject. They asked why you want to come to software c/y. "How to answer 64 tougest interview questions" book would help anyone how to present their ideas in interview.

I was very frank and didn't tell false or fake things. Interviewers are really good and they checked only your IQ and how you can handle things.

Eventhough I didn't have much knowledge in software, they selected me only for this reason. you can do it. Work well. Get into a good company like Polaris.
Bye.


Polaris - Company profile


Polaris Company Profile
Polaris Software Lab Ltd is one of India's leading software companies. Polaris has intimate understanding of the Money business and provides solutions and services to some of the world's leading giants in the money vertical. Polaris has expertise on Investment Banking, Retail Banking, Credit Cards, Corporate Banking, Life Insurance etc. Polaris has a strong global presence with Sales and Marketing and Development centers spanning across 22 locations in over 14 countries. Headquartered in Chennai (India), Polaris has operations in Canada, United States, United Kingdom, Germany, France, Switzerland, Ireland, Singapore, Australia, Saudi Arabia, Bahrain, UAE and Japan.

Polaris Software Lab Ltd was incorporated in 1993. Polaris started providing end to end retail banking solution for Citibank India in 1994. In 1995, Polaris' quality processes were aligned to SEI CMM Level 3. First overseas development center of Polaris was commissioned for Citibank in 1997. In the same year wholly-owned subsidiaries of Polaris were formed in US and Singapore. In 1998, Polaris formed a Wholly-owned subsidiary in UK. In the same year quality processes of Polaris were aligned to SEI CMM Level 4 and ISO 9001 certified. In 1998, Polaris Retail Infotech Ltd. formed in Chennai.

In 1999, Polaris went public and was listed on the major stock exchanges. In 2000, wholly owned subsidiaries of Polaris were formed in Germany, Switzerland and Australia. In 2001, Polaris became the first company in the world to be assessed and certified CMMi Level 5. In the same year it formed wholly-owned subsidiaries in Japan and Ireland. In 2004, Polaris Software Lab Ltd. was 2004 BS7799 certified. In 2005, subsidiary of Polaris was incorporated in Canada, and in 2006 Polaris Software entered Belfast. Today, Polaris has more than 750 Domain experts and over 8500 associates.

The company provides numerous opportunities to its associates to achieve tremendous vertical mobility within very short span of time. It recognizes achievements and accomplishments by its associates and project teams. The company’s people practices provide terrific work environment, chance for personal growth and tremendous learning opportunities.

Headquarters Madras Area, India
Industry Information Technology and Services
Type Public Company
Company Size 10,000 employees

Corporate Headquarters
Polaris Software Lab Ltd.
'Foundation', No. 34, IT Highway,
Chennai - 603 103. INDIA

Foe more details please visit www.polaris.co.in


Career Launchers!!!

Note:

This blog can be viewed using all the browsers but can be best viewed in Mozilla Browser.
 

Career Launchers!!! Copyright © 2010 LKart Theme is Designed by Lasantha