JavaScript
Description: A test on JavaScript programming. | |
Number of Questions: 25 | |
Created by: Aliensbrain Bot | |
Tags: HTML Java JavaScript Web Development Client Side Scripting Programming HTML WebPage WebSite BBA / BBS / BCA Java/Oracle /C/C++ |
Which of the following type of box is used to get input from the user?
Which of the following is the correct syntax to access an element of the form object?
Which of the following event occurs when an image does not load properly?
Which of the following is NOT a valid property of the 'plugin' object?
What will the output of the statement - Math.ceil(5.3)
Which property of the 'navigator' object is used to detect the name of the client browser?
Which of the following is NOT a valid cookie field?
Which property of the 'Location' object returns the complete URL?
Which of the following function returns the position of a specified character in a String?
Which of the following is NOT a feature of JavaScript?
With reference to the RegExp object which meta character used to find a NON WORD CHARACTER?
Which operator is used to find out if the specified property is in the specified object?
What will be the output of the above code?
var arr = new Array();
arr[0] = "Element 1";
arr[1] = "Element 2";
arr[2] = "Element 3";
arr[3] = "Element 4";
document.write(arr[0, 1, 2, 3]);
If we want to write a statement that processes irrespective of whether the program has an exception or not, it should be written inside the ___ block.
Which of the following functions is used to determine if the argument is a number?
Which of the following properties returns the values of the pixels of the length of the width and height of the viewer's screen?
Which of the following event occurs when an object loses its focus.
What will be the output of the above code?
fun3();
function fun1(i) {
function fun2(j) { return i * j; }
return fun2;
}
function fun3() {
r = fun1(5)(5);
alert(r);
}
Which of the following is NOT a JavaScript reserved word?
Which of the following statements is false regarding the 'substring' function having the above syntax?
string.substring(index1,index2);
Which of the following statements is FALSE regarding the null data type?
Which of the following tasks CAN NOT be performed by JavaScript?
Which of the following is NOT a restriction while using the "strict option" in JavaScript?
What will be the output of the above code snippet?
var str=This is a sample string;
var output=str.split(,);
document.write(output);
Which of the following statements is FALSE regarding InnerHTML?