Engineer Ii Interview Questions

9,767 engineer ii interview questions shared by candidates

Design a scheduler to run many functions at different times. It needs to (obviously) be thread-safe. Each task which is scheduled to run will have a time stamp, containing a desired execution time, a function pointer (containing the desired function). Also, find a way to supply the arguments to each function. Implement the mechanisms for scheduling/removing work to be done. How would you handle functions that must be serialized as opposed to ones that didn't need to be?
avatar

Software Development Engineer II

Interviewed at Microsoft

4
Jan 27, 2013

Design a scheduler to run many functions at different times. It needs to (obviously) be thread-safe. Each task which is scheduled to run will have a time stamp, containing a desired execution time, a function pointer (containing the desired function). Also, find a way to supply the arguments to each function. Implement the mechanisms for scheduling/removing work to be done. How would you handle functions that must be serialized as opposed to ones that didn't need to be?

Viewing 1171 - 1180 interview questions

Glassdoor has 9,767 interview questions and reports from Engineer ii interviews. Prepare for your interview. Get hired. Love your job.