Home/Protists/Page 2
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Which is a useful way to try out small and simple Rhino programs and one-liners?
(a) Starting an interactive shell
(b) Starting a one to one shell
(c) Creating a thread to do simple programs
(d) Starting a multiple shell
Right answer is (a) Starting an interactive shellThe explanation: Rhino is distributed as a JAR archive. Start it with a command line like this :java -jar rhino1_7R2/js.jar program.jsIf you omit program.js, Rhino starts an interactive shell, which is useful for trying out simple programs and one-linRead more
Right answer is (a) Starting an interactive shell
The explanation: Rhino is distributed as a JAR archive. Start it with a command line like this :
java -jar rhino1_7R2/js.jar program.js
If you omit program.js, Rhino starts an interactive shell, which is useful for trying out simple programs and one-liners.
See lessWhich of the following ensures additional interactivity mechanism?
(a) WAI ARIA
(b) Geolocation API
(c) Object API
(d) SDL API
The correct answer is (a) WAI ARIAFor explanation: Web Accessibility Initiative – Accessible Rich Internet Applications (WAI-ARIA) is a technical specification published by the World Wide Web Consortium (W3C) that specifies how to increase the accessibility of web pages, in particular, dynamic conteRead more
The correct answer is (a) WAI ARIA
For explanation: Web Accessibility Initiative – Accessible Rich Internet Applications (WAI-ARIA) is a technical specification published by the World Wide Web Consortium (W3C) that specifies how to increase the accessibility of web pages, in particular, dynamic content, and user interface components developed with Ajax, HTML, JavaScript, and related technologies. WAI ARIA offers mechanisms to ensure that this additional interactivity remains usable independent of devices and disabilities.
See lessThe property of JSON() method is __________
(a) it can be invoked manually as object.JSON()
(b) it will be automatically invoked by the compiler
(c) it is invoked automatically by the JSON.stringify() method
(d) it cannot be invoked in any form
The correct choice is (c) it is invoked automatically by the JSON.stringify() methodExplanation: A common use of JSON is to exchange data to/from a web server. When sending data to a web server, the data has to be a string. In that case json.strigify() is used to convert a javascript object into a sRead more
The correct choice is (c) it is invoked automatically by the JSON.stringify() method
Explanation: A common use of JSON is to exchange data to/from a web server. When sending data to a web server, the data has to be a string. In that case json.strigify() is used to convert a javascript object into a string.
See lessWhich of the following has a lesser benchmark time for using JQuery to access DOM versus pure JavaScript in milliseconds?
(a) Chrome JQueryDOM_
(b) Chrome JSDOM_benc
(c) Firefox JQueryDOM_
(d) Firefox JSDOM_benc
Correct option is (d) Firefox JSDOM_bencThe explanation: jsdom is a pure-JavaScript implementation of many web standards, notably the WHATWG DOM and HTML Standards, for use with Node.js. When we try to compare the average benchmark time for using JQuery to access DOM versus pure JavaScript in millisRead more
Correct option is (d) Firefox JSDOM_benc
The explanation: jsdom is a pure-JavaScript implementation of many web standards, notably the WHATWG DOM and HTML Standards, for use with Node.js. When we try to compare the average benchmark time for using JQuery to access DOM versus pure JavaScript in milliseconds, the Firefox JSDOM_benc has a lesser benchmark time.
See lessWhat is necessary when we need to create a new field in craft?
(a) Type of the input
(b) Type of the output
(c) Type of the field
(d) Type of argument
Right answer is (c) Type of the fieldThe explanation: Whenever someone creates a new field in Craft, they must specify what type of field it is. They are organized into Field Groups for convenience, but Field Groups have very little relevance anywhere else in the system.
Right answer is (c) Type of the field
The explanation: Whenever someone creates a new field in Craft, they must specify what type of field it is. They are organized into Field Groups for convenience, but Field Groups have very little relevance anywhere else in the system.
See lessWhat is the other way of calling the Error Console in Firefox?
(a) Error Window
(b) JavaScript Console
(c) JavaScript Window
(d) Error or JavaScript Window
Right option is (b) JavaScript ConsoleThe explanation: The browsers like Firefox, Netscape and Mozilla send error messages to a special window called the JavaScript Console or Error Console. The Error Console is also termed as the JavaScript Console.
Right option is (b) JavaScript Console
The explanation: The browsers like Firefox, Netscape and Mozilla send error messages to a special window called the JavaScript Console or Error Console. The Error Console is also termed as the JavaScript Console.
See lessWhich of the following is a way of embedding Client-side JavaScript code within HTML documents?
(a) From javascript:encoding
(b) External file specified by the src attribute of a “script” tag
(c) By using a header tag
(d) By using body tag
The correct answer is (b) External file specified by the src attribute of a “script” tagFor explanation: The Client-side JavaScript code is embedded within HTML documents in four ways :Inline, between a pair of “script” tagsFrom an external file specified by the src attribute of a “script” tagIn anRead more
The correct answer is (b) External file specified by the src attribute of a “script” tag
For explanation: The Client-side JavaScript code is embedded within HTML documents in four ways :
Inline, between a pair of “script” tags
From an external file specified by the src attribute of a “script” tag
In an HTML event handler attribute, such as onclick or onmouseover
In a URL that uses the special javascript: protocol.
See lessWhat does the browser do to set up a TCP/IP connection?
(a) TCP one-way handshake
(b) TCP two-way handshake
(c) TCP three-way handshake
(d) TCP four-way handshake
Right choice is (c) TCP three-way handshakeFor explanation: A three-way handshake is a method used in a TCP/IP network to create a connection between a local host/client and server. It is a three-step method that requires both the client and server to exchange SYN and ACK (acknowledgment) packets beRead more
Right choice is (c) TCP three-way handshake
For explanation: A three-way handshake is a method used in a TCP/IP network to create a connection between a local host/client and server. It is a three-step method that requires both the client and server to exchange SYN and ACK (acknowledgment) packets before actual data communication begins.
See lessWhich is the correct code that returns a complex number that is the complex conjugate of this one?
(a) Complex.prototype.conj = function() { return new Complex(this.r, -this.i); };
(b) Complex.prototype.conj = function() { return Complex(this.r, -this.i); };
(c) Complex.prototype.conj = function() { return (this.r, -this.i); };
(d) Complex.prototype.conj = function() { new Complex(this.r, -this.i); };
The correct answer is (a) Complex.prototype.conj = function() { return new Complex(this.r, -this.i); };Explanation: Object.prototype.constructor specifies the function that creates the object prototype. The above code snippet returns a complex number that is the complex conjugate of this one.
The correct answer is (a) Complex.prototype.conj = function() { return new Complex(this.r, -this.i); };
Explanation: Object.prototype.constructor specifies the function that creates the object prototype. The above code snippet returns a complex number that is the complex conjugate of this one.
See lessWhich of the following is defined by the specification?
(a) dataMethod
(b) input
(c) inputMethod
(d) inputdataMethod
Right option is (c) inputMethodTo explain I would say: The specification defines an inputMethod property on the event object and a set of constants representing different kinds of text input (keyboard, paste or drop, handwriting or voice recognition, and so on). prompt function is a kind of input meRead more
Right option is (c) inputMethod
To explain I would say: The specification defines an inputMethod property on the event object and a set of constants representing different kinds of text input (keyboard, paste or drop, handwriting or voice recognition, and so on). prompt function is a kind of input method.
See less