2023 2024 Student Forum > Management Forum > Main Forum

 
  #2  
28th July 2014, 03:40 PM
Super Moderator
 
Join Date: Apr 2013
Re: Microsoft Eligibility Criteria

As you required the Microsoft Eligibility Criteria so here I am providing you the same.

Eligibility Criteria
Should have a minimum degree from MCA or B.Tech
Should have a good consistency in academics
The entire critical thing to get a place in these types of companies is you should have
Clear aptitude round (which is comparatively easy when compared to HR round)
HR round is very crucial
Microsoft HR managers are very intelligent as I faced an Interview with this company..
They are very different from other HR's

For your help I am providing you the placement papers of Microsoft



1. Given a string s[1...n] and a reverse function reverse(s, i, k) which reverses the character sequence from i to k (inclusive of both) in string s, determine what the following operations result in.

1<k<n

reverse(s, 1, k)

reverse(s, k+1, n)

reverse(s, 1, n)

a) Reverses the string

b) Rotates the String left k positions

c) Rotates the String right k positions

d) None of the above

Answer: b)

2. If len is the length of the string and num is the number of characters printed on the screen. Give the relation between num and len.

void abc (char *s){

if(s[0]==”)

return;

abc(s+1);

abc(s+1);

printf(“%c “, s[0]);

}

a) num=2^len

b )num=2^len-1

c) num=2*len-1

d) None of the above

Answer: b)

3. Which of the following numbers cannot be represented accurately in binary?

a) 0.1 b) 6.5 c) 1/16 d)1.32 e) 0.590625 (not sure abt option e)

1. a only

2. a and b

3. a, b and d

4. a, b and e

Answer: a) and d) should be the answer

4. A process doesn’t require additional processors to carry out 40% of it’s execution since 40% is mostly sequential. Determine how many processors are required to execute the process in 150s if

the process takes 300s to execute on a single processor.

a)5

b)8

c)6

d)7

Answer: c)

5. Time complexity of a function f(m) is O(m). If the array[i...n] contains either 1 or 0 in each of it’s locations, determine the worst case time complexity of the following piece of code written in C-like

language.

counter=0;

for(i=0; i=n; i++){

if(a==1)

counter++;

else{

f(counter);

counter=0;

}

}

* i=n was given in the condition of for loop

a) O(n^2)

b) O(n^2 logn)

c) O(nlogn)

d) O(n)

Answer: d) if assuming everything else to be alright.

6. Increasing the RAM increases the efficiency of the CPU. The reason

is

a) Virtual memory increases

b) Number of page Page faults decreases

c) Page segmentation decreases

d) Increasing the amount of memory increases the speed of fetching

data.

Answer: b)

7. If a dice is thrown three times, what is the probability that a “six” comes atleast once.

a) 125/216

b) 25/216

c) 91/216

d) 1/216

Answer: c)

Question 1. [10]
Find the output of the following program segment
#include
char *c[]={"ENTNG", "NST","AMAZI","FIRBE"};
char** cp[]={c+3, c+2, c+1, c};
char ***cpp= cp;
void main() {
printf("%s",**++cpp);
printf("%s ",*--*++cpp+3);
printf("%s",*cpp[-2]+3);
printf("%s",cpp[-1][-1]+1);
}

Question 2. [5]
Write a function delete(struct node** Head) to delete the linked list node by node by deallocating them from the memory and at the end assign the head pointer to NULL.
void deleteListTest(struct node* headRef) {
struct node* myList=Listonetwothree();
delete(headRef);
}
//write your code here

Question 3. [10]
Write a function Computer (int x) such that it prints the values of x, 2x, 4x, 8x ... till the value doesn't exceed 20000. After reaching 20000, it again comes back from ..8x, 4x, 2x, x and stops there.
Note: (1) You can't use any local variables in the function
(2) You can't use any loops (for or while or do..while) or any GOTO statement.

Question 4. [10]
List all data structures you would use for a memory management module.

Question 5. [5]
Share 2 high complexity and 2 low complexity test cases for a coke vending (ATM) machine.

Question 6. [10]
Explain 3 high priority test cases for the performance of MSN search engine.

Answers:
Two of the trickiest questions and the easiest ones:
(1) AMAZING BEST
(3)void Compute (int x) {
cout<<<"N";
if(x<20000) {
Compute(x*2);
}
cout<<<"N";
}


Quick Reply
Your Username: Click here to log in

Message:
Options




All times are GMT +5. The time now is 02:20 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
SEO by vBSEO 3.6.0 PL2

1 2 3 4