MCQ 1 Inside which HTML element do we put the JavaScript?
MCQ 2 Which is the correct way to write a JavaScript array?
MCQ 3 Choose the client-side JavaScript object?
MCQ 4 To set up the window to capture all Click events, we use which of the following statement?
MCQ 5 Which of the following best describes JavaScript?
MCQ 6 What are the two basic groups of dataypes in JavaScript?
MCQ 7 What is the output of the code given below
var a = '10';
var b = a = 20;
document.write(a+b);
MCQ 8 The _______ method of an Array object adds and/or removes elements from an array.
MCQ 9 What will be the output of the below code ?
console.log( typeof( '5' + 5))
MCQ 10 Which of the following is the structure of an if statement?
MCQ 11 Which of the following is a JavaScript data type?
MCQ 12 Javascript string using double quotes is exactly the same as a string using single quotes?
MCQ 13 JavaScript entities start with _________________ and end with _________________.
MCQ 14 Which of the following can't be done with client-side JavaScript?
MCQ 15 What will be the output of the below code ?
var package;
console.log("Package: " + package)
console.log("Amount: " + amount);
MCQ 16 The syntax of close method for document object is ______________
MCQ 17 The statement a===b refers to ____________________
MCQ 18 Why so JavaScript and Java have similar name?
MCQ 19 Which of the following is the correct syntax to display "knowledgeuniverseonline.com" in an alert box using JavaScript?
MCQ 20 What is divide by 0 in Javascript?
var a = 10;
var b = 0;
document.write(a/b);
MCQ 21 How to create a Date object in JavaScript?
MCQ 22 Which of the following is a syntactically correct for loop?
MCQ 23 What is the code required to delete all "weight" tags?
MCQ 24 A _____________ object is a reference to one of the classes in a Java package, such as netscape.javascript .
MCQ 25 What will be the output of the following JavaScript code?
function myfun()
{
document.getElementById ("demo").innerHTML = Boolean(21 > 15);
}
MCQ 26 What are the three important manipulations done in a for loop on a loop variable?
MCQ 27 The inner frame within a top-level window can be referred to as _________________
MCQ 28 JavaScript is designed for following purpose -
MCQ 29 What will be the output of the following Javascript code?
var string1 = "Integer";
var valueinteger = 55;
alert( string1 + valueinteger );
MCQ 30 Using _______ statement is how you test for a specific true and false condition.