# Huawei Written Test Paper 2015

Posted on :15-02-2016
Q1. The letters A, B, C, D, E, F and G, not necessarily in that order, stand for seven consecutive integers from 1 to 10 D is 3 less than A B is the middle term F is as much less than B as C is greater than D G is greater than F

1. The fifth integer is

(a) A
(b) C
(c) D
(d) E
(e) F

2. A is as much greater than F as which integer is less than G

(a) A
(b) B
(c) C
(d) D
(e) E

3. If A = 7, the sum of E and G is

(a) 8
(b) 10
(c) 12

4. A - F = ?

(a) 1
(b) 2
(c) 3
(d) 2
(e) Cannot be determined

5. An integer T is as much greater than C as C is greater than E. T can be written as A + E. What is D?

(a) 2
(b) 3
(c) 4
(d) 5
(e) Cannot be determined

6. The greatest possible value of C is how much greater than the smallest possible value of D?

(a) 2
(b) 3
(c) 4
(d) 5
(e) 6

Q2. (1/10)18 - (1/10)20 = ?

(a) 99/1020
(b) 99/10
(c) 0.9
(d) none of these

Q3. Thirty men take 20 days to complete a job working 9 hours a day. How many hour a day should 40 men work to complete the job?

(a) 8 hrs
(b) 7 1/2 hrs
(c) 7 hrs
(d) 9 hrs

Q4. Select the correct option.

a) ArrayList is synchronized and Vector is unsynchronized.
b) ArrayList is unsynchronized and Vector is synchronized.
c) Both ArrayList and Vector are synchronized.
d) Both ArrayList and Vector are unsynchronized.

Q5. What is the correct signature of hashCode()?

a) int hasCode();
b) int hashCode(int);
c) int hashCode(int,int);
d) double hashCode();

Q6. Which excess modifier is applicable to an interface?

a) public
b) protected
c) private
d) all of these

Q7. Find the wrong option
Class B extends A

a) A a=new A();
b) B b=new B();
c) A a=new B();
d) B b=new A();

Q8. Find the next series

125,80,45,20,_

a) 10
b) 8
c) 12
d) 5

Q9. If a rainy day occurs on every 10th day and each rainy day accounts for half rainbow then in 20 days what is the percentage of days when rainbow doesnt takes place.

Q10. Point out the compile time error in the program given below.

int main()
int *x;
1;
return 0;

A. Error: invalid assignment for x
B. Error: suspicious pointer conversion
C. No error
D. None of above

Q11. What is the correct sequence

try, catch, finally
try1, catch1, catch2, try2, finally
try1,catch1, try2, catch2, finally

Q12. There are two pair of gloves in a draw one is green and other is blue. What is the probability that a glove picked with out seeing from the draw is wrong one.

Q13. What is the value of 11^14+12^14+13^14

Q14. if a,b ,c >0 and (a+b+c)(ab+ab+ca)=3z value of z is

a) zabc
c) z=abc

Q15. A is twice as efficient as B and B is thrice as efficient as C, who can finish a job alone in 24 days. If A, B and C work on alternate days with A starting first, in how many days will the job finished?

Q16. What will be output if you will compile and execute the following code?

#define call(x,y) x##y
void main()
{
int x=5,y=10,xy=20;
printf("%d",xy+call(x,y));
}

(A) 35
(B) 510
(C) 15
(D) 40
(E) None of above

Q17. There are 2 pots each filled with water and milk respectively. Some amount of milk is poured into water pot and then the some amount of mixture in water pot is poured into milk pot. which is true?

Q18. PA and PB are tangent to the circle at A and B respectively and the chord BC is parallel to tangent PA.If AC=6 cm and lengtht of tangent AP is 9 cm.Then what is the length of the chord BC.

Q19. A 270 meter long train running at the speed of 120 kmph crosses another train running in the opposite direction at the speed of 80 kmph in 9 seconds.What is the length of other train.

Q20. A monkey start climbing up a tree 20ft tall.Each hour it hops 3 ft and slips back 2ft. How much time would it take the monkey to reach the top.

Q21. What will come in place of " ? "

S,M,?,W,T,?,S

Q22. In which decade was the American Institute of Electrical Engineers (AIEE) founded?

A. 1850s
B. 1880s
C. 1930s
D. 1950s

Q23. A can beat B by 20 min in 200m race.B can beat C by 10 min in 250m race.By how many meters A can beat C in 100 m race?

Q24. There are 200 questions on a 3 hrexamination. Among these questions are 50 mathematics problems.It is suggestedthat twice as much time be spent on each maths problem as for each otherquestion. How many minutes should be spent on mathematics problems

Q25. Find the odd no out of:- 396, 462, 572, 396, 427, 671, 264

a. 396
b. 427
c. 671
d. 264

Q26.

main()
{
int x=011|0x10;
printf("%d",x);
}

a) 13
b) 19
c) 25
d) 20

Q27. Find the day of the week on 25th december 1995

Q28. How many 3 digit numbers formed from 2,3,5,6,7 and 9.Which is divisible by 9 and none of the number is repeated.

Q29. A garrison of 3300 men has provisions for 32 days. when given at the rate 850 grams per head.

Q30. Daal is now being sold at rate Rs.20 a kg. During last month its rate was Rs 16 per kg. By How reduce percent should a family its consumption so as to keep the expenditure fixed?

Q31. A type of mixture is prepared by mixing brand at Rs.9 a kg with brand B at Rs.4 a kg. If a mixture e is worth rupees 7 a kg, how many kgs of brand A are needed to make 40 kgs of the mixture?

Q32. ABCE is an isosceles trapezoid and ACDE is a rectangle. AB=10 and EC=20.What is the length of AE.

Accenture
Syntel
HP
Samsung
Microsoft
Honeywell
Dell
Philips
TVS Motor

Register