Yahoo! interview (part 3) questions
Yesterday I had 3rd interview for Yahoo. Questions were just more general, than previous ones.
Julien asked me to tell about my Work expirience and studying at the university.
The technical questions were (sorry for my English
):
- What happens in integer memory presentation when we multiples it with 2,4,8.
It is shifted 1,2,3 bytes left.
- What is the difference between variables by value and by reference (again this question
).
- In what cases we provide a function with parameters by value and when do we use parameters by reference?
When we need that the value of function to be changed after function run then we give it to the function by reference, otherwise by value.
- How will be the size of structure in C with fields of char and long type?
- How to multiply and integer with 7 without using * and + operations?
in PHP: $b=($a << 3) -$a;
- What means “var” keyword in JavaScirpt?
to declare variables.
- Can we determine variables without using “var”?
Yes, we can.
After that I asked what Operation System do Yahoo! Engineers use. Julien answered that theyuse Linux, but also test on Windows, IE. I have also asked him what does he think about IE. He answered, that it has a lot of issues which are bad, but he has tested IE8 and it is much more better.