419a7126-2f61-4806-846f-1926de7477dc

Embed Size (px)

Citation preview

  • 7/28/2019 419a7126-2f61-4806-846f-1926de7477dc

    1/18

    HUAWEI Aptitude

    1.Following some pattern, understand the table and find the answer?

    JANUARY 20

    APRIL 10

    MAY 5

    NOVEMBER 15

    JULY ?

    2. Find the missing number: 1 10 3 9 5 8 7 7 9 6 ? ?

    3. If it was two hours later, it would be half an hour as long until midnight as it will be if it were an hour

    later. What is the time now?

    4. In a city, 80% speaks English, 70% speaks Hindi and 10% do not speak both. It was found that 162

    people talk both. How many are there in the city?

  • 7/28/2019 419a7126-2f61-4806-846f-1926de7477dc

    2/18

    5. Find the missing number: 0 6 24 X 120

    6. Which is not 'lean year': 1900 2000 1952 1980

    7. Find the missing number: J, ?, M, ?, M, J, ?, A, S, O, N, ?

    8. There are 27 pearls in a bag. One among them is less in weight. You have been given 2 pan weight

    machine. In how many trials, you will be able to find the defected one? 4 3 11 13

    9. Direct distance between A & B is 200. Direct distance between B & C is 200. Direct distance between

    C & A?

    10. There are 30 socks in a bag. 30% is in blue color. What is the probability to take two blue socks?

  • 7/28/2019 419a7126-2f61-4806-846f-1926de7477dc

    3/18

    11. In a ground, there are two poles in 7 ft & 12 ft respectively. They are 12 ft apart from each other.

    What is the distance between the edges of two poles?

    12. You need to print an document of the area 216 sq cm. Condition is 3 cm margin is to be left at both

    top & bottom and 2 cm at the sides. What 'd be the optimized size of your paper?

    13. In a party, every man has his dog with him. There are 22 heads and 72 legs all together. How many

    men & dogs are there?

    14. Ram writes a number between 1 to 1000. Raja wants to know the number, knowing Ram cananswer only yes & no and always speaks truth. What will be the minimum number of questions Raja

    finds the answer.

    a. 999 b.10 c.500 d.none

    15. How many ways a section of four letter word can be made in complete alphabet?

  • 7/28/2019 419a7126-2f61-4806-846f-1926de7477dc

    4/18

    16. Find the missing number: 0, 0.577, 1, 1.732, ?

    a. 0.656 b.2 c.2.743 d.none

    17. 17171717171.....(101 digits) is divided by 625. What is the answer?

    18. Synonym for ZENITH: ridge trough nadir crecent

    19. June 30, 2004 is wednesday. What is June 30, 1974?

    20. Two different types of tea are mixed, at 6 Kg of type 1 and 4 Kg of type 2. One Kg of type 1 is Rs. 6

    and that of type 2 is Rs. 7. The seller get 10% profit, by this action. Find at what price, he 'd have sold the

    mixture/Kg?

    21. All the students of class are told to sit in circle shape. Here the boy at the 6 th position is exactly

    opposite to 16 th boy. Total number of boys in the class?

  • 7/28/2019 419a7126-2f61-4806-846f-1926de7477dc

    5/18

    22. The average mark of 10 students is 80%. Later it was found that for one student, instead of 60%, the

    recorded 90%, by mistake. Now the corrected new percentage?

    Ans:

    Old % is 80 for 10 ppl. So the total: 800.

    Difference in correction : 30. So the total : 770 for 10 ppl. (i.e) 770/10= 77%. (New %)

    23 A can do a piece of work in 7 days of 9 hours each and B can do it in 6 days

    of 7 bours each. How long will they take to do it, working together 8 hours a day?

    Sol. 3 days

    24. A and B can do a piece of work in 18 days; Band C can do it in 24 days A and C can do it in 36 days. In

    how many days will A, Band C finish it together and separately?

    Sol. , A, Band C together can finish the work in 16 days.

  • 7/28/2019 419a7126-2f61-4806-846f-1926de7477dc

    6/18

    A alone can finish the work in 48 days.

    B alone can finish the work in 144/5=28 4/5 days

    C alone can finish the work in 144 days.

    25 . A is twice as good a workman as B and together they finish a piece

    in 18 days. In how many days will A alone finish the work?

    Sol. 27 days.

    26. A can do a certain job in 12 days. B is 60% more efficient than A. How many

    days does B alone take to do the same job?

    Sol. 7 1/2 days.

  • 7/28/2019 419a7126-2f61-4806-846f-1926de7477dc

    7/18

    27. A can do a piece of work in 80 days. He works at it for 10 days B alone finishes the remaining work in

    42 days. In how much time will A and B working together, finish the work?

    Sol. 30 days.

    28. A and B undertake to do a piece of work for Rs. 600. A alone can do it in 6 days while B alone can do

    it in 8 days. With the help of C, they finish it in 3 days. !find the share of each.

    Sol : Rs. 75.

    29. A and B working separately can do a piece of work in 9 and 12 days respectively, If they work for a

    day alternately, A beginning, in how many days, the work will be completed?

    Sol : 10 1/4days.

    30 .45 men can complete a work in 16 days. Six days after they started working, 30 more men joined

    them. How many days will they now take to complete the remaining work?

    C programming:

  • 7/28/2019 419a7126-2f61-4806-846f-1926de7477dc

    8/18

    [What will be the output???]

    1. void checkA()

    {

    int a=2;

    if(a=3!=3)

    printf(" 3 ");

    else

    printf(" 2 ");

    return;

    }

  • 7/28/2019 419a7126-2f61-4806-846f-1926de7477dc

    9/18

    2. main()

    {

    char P[]={"Hello World"};

    printf(" %s

    ",p);

    main();

    }

    3. UINT i,j;

    i = j = 0;

    i = ( i++ > ++j ) ? i++ : i--;

  • 7/28/2019 419a7126-2f61-4806-846f-1926de7477dc

    10/18

    4. # define D 10

    # define Y D+10

    # define D 30

    main(int argc, char *arc[])

    {

    printf(" %d

    ",D);

    }

    5. # define TRUE 0

    main()

    {

  • 7/28/2019 419a7126-2f61-4806-846f-1926de7477dc

    11/18

    int i=0;

    while(TRUE)

    {

    printf(" %d

    ",i);

    i++;

    }

    printf(" %d

    ",i);

    6. UCHAR j;

    for(j=0;j