Which 5 questions can be asked to judge a JavaScript programmer?

1,301 Views Updated: 19 Nov 2016
Follow Post
Which 5 questions can be asked to judge a JavaScript programmer?

JavaScript is the most famous and the most successful client-side scripting language on the web.Practically, we cannot imagine a site today without JavaScript. So naturally, it is very important for a website company to judge the capabilities of its prospective JavaScript programmer. Here are 5 questions that can give us an inner vision about the capabilities of a JavaScript programmer: 

1.Can you please explain the implementation of CSS styles on DOM elements using JavaScript? 

DOM, i.e., Document Object Model is a tree of objects. The styling of these is done with CSS.There are many programming situations where we need to handle the CSS styling with JavaScript. An experienced programmer must know many tricks and tactics concerned. So this is a good point.

2.Can you please explain how to perform database interaction by using XML HttpRequest?

A built-in XMLHttpRequest object for requesting data from a server is common in all the modern browsers.There are many usage of it.We can update a web page without reloading it,even after the page load, we can request data and receive data from a server. We can, in the background, send data to a server.JavaScript can handle this XML HttpRequest. Naturally, this becomes a great question to ask.

3.What do you know about JavaScript String constructor property? 

In JavaScript, the constructor property returns the constructor function for an object.This return value is a reference to the function. Knowing about the details of this is very crucial. A big point.

4.Can you explain JavaScript objects? 

It is well known that objects are at the core of JavaScript. It is no exaggeration if we say that without knowing objects, one cannot know JavaScript. So this is a crucial question to judge someone’s ability to code in JavaScript.

5.Will you please tell about some performance problem in JavaScript and how you solved it?

The reply to this question would tell a lot about the experience and skill of the programmer. While programming, we never know what type of issues would come across our ways. It is knowing by doing to a good extent. So a great question.

vote-icon.png
Posted by: Atul Prakash Posts: (50) Opinions: (1303) Points: 9,505 Rank: 5
0

Related polls