Senior Ui Developer Interview Questions

542 senior ui developer interview questions shared by candidates

You have two methods: one method takes long time to run and the other completes in short time. You execute the long method first and after that you execute the short method. Which one will complete first. There is no setTimeout involved.
avatar

Senior UI Developer

Interviewed at ValueLabs

4
Apr 30, 2015

You have two methods: one method takes long time to run and the other completes in short time. You execute the long method first and after that you execute the short method. Which one will complete first. There is no setTimeout involved.

What is the output of below program. var a = [1,2,3,4] for (var i=0; i<a.length; i++){ setTimeout(function(){ console.log(i) },1000) } ( My Ans : it will print 4 5 times as it will store the latest reference) Next They asked me : How can i print 1,2,3,4 by changing some code in above example
avatar

Senior UI Developer

Interviewed at ValueLabs

4
Feb 16, 2018

What is the output of below program. var a = [1,2,3,4] for (var i=0; i<a.length; i++){ setTimeout(function(){ console.log(i) },1000) } ( My Ans : it will print 4 5 times as it will store the latest reference) Next They asked me : How can i print 1,2,3,4 by changing some code in above example

Video chat code challenge was not. It was to create a spiral loop over a N size matrix. It has no real-world use cases, and doesn't show nearly enough depth of your abilities. I have not once in 10years of coding, ever needed anything even close to this. I self taught myself coding and have worked for Google, CNN, etc. It was a purely computer science question. I think they are missing out on good and diverse talent because they only target CS grads.
avatar

Senior UI Developer

Interviewed at Robinhood

3.6
Feb 8, 2018

Video chat code challenge was not. It was to create a spiral loop over a N size matrix. It has no real-world use cases, and doesn't show nearly enough depth of your abilities. I have not once in 10years of coding, ever needed anything even close to this. I self taught myself coding and have worked for Google, CNN, etc. It was a purely computer science question. I think they are missing out on good and diverse talent because they only target CS grads.

Viewing 1 - 10 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 542 interview questions and reports from Senior ui developer interviews. Prepare for your interview. Get hired. Love your job.