(Paper) Huawei Placement Paper (Technical & Aptitude)
Paper:
Huawei Placement
Paper (Technical & Aptitude)
2. Find the missing number: 0 6 24
X 120
3. There are 26 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. There are 30 socks in a bag. 30%
is in blue color. What is the probability to take two blue socks?
5. 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?
6. Find the missing number: 0,
0.577, 1, 1.732, ?
a. 0.656 b.2 c.2.743 d. none
7. 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?
8.There are 10 people in a party.
"How many other people, you met?" is the question asked to everyone.
First person says 1, Second says 2, Third says 3..........ninth says 9. Now what
tenth person say?
9.The Distance between A to
B is 1000 miles... A person has 3000 Apples ..He has to deliver to the market in
B , he is carrying Maximum of 1000 apples by the camel.. For every mile the
camel eats a Apple ...Like that then u have to find out the number of apples
that he delivered to the market?
10. Mr x
& MRS x and Mr.y and MRS y are playing a chess ..like that then the chance
of winning? Ans. (MR.y)
C Programming
1. void checkA()
{
int a=2;
if(a=3!=3)
printf(" 3 ");
else
printf(" 2 ");
return;
}
ans. 2
2. main()
{
char P[]={"Hello World"};
printf(" %s \n",p);
main();
} ans (abnormal program termination)
# define D 10
# define Y D+10
# define D 30
main(int argc, char *arc[])
{
printf(" %d \n",D);
}
ans.30
3. # define TRUE 0
main()
{
int i=0;
while(TRUE)
{
printf(" %d \n",i);
i++;
}
printf(" %d \n",i);
i++;
}
4. How many
times is the for loop executed
for(i=0;i<10;i++);
a. 1
b. 10
c. compiler error
d. not executed
5. How many times is the for loop
executed
for(i=0;i<10;i++);
a. 1
b. 10
c. compiler error
d. not executed
6. for selection, we use
a .if..else
b .for loop
c. while loop
d. for each
7. Which of the following is
executed 1rst?
i .&& ii.|| iii.!
a. i
b. ii
c. iii
d. all are equal
a. clrsc
b. clear
c. clescr
d. none of the above

Daily JOBS






Get Your Dream Job! Post Your Resume Today!
Get Your Dream Job! Post Your Resume Today!