a) Starting an interactive shell b) Starting a one to one shell c) Creating a thread to do simple ...
View QuestionWhich Rhino command quits Rhino environment?
a) terminate() b) exit() c) quit() d) close() Answer: c Explanation: quit() is a predefined command in rhino. The ...
View QuestionWhich of the following reads the textual contents of a URL and returns as a string?
a) spawn(f); b) load(filename,…); c) readFile(file); d) readUrl(url); Answer: d Explanation: Rhino defines ...
View QuestionWhich of the following are global functions that are not part of core JavaScript?
a) spawn(f); b) trim(); c) exult(); d) eval() Answer: a Explanation: The spawn(f) runs f() or loads and executes ...
View QuestionRhino is originated by _______
a) Microsoft b) Mozilla c) Apple d) Chrome Answer: b Explanation: Rhino is a JavaScript engine written fully in ...
View Question
What will be the output of the following JavaScript code?
document.writeln(“
screen.width: “+screen.width);
What will be the output of the following JavaScript code? document.writeln("screen.width: "+screen.width); a) Browser length b) ...
View Question
What will be the output of the following JavaScript code?
document.writeln(“
navigator.appVersion: “+navigator.appVersion);
What will be the output of the following JavaScript code? document.writeln("navigator.appVersion: "+navigator.appVersion); a) Browser version b) Browser name
View Question
What will be the output of the following JavaScript code?
document.writeln(“
navigator.language: “+navigator.language);
What will be the output of the following JavaScript code? document.writeln("navigator.language: "+navigator.language); a) Broswer name b) Browser ...
View Question
What will be the output of the following JavaScript code?
document.writeln(“
navigator.appCodeName: “+navigator.appCodeName);
What will be the output of the following JavaScript code? document.writeln("navigator.appCodeName: "+navigator.appCodeName); a) Browser name b) Version c) error
View Question
If the user presses “ok” in the dialog box then what will be the output of the following JavaScript code?
function msg()
{
var v= confirm(“Are u sure?”);
if(v==true)
{
alert(“yes”);
}
else
{
alert(“no”);
}
}
If the user presses “ok” in the dialog box then what will be the output of the following ...
View Question