1.The web development environment (JavaScript) offers which standard construct for data validation of the input entered by the user.
a) Controlled loop constructsb) Server page access
c) Client side Event
d) Permit server-side
2.The script tag must be placed in __________
a) the head tagb) the head or body
c) the title or head
d) after the body tag
3.JavaScript is ideal to ________
a) make computations in HTML simplerb) minimize storage requirements on the web server
c) increase the download time for the client
d) increase the loading time of the website
4.JavaScript Code can be called by using ____________
a) RMI
b) Triggering Event
c) Preprocessor
b) Triggering Event
c) Preprocessor
d) Function/Methods
b) ext
c) script
d) link
5.Which of the following Attribute is used to include External JS code inside your HTML Document?
a) srcb) ext
c) script
d) link
6.A proper scripting language is a __________
a) High level programming language
b) Assembly level programming language
c) Machine level programming language
d) Low level programming language
b) Assembly level programming language
c) Machine level programming language
d) Low level programming language
7.JavaScript can be written __________
a) directly into JS file and included into HTMLb) directly on the server page
c) directly into HTML pages
d) directly into the css file
8.The keyword or the property that you use to refer to an object through which they were invoked is _________
a) fromb) to
c) this
d) object
9.The 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
10.If A is the superclass and B is the subclass, then subclass inheriting the superclass can be represented as _________
a) B=inherit(A);b) B=A.inherit();
c) B.prototype=inherit(A);
d) B.prototype=inherit(A.prototype);
11.The behaviour of the instances present of a class inside a method is defined by __________
a) Methodb) Classes
c) Interfaces
d) Classes and Interfaces
12.The basic difference between JavaScript and Java is _________
a) There is no differenceb) Functions are considered as fields
c) Variables are specific
d) Functions are values, and there is no hard distinction between methods and fields
13.
0 Comments