Web developer intern Interview Questions


Web Developer Intern interview questions shared by candidates

Top Interview Questions

Sort: Relevance|Popular|Date
Bloomberg L.P.
Front End Web Developer was asked...February 23, 2010

What is a JavaScript callback function?

5 Answers

A callback function is a piece of JavaScript code that executes after the main function that the callback is attached to executes successfully. Less

udaykanth, I would say that a .forEach() would be the most common and most basic use of a callback function. I'm just writing this to help anyone that might have a hard time thinking up a quick example if the come across this question themselves. Example: var numArray = [ 1, 2, 3 ] ; numArray.forEach( function( i ) { console.log( arr[ i - 1 ] ) } ) ; // logs out // 1 // 2 // 3 Less

Is there a front end role at bloomberg. I guess your position must have been labelled software dev right? altho ur a dront end dev Less

Show More Responses
UnitedHealth Group

How would you troubleshoot slow loading web pages and poorly performing stored procedures?

2 Answers

Obviously, it is an easy answer though. First you want to check the network connection. If that seems to be working fine with other websites, check the code of the website. If the code is too cluttered then it will have problems loading. Make sure to organize the HTML so you can easily find clutter or useless text. Next, use a website validator - http://validator.w3.org/ . This website helps you find any errors on your page that may be causing a slow down. Hope this helps any, I use this for any problem I have. Less

This is a very good question to ask anyone who is interested in web development. it gets them thinking and start working on problem solving. Less


Say there was a function that took 1 second to execute and you needed to run this function 10 million times, how would you cut down on the execution time?

1 Answers

Build a system that would run the functions concurrently.

IXL Learning

Given a number n where n+1 and n-1 are prime, prove n is divisible by 6

1 Answers

n+1 is prime, n+2 is prime... all prime numbers are odd, so n must be even (i.e., divisible by 2) in any set of 3 numbers (consider 1,2,3 or 4,5,6 or 20,21,22) at least one number is divisible by 3. since n+1 and n+2 can't be divisible by anything, n must be divisible by 3. therefore n is div by 6 Less


If we wanted to implement a method of tracking every click that the user made on the site, how would we want to do this?

1 Answers

Place a JavaScript event listener for all clicks at the document level. Perform actions based on the details of the click. This problem had multiple branches and sub-questions, but the gist is that you would want to capture the events as they bubbled back up to the document level. There are other acceptable answers to this question. Less


They presented a demo page and asked me to streamline it to make it more interactive and presentable for a user (open to interpretation).

1 Answers

Using JavaScript/jQuery, I created a simple slideToggle() click event on paragraph headers that collapsed them. I also changed the fonts and font weights to be more readable. Less

Web Developer was asked...September 15, 2014

What's in a grunt file and explain what it does

1 Answers

A JS or Coffeescript file that goes in project root next to package.json. Includes wrapper function, project and task configuration, loading grunt plugins and tasks and custom tasks. Less


1) Clustered and Non Clustered (SQL)?

7 Answers

What other types questions were on the written test?

Given a scnerio, create a database model

How to improve performance?

Show More Responses

1) Given a string of parantheses, check if the string is valid. ex: [[]] is valid, ][][ is not valid. How would you solve if the parantheses could be of different types like {,[,(

6 Answers

Stack the parenthesis up. 1st of course the first parenthesis will go on to the stack. If you see a closing parenthesis, pop the stack and see if the parenthesis matches the one which is just read(closing one), if no match? error else keep going. Less

Use a counter to track the status. Stack solution is no difference from this. Seeing an opening parenthesis increment the counter. Seeing a closing parenthesis decrement the counter. Check the counter is always non-negative. Counter has to be zero when string ends. Less

To Aegis: If you take "[" as 1 and "]" as -1, then ][][ starts from -1. We can say that's invalid right away. Less

Show More Responses
MountBlue Technologies

Print patterns like Swastic sign, 2-D Array manipulations(Bit Difficult) and String manipulations.

6 Answers

They will mail the exact date. The joining date is between 6-16 aug. The difficulty of 2nd round was medium. One question was a bit difficult and the rest were medium.If you are good at coding and regularly doing it then you can easily crack it. Less

when is your joining??what is the difficulty of 2nd round?

what questions were asked in 2nd round?

Show More Responses
Viewing 1 - 10 of 9,681 Interview Questions

See Interview Questions for Similar Jobs