JavaScript Interview Question

1.Can javascript code be broken in different lines?
2.What is a prompt box?
3.What is the difference between an alert box and a confirmation box?
4.How to access an external javascript file that is stored externally and not embedded?
5.Is a javascript script faster than an ASP script?
6.What does the “Access is Denied” IE error mean?
7.How to set a HTML document’s background color?
8.What can javascript programs do?
9.Where are cookies actually stored on the hard disk?
10.How to detect the operating system on the client machine?
11.How to read and write a file using javascript?
12.What is JavaScript?
13.What is jrunscript?
14.Is it possible to set session variables from javascript?
15.What is Client side and server side scripting?
16.What is a Java Bean?
17.Why do you Canvas ?
18.What is the difference between this() and super()?
19.How do you get the value of a combo box in Javascript?
20.How can I call a Java method from Javascript?
21.What’s relationship between JavaScript and ECMAScript?
22.What does “1″+3+6 evaluate to and also what about 2+5+”6″?
23.What is negative infinity?
24.What does isNaN function do?
25.How do you convert numbers between different bases in JavaScript?
26.What are JavaScript data types?
27.What is the difference between error and an exception?
28.What is the future of JavaScript?
29.What about this Ecmascript? Is it just a version of Javascript?
30.How can JavaScript be used to personalize or tailor a Web site to fit individual users?
31.How can JavaScript make a Web site easier to use? That is, are there certain JavaScript techniques that make it easier for people to use a Web site?
32.Is it possible to share an HttpSession between a JSP and EJB? What happens when I change a value in the HttpSession from inside an EJB?
33.Where are cookies actually stored on the hard disk?
34.How to create a function using function constructor?
35.What does break and continue statements do?
36.What does the delete operator do?
37.What are undefined and undeclared variables?
38.Does javascript have the concept level scope?
39.What is variable typing in javascript?
40.What is the difference between undefined value and null value?
41.What does undefined value mean in javascript?
42.What does javascript null mean?
43.Name the numeric constants representing max,min values
44.How to comment javascript code?
45.How to hide javascript code from old browsers that dont run it?
46.JavaScript V/s JAVA
47.Name some builtin functions of JavaScript?
48.How to put a JavaScript into an HTML document?

No comments:

Post a Comment