Huawei




Huawei

Filed under:

Huawei Placement Question Papers

Some Huawei sample Questions

1. standard error stream stderr,
ans: are by defaultbuffered

2. Named pipes are ansd:strictly unidirectional, even on systems where anonymous pipes are bidirectional ( full-duplex).

3. proto type of printf
ans: int fprintf(FILE *stream, const char *format, …)

4. user level switcjing is faster than the kernel level s/w
ans:since a trap to kernel is not required(user level thread is not known by the os)

5. automatic variables are stored in

6. dynamic meory is it allocated from heap/satck…?

7. how to find the size of file in unix

Technical

8. How many times is the for loop executed
for(i=0;i<10;i++);
a. 1
b. 10
c. compiler error
d. not executed

9. How many times is the for loop executed
for(i=0;i<10;i++);
a. 1
b. 10
c. compiler error
d. not executed

10. for selection, we use
a .if..else
b .for loop
c. while loop
d…..

11. Which of the following is executed 1rst?
i .&& ii.|| iii.!
a. i
b. ii
c. iii
d. all are equal

12. To find o/p of a recursive pgm, function where in parameters are passed by value,reference……function used in

ansi computers to clear the screen is:
a. clrsc
b. clear
c. clescr
d. none of the above

Related Plament Papers and Companies

Huawei Placement Question Papers

Huawei Placement Question Papers Section I 1. 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? 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

  • Resources













  • Placement Papers Archives