Microsoft Interview Experience

Date :-09-07-2011 

This was for the post where majority will be of testing and the rest will be Development . There was 4 rounds .

1st Round : Written Round ( Aptitude ,  C++ Questions , Logical Questions )
2nd Round : Technical Round
3rd Round : Design Round
4th Round : HR Round

All these rounds were Elimination rounds .

1st Round : Written Round ( Aptitude ,DBMS , C++ Questions, Testing , Logical Questions )

Aptitude :- Age , Work & Time etc
C++ Questions are from Operator Overloading , Function Ambiguty , Virtual Functions , Pure Virtual Functions , Run Time Polymorphism and Exception Handling with the logic of Run Time Polymorphism

DBMS were mostly consists of joins , views and Print the O/P of the query

Testing :- They had given some scenerio and asked what approach will you start frm , White & Black box related Questions ,Equivalence partition , Find the number of test cases required .

Logical Questions :- Pattern recognition , PIE Chart etc

2nd Round :- Technical Round

Interviewer :- Tell me something which is not mentioned in your Resume
Me :- I told about my objectives and Interests . (Short and Brief)
Interviewer :- Tell the OSI model names and with each functionality (Wasn’t ready for Networking)
Me:- Gave the answers anyhow .
Interviwer:- When can we use IP address and when not ?
Me :- Depending on the type of the Network we can choose if we need to to hav IP address of not . IP address is basically used when the packets need to move from one network to other i:e in case of Internetwork connection . If the nodes are present within the same Network , then we can the HUB can use to route the packets from one node to other taking the MAC address through ARS discovery. In this case we may choose not to use the IP address .
Interviwer :- Can we use TCP without using IP protocol and viceversa ?
Me :- I was confused but later I told that IP need to be there to identify the hosts in Heterogeneous Network , and TCP is needed to take the packets arrived in an random order and make a meaning data out of the packet after combining the data in a sequence order. So both are needed together to serve the purpose .
He was partially happy he was loooking for more .
Interviewer :- In which language do u write codes ?
Me :- C/C++
Interviewer :- Write the code to Run time polymorphism
Me :- Wrote the code
Interviewer :- Write another code given a string and you have to print the string that has been shifted by n characters ?
Me :- Wrote the code
Interviewer :- Another Questions given two numbers and need to find the prime numbers common to each number .
Me:- First I wrote the code for getting the HCF between the numbers and then found out the prime number of that HCF , I gave this Logic .
Interviewer :- Make 120 out of 5 Zeros .
Me:- ( 0! + 0! + 0! + 0! + 0! )! = 120
Interviewer :- Make 100 out of 6 Nine
Me:- (999-99)/9=100
Interviewer :- (The old Question) In a hotel room there are 3 bulbs with three switches at the reception and you u have one lift . In how many times can you make out that which switch is which bulbs ?
Me : Told it .
Interviewer :- Wht do u do in your leisure time ?
Me :- I like to solve puzzles and go through the Problems in SPOJ a coding website .
He then asked me to show the site . I gave the site address . I showed the problems . He asked to show my profile . After seeing that he was happy and he asked me about my college life and my Professional life . later he told me to wait outside and till he will give the feedback .

3rd Round : Design Round

Interviewer :- Given 5litres bottle and a 3 litres bottle and a bucket full with water . You need to get 4 litres out of it . How will you do it ?
Me :- I told a way how to do it manually .
Interviewer :- Ok Fine now how would you code it for any litres bottle given to you .
Me :- I was trying something with division , subtraction . He asked me to leave it .
Interviewer :- Give two strings fiqebemdefqf and fqedmbi . How will you get 2nd String from the 1St String .
Me :- Reversing the 1st string and then Take the first occurence of the character and skip the character which has came preciously .
Interviewer :- Can you write the code for that In one Iteration .
Me :- I implemented that using hash table .
Interview : Explain you code .
Me:- I explained it

HR round :-It was Video Conference round .

Interviewer :- Started with telling abt yourself .
Me:- Told
Interviewer :- Explain about your present project work .
Me:- I told it
He then told in which Domain I will be working and it will not be related to Windows . MOre of a testing work will be there . (He didn’t mentioned abt development). I asked wht abt Development .
Interviewer :- Development is very less here .
Me:- My expression dropped and I thought he noticed that .
Interviewer :- Where do u wanna see yourself after 20 years
Me:- I wanna be a good developer(This was turn down as they were looking more of Testing sort). I wanna be settled in life and be a good person in life .
Interviewer :- How would you make sure that the product is scalable ?
Me:- I blurb something I also Don’t recall .
Interviewer :- Do u have any problm relocating to Hydrabad?
Me:- No
Interviewer :- Do u have anything to ask ?
Me:- No.
Interview :- This Post is only for testing and support domain , etc….

I was eliminated in HR round .

How 2 detect Segmentation Error in Gcc compiler

Segmentation error mainly occurs when the executing process wants 2 access the memory which is been already under use by the higher priority process in short when the process  is running short of memory which is not been assigned 2 it from the heap this may be one situation …

To detect this we need 2 follow the below:

root#>gcc -o ss -lm -g  Sam.c

root#>gdb ./ss

This will take u 2 gdb console where u need 2 type :

gdb>run (Enter)

After u press enter if any segmentation error lies it shows the position in your code n help u debug the snippet..



Simplee enjoy coding …:-)

Calcutta @ 1950

Printing Quine In C

Quinee is a famous problem of printing itself ……… This i just it’s demo


int main(){

char s[600];

int n,c,k,F,x;

FILE *f=fopen(__FILE__,”r”);scanf(“%d”,&n);

while(!feof(f))s[k++]=getc(f);s[k-2]=”;

printf(“%s”,s);}

return 0;}





The Sex Life of an Electron

One night when his charge was pretty high, Micro Henry decided to try to get a cute little coil to let him discharge. He picked up Millie Amp and took her for a ride on his Mega cycle. They rode across the Wheatstone bridge, around by the sine wave, and stopped in a magnetic field by a flowing current.

Micro Henry, attracted by Millie’s characteristic curves, soon had her resistance at a minimum and his field was fully excited. He laid her on the ground potential, raised her frequency, lowered her capacitance and pulled out his high voltage probe. He inserted his probe into her test socket, connected them in paralell, and began to short circuit her shunt.

Fully excited Millie Amp exclaimed, ‘Mho, mho, mho.’ With his tube operating at it’s maximum peak current and her coil vibrating from the current flow, she soon reached her maximum peak potential. The excess current flow had gotten her coil hot and Micro Henry started rapidly discharging and soon had drained off every last electron.

They fluxed all night trying various connections and sockets, until Micro Henry’s bar magnet had lost all of it’s field strength. Afterwards, Millie Amp tried self induction and damaged her solenoid. With his batteries fully discharged, Micro Henry was unable to further excite his generator, so they ended it all by reversing polarity and blowing each other’s fuses.

THE HISTORY OF THE INDIAN FLAG.


INDIAN FLAG

Click Here To Join Now

The flag that was first hoisted on August 7, 1906,
at the Parsee Bagan Square in Calcutta .

Called the ‘Saptarishi Flag’, this was hoisted in Stuttgart
at the International Socialist Congress held on August 22, 1907.

Click Here To Join Now

Associated with the names of Dr. Annie Besant and
Lokmanya Tilak, this flag was hoisted at
the Congress session in Calcutta during the
‘Home Rule Movement’.

Click Here To Join Now

In the year 1921, a young man from Andhra presented
this flag to Gandhiji for approval. It was only after
Gandhiji’s suggestion that the white strip and
the charkha were added.

Click Here To Join Now

This flag was suggested during the All India Congress
Committee session in 1931. However, the Committee’s
suggestion was not approved.

Click Here To Join Now

On August 6, 1931, the Indian National Congress
formally adopted this flag, which was first hoisted
on August 31.

Click Here To Join Now

The man who designed Tiranga versatile genius Lt. Shri Pingali Venkayya.

Click Here To Join Now

Lt .Shri Pingali Venkayya

India ‘s flag is a tricolor standard, with bands of saffron, white, and dark green. The saffron represents courage, sacrifice, patriotism, and renunciation. It is also the colour of the Hindu people. The green stands for faith, fertility and the land; it is the colour of the Islam religion. The white is in the centre, symbolizing the hope for unity and peace. In the centre of the white band (representing Christianity) is a blue wheel with 24 spokes. This is the Ashoka Chakra (or “Wheel of Law”). The Chakra represents the continuing progress of the nation and the importance of justice in life. It also appears on the Sarnath Lion Capital of Ashoka ” .


How to set precision in C & C++??

In C the syntax is:

printf(“%.11Lf”,var);

or

printf(“%.*Lf”,n,var);

Here n is the  precision….

In C++

var=3.14159265358979323846;

cout.precision(12);

cout<<var;

Problem linking the header files in GCC Linux .

Sometimee u will find that ur program in c or c++ is unable 2 link the header file resulting 2 (compilation) linking error . This limitation can be fixed by the following ::

gcc -o sample -lm sample.c

OR

cc -o sample -lm sample.c

Now u know the solution go ahead n codeee ..


How to Install GCC (c/c++) Compiler in Ubuntu 9.10

Installing  package called “build-essential ” will serve the purpose

” build-essential “ contains a list of packages which are essential for building Ubuntu packages including gcc compiler, make and other required tools.


$ sudo apt-get install build-essential

$ gcc -v

$ make -v

Enjoy Coding …..

CRAZY !!!!!

flip flops

let's Go 2 School

Cool Whale High Five

crazy arabs

crazy car thing

Read with no hindrance

She is HOT !!

Time PLzzzzz

HMMMMM

Black Widow Eats Snake

Chargeeee

What abt tht ??

Stupiddddd

Why Is This Guy Smiling

Three Headed Dog (not morphed) @Chinaaa

Tiger Fish Teeth

Horny Goat

Independence Phase Of India ..

1st MISS INDIA

1st INDIAN FLAG

Integrated Many Account into One

Here meebo bring u people with a popular feature that helps to integrate all ur account of different profile into a single one help u 2 manage ur chats in 1 no matter what domain u use ……

So there is no harm in trying u r using multiple chats in different domain u just need 2 create an account in www.meebo.com and give the account id along with their authentication and carry on ur work……….

This is the Home Page of meebo ::

After u enter in ur profile u will get all ur chats together  like:

So wht r u waiting for go ahead and get r account over there & enjoy these feature ...

DB-GT Season 4 Download

DB-GT Season 4 ::

Shadow Dragon Saga:

48. The Shadow Dragons
49. The Two-Star Dragon
50. The Five-Star Dragon
51. The Six-Star Dragon
52. The Seven-Star Dragon
53. Saying Goodbye
54. The Four Star Dragon
55. The Heart of the Prince
56. The Three-Star Dragon
57. The One-Star Dragon
58. Shadow Dragons Unite

59. Super Saiyan 4 Vegeta
60. Super Saiyan 4 Fusion
61. The Limits of Power
62. Rescue Goku
63. Universal Allies
64. Until We Meet Again


Click the link 2 download :: DB-GT Season 4


thnks

Some Words Woman Use.


(1) Fine: This is the word women use to end an argument when they are right and you need to shut up.

(2) Five Minutes: If she is getting dressed, this means a half an hour. Five minutes is only five minutes if you have just been given five more minutes to watch the game before helping around the house.

(3) Nothing: This is the calm before the storm. This means something, and you should be on your toes. Arguments that begin with nothing usually end in fine.

(4) Go Ahead: This is a dare, not permission. Don’t Do It!

(5) Loud Sigh: This is actually a word, but is a non-verbal statement often misunderstood by men. A loud sigh means she thinks you are an idiot and wonders why she is wasting her time standing here and arguing with you about nothing.

(6) That’s Okay: This is one of the most dangerous statements a women can make to a man. That’s okay means she wants to think long and hard before deciding how and when you will pay for your mistake.

(7) Thanks: A woman is thanking you, do not question, or faint. Just say you’re welcome. (I want to add in a clause here – This is true, unless she says ‘Thanks a lot’ – that is PURE sarcasm and she is not thanking you at all. DO NOT say ‘you’re welcome’ . that will bring on a ‘whatever’).

(8) Whatever: Is a woman’s way of saying F– YOU!

(9) Don’t worry about it, I got it: Another dangerous statement, meaning this is something that a woman has told a man to do several times, but is now doing it herself. This will later result in a man asking ‘What’s wrong?’
Follow

Get every new post delivered to your Inbox.