Huawei Technical Interview Questions

Huawei Technical Interview Questions

what is pointer?
Pointer is a variable in a program is something with a name, the value of which can vary. The way the compiler and linker handles this is that it assigns
a specific block of memory within the computer to hold the value of that variable.

What is cache memory?
Cache memory is random access memory (RAM) that a computer microprocessor can access more quickly than it can access regular RAM. As the microprocessor processes data, it looks first in the cache memory and if it finds the data there (from a previous reading of data), it does not have to do the more time-consuming reading of data from larger memory.

What is thread?
A thread is a program line under execution. Thread sometimes called a light-weight process, is a basic unit of CPU utilization; it comprises a thread id, a program counter, a register set, and a stack

What is DOM?
The Document Object Model (DOM) is a cross-platform and language-independent convention for representing and interacting with objects in HTML, XHTML and XML documents.[1] Objects in the DOM tree may be addressed and manipulated by using methods on the objects. The public interface of a DOM is specified in its application programming interface (API).

Tell me about SAX Parser?

Details about STL?

To implement a binary tree which has back traversing support?

implement Stack by yourself, and reverse the content of it without using any extra memory space ?

What are the different datatypes?

Tell about malloc?

Difference between arrray and linked list?

What is stack?what is heap?

What is volatile embedded c?

Write the output of programme

switch(1)

{

case 1:printf(“1”):
case 2:printf(“2”);
default:printf(“default”):

}
What is function?

What is a process in OS?

Questions about project,seminar?

What is size of int,and what are formatting types for int?

what is the size of int *ptr and char *ptr?

Explain the necessity of file managment in C?

How would you reverse a linked list?

How to find, whether a loop exists in linked list ?

Write your own Linked List and Hash map in Java?

Find the least palindrome after a given integer?

Find a soln of loop in a linked list. Mathematically prove the correctness.

Candidate Experience Review About Huawei Technical Interview
“Questions mostly on increment decrement lik i++ j– , scope of variables , linked list , struct and unions”

“If u r CS student u might be asked on OS , database”

“In the technical, he questions were on data structures and for the most part, they expect us to write code on paper. Saying that you can write code, won’t work infront of them. Also, some aptitude, although if you write good code, they don’t take into account whether you answer apti or not.”

“Technical ( C or java ) ques were realy hard. dats where u hav 2 study a lot. Finding output , errors, runtym or compile tym errors among other ques.
put in a lot of effort in C or Java. just knowing the basics wont help.”

“Please focus on this area : C with Data structures, Java,SDLC,Testing – types of testing, Some puzzles, Small programs in C,They will give some situations and ask to write test cases.”

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top