Interview Question

Software Engineer Interview Migdal Ha`Emeq (Israel)

Suppose, aquisition is much slowlier, what should be the k

  ? How many threads? and if verse vise? (here they also told me something wrong, they said that hardware is always slowlier than software and I told them that it is wrong!!!)
Answer

Interview Answer

1 Answer

0

k should be 1, so that the measure won't wait for the hardware
in the secondcase, I proposed that there will be some callback funstion in measure that after time t will get signal and release CPU by some kind of yield. One of them told me that callback means busy wait, I explained her that it is wrong and did it in a bad manner, now I am sorry on that... Finally, they said they wanted to hear about different priorities to the threads, I said that in some advanced course, we were taught never to design with priorities manipulations...
It was also too stupied from my side...

Interview Candidate on Jan 11, 2010

Add Answers or Comments

To comment on this, Sign In or Sign Up.