Mphasis Question Paper Exam Date:04-08-2007

Answer / tiby samuel

Mphasis Question Paper
1hour 5 mins
60 questions
No negative marks
Exam Date:04-08-2007

In the first section there were 2 paragraphs about
Operating System and Threads and the questions related to
those paragraphs

In the second section there were aptitude questions
1) 1000 Litre milk contains some percent milk and some
percent water. Now add some 70 Litre water to the above
mixture. What is the percentage of water in the mixture? I
dont remember the values...

2)Questions using Venn Diagrams like
80% of students got distinction. 4 students got distinction
in Hindi,malayalam & english. 3 students got distinction in
malayalam and hindi. 6 students got distinction in hindi
and english. 2 students got distinction in malayalam and
english. (The values may not be correct)
And then solve questions like
i)how many got distinction in only malayalam and hindi.
ii)how many got distinction in only hindi and malayalam
iii)how many got distinction in atleast 2 subjects
and so on..

3)Then mark 1 if the problem can be solved using only
statement 1
mark 2 if the problem can be solved using only
statement 2
mark 3 if the problem can be solved using both
mark 4 if the problem can be solved using
neither statements

i) two boys playin on a swing want to find out how heigh
the swing will go.
statement 1:the swing is resting on a block of height 5cm
statement 2:the length of the swing board is some 75cm
options a)1 b)2 c)3 d)4

5 or 6 questions like that

In third section they asked OS
Questions related to malloc,stack,queue

1)what is the position where the elements are added to or
deleted from a stack is called?
a)top b)bottom c)front d)rear


In the fourth section they asked C programming

Questions related to pointers.
A prog is given and we have to find its output.
You should have thorough knowledge about pointers

These are all what I remember. Hope it's somewhat helpful.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Placement Papers Interview Questions

Interview questions on Fiber Channel & Storage Technology

1 Answers   IBM, Medline,

Aptitude and Technical paper

2 Answers  

Why main steel is to be reinforced in shorter direction in case of slam?

1 Answers  

Lucknow Hcl Technologies Placement Paper 12 Feb 2007

5 Answers   HCL,

NIC latest paper with number of questions

1 Answers   KTS,

Verifone PLACEMENT PAPERS ------ Verifone Placement Paper 5

1 Answers   Verifone,

written test model paper

1 Answers   Intel,

Cadance placement papers -------- placement paper -1

1 Answers   Cadence,

Syntel PLACEMENT PAPERS --------------- Placement Paper 1

45 Answers   Syntel, L&T,

INFOSYS PLACEMENT PAPERS ----- Placement Paper 7

1 Answers   Infosys,


2 Answers   TATA,

SNAPDEAL QUESTIONS 1. A train is going at a speed of 60kmph towards Delhi and returned back at a speed of 30kmph. What is its average speed? ANS : (2*30*60)/(30+60) = 40kmph 2. How many different 4 letter words can be framed that have at least one vowel? ANS : 264 - 214 (total no of 4 digits words – no of words with no vowels) 3. Write an algorithm to find out a number from an array of numbers where only one number occurs once and rest all occurs twice. ANS : XOR all the numbers ,you will get the number with single occurrences . 4. Which among the following have the product of the distance between opposite sides of a regular polygon and it side equals one fourth of the area. A. hexagon B. octagon C. n=16 D. n=18 ANS : n=16.(area of regular polygon = apothem*perimeter/2 Apothem = distance between opposite sides/2 Area = (opp_side_dist * n * a )/4 Product of opp_side_dist and side of reg. polygon = opp_side_dist * a For n= 16 the ration becomes 1:4 5. Which of the following cannot be a relation between two variables? ANS = 4th diagram. 6.what will be the output of this program Void print (int n) { If (n>0) { printf(“hello”); print(n-1); } printf(“world”); } ANS : N times hello followed by N+1 times world. 7. Which among the following cannot be used for future prediction? ANS : 4th Diagram. 8. There are 25 horses. We have to find out the fastest 3 horses In one race maximum 5 horses can run. How many such races are required in minimum to get the result. ANS : 7 races (A. first run all horses = 5 races, eliminate 4th 5th of all races. B. Run horses who came 1st in those 5 races = 1 race , the horse coming first is the fastest Run horses a. 2nd and 3rd with the fastest horse (in first time race A) b. 2nd and 3rd coming horse in B. c. The horse who came 2nd with the horse(who came 2nd in race B) in race A You will have the fastest 3 horses.) 9. In a game of rolling dice you are given 2 dice and you have to roll them. Whatever is the outcome the player will win that many dollars. What should the game owner charge each player (optimum) so that he doesn’t have to bear any loss? ANS : $7 10. We have a function REV(“string”,m,n).This function is capable of reversing the caharacters in the string from mth location to nth location. e.g. REV(“abcd”,2,3)  the output will be acbd We need to swap a string from a position,e.g. SWAP(“abcdefg”,4)  output needs to be efgabcd. How can the REV function used do this. ANS : L = string length,N= position given in SWAP function. SWAP(“abcdefg”,4) = REV(REV(REV(“abcdefg”,N+1,L),1,N),1,L).

1 Answers   SnapDeal,