[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Placement Questions & Answers :: Huawei

11. What is the correct sequence

a.try,catch,finally
b.try1,catch1,catch2,try2,finally
c. try1,catch1,try2,catch2,finally
d. None of these

Answer:

Explanation:

IN EXCEPTION HANDLING THERE IS try,catch,finally block to handle exceptions
syntax :try
{
//Protected code
}catch(ExceptionType1 e1)
{
//Catch block
}catch(ExceptionType2 e2)
{
//Catch block
}catch(ExceptionType3 e3)
{
//Catch block
} there fore for 1 try block we can have multiple catch block so in the above options try,catch,finally is correct option

Workspace

Tags:

Huawei 

12. Find 55*55*55+45*45*45/55*55-55*45+45*45

Answer:

Explanation:

55^3+45^3/55^2+45^2-55*45
a^3+b^3/a^2+B^2-a*b=a+b
s0 55+45=100

Workspace

Tags:

Huawei 

13. There is a trekking team which takes a halt after 10 hours and the leadership changes after 5 hours. leadership changes in alphabetical order. Kamala is leading now with mary, malti, and sita. Who will lead after two rests.

Answer:

Explanation:

After two rests means after 20 hours.
Till then 4 chnages must have taken place and the same person will be the leader again

Workspace

Tags:

Huawei 

14. What is the highest power of 12 that divides 54!?

Answer:

Explanation:

highest power of 12 that divides 54! is 25.

Workspace

Tags:

Huawei 

15. A number is increased by 20% and then it is decreased by 10%. Find the net increase or decrease in %

Answer:

Explanation:

x=20% y=-10%
formula x+y+xy/100
20-10-200/100= 8% increase as it is a +ve value

Workspace

Tags:

Huawei 

16. There were 105 handshakes. How many persons were there in party.

Answer:

Explanation:

Total 15 persons in the party.
n(n-1)/2 = 105
n^2 - n/2 = 105
n^2 - n = 210
By solving for n, we put n=15.
So, total persons = 15

Workspace

Tags:

Huawei 

17. There is six letter word VGANDA. How many ways you can arrange the letters in the word in such a way that both the A's are together.

Answer:

Explanation:

A A _ _ _ _. The arrangement can be seen as arranging 5 letters in 5! ways.
The arrangement of A makes no difference and hence is not counted as a new word

Workspace

Tags:

Huawei 

18. Complete the series 12 8 14 7 16 _

Answer:

Explanation:

6 is the answer.(12 8 14 7 16 6)
It have two series.
1st series = 12 14 16
2nd series = 8 7 _
In that, 1st series increasing by 2 and 2nd series decreasing by 1.
Final series = 12 8 14 7 16 6

Workspace

Tags:

Huawei 

19. If a lies between 2 and 3, both included, and b lies between 4 and 6, both included, then what is the ratio of minimum and maximum limits of a2-b2?

Answer:

Explanation:

We have to find minimum and maximum limits of a2-b2,
.:.a2-b2= min(a)^2-max(b)^2= 2^2-6^2 = 4-36 = -32.

.:.a2-b2 = max(b)^2- min (a)^2 = 3^2 - 4^2 = 9-16 = -7

Ratio = -32/-7 = 32/7

Workspace

Tags:

Huawei 

20. After giving a discount of 20% on the marked price of a book, he purchased a pen worth of Rs. 80. What is the original price of the book?

Answer:

Explanation:

20%=80rs then 100%=400rs hence 400 is the price of the book

Workspace

Tags:

Huawei