Mphasis Interview Questions
Mphasis Interview Questions
The very first round is online written exam in which they asked from aptitude simple
question from number system, time and distance, profit and loss.
In reasoning blood relation, character pattern, arrangements etc
Next in English in which they asked synonyms, antonyms, passage, arrangements of
sentence, error finding in sentence.
In technical aptitude simple question from java only.
2nd round is versant round in which you have to speak with machine on telephone about 15
min.
3rd Round is technical round in which they asked from java oops concept.
Like explain oops concept in java.
After that question from interface.
What is collection.
What is the use of spring and hibernate.
What is debugger.
How we deal with front end error.
Tell me about your project.
What will you do when someone not working in your team on time.
What will you do after code is ready in your team, do you directly hand it over to the client.
4th round is hr in which they asked me basic questions like
Tell me about yourself.
What is your hobby.
Tell me something about your native town.
Tell me about terms and conditions of company.
These are some list of questions asked in mphasis.
Programming on palindrome both on string and integer, factorial , reverse a num, reverse a string,
prime number
Sanity testing, regression testing, testing process, Diff between BVA & equivalence partitioning
. There are two loops which are nested. This implies which of the following
a. Two loops, one after the other
b. Two loops, one inside the other
c. One loop two different iteration counts
d. Two loops with same iteration count
Pankaj and Mythili were both asked to write the code to evaluate the following
expression.
a-b + c/(a-b) + (a-b)2
1. Pankaj writes the following code statements (Code A)
print (a-b) + c/(a-b) + (a-b) * (a-b)
2. Mythili writes the following code statements (Code B)
d = (a-b)
print d + c/d + d*d
If the time taken to load in a variable, for addition, multiplication or division between
two operands is same , which of the following is true?
A. Code A uses lesser memory and is slower than Code B.
B. Code A uses lesser memory and is faster than Code B.
C. Code A uses more memory and is faster than Code B.
D. Code A uses more memory and is slower than Code B.
Tanuj writes the code for a function that takes as input n and calculates the sum of
first n natural numbers.
function {
if(??)
return 1
else
return(n+sum(n-1))
end }
Fill in?? in the code.
A. n equals 1 B. n equals 2 C. n>=1
D. n>1
Afzal writes a piece of code, where a set of three lines occur around 10 times in
different parts of the program. What programming concept can he use to shorten his
program code length?
A. Use for loops
B. Use functions
C. Use array
D. Use class
A is an empty stack .The following operations are done on it.
PUSH(1)
PUSH(2)
POP
PUSH(5)
PUSH(6)
POP
What will the stack contain after these operations?(top of the stack is underlined)
A. 5 6
B. 1 5
C. 5 6
D. 1 5 Shahaana has a 10,000 line code. She is trying to debug it. She knows there
is a logical error in the first 25 lines of the code. Which of the following options will be
an efficient way of debugging?
Option 1 Compile the whole code and step into it line by line
Option 2 Use an interpreter on the first 25 lines
Option 3 Compile the whole code and run it
Option 4 None of these
Srishti writes a program to find an element in the array A[5] with the following
elements in order: 8 30 40 45 70. She runs the program to find a number X. Xis
found in the first iteration of binary search. What is the value of X? Choose the
correct answer
A. 40 B. 8 C. 70
D. 30
Which one of following is lowest level format to which computer converts a higher Language
program before execution?
A. English code B. Machine code C. Assembly language D. System
language
1. White box testing
2.sql queries
3.link between SQL and testing
4.will test engineer do white box testing?
5.brief explanation of white box testing
6.project explanation