Is it possible to declare a variable in Java Script along its type?
Which machine actually executes the Java Script?
A: Both A and C
B: The web server
C: The machine which is running a web browser
D: Java Script engine
What is negative infinity in Java script?
Which of the below is used in Java script to insert special characters?
C-style block-level scoping is not supported in Java script.
Which of the following statements are false for Java script?
C: Both b and c above
If we don't want the script to write page content, under which HTML tag should the JS tag be placed?
C: _java_and_ java _names
What language defines the behavior of a web page?
C: Java Script
Which of the following is a server-side Java Script object?
Which of the following syntax is correct to refer an external script called "formValidation.js"?
A: < script name = âformValidation.jsâ>
B: < script src = âformValidation.jsâ>
C: < script source = âformValidation.jsâ>
D: < script href = âformValidation.jsâ>
What is the purpose of <noscript> tag in Java Script?
A: None of these all
C: Prevents scripts on the page from executing
D: Suppresses the result to be displayed on the web page
Java Script entities start with ____________ and end with ______________.
A: Ampersand, colon
B: Semicolon, colon
C: Semicolon, Ampersand
D: Ampersand, semicolon
Which of the following is used to capture all click events in a window?
A: window.handleEvents (Event.CLICK);
C: window.routeEvents(Event.CLICK );
D: window.raiseEvents(Event.CLICK );
Which attribute needs to be changed to make elements invisible?
Java script can be used for Storing the form\'s contents to a database file on the server.
Which of the following method is used to evaluate a string of Java Script code in the context of the specified object?
Which of the following is the correct way for writing Java Script array?
A: var salaries = new (Array:1=39438, Array:2=39839, Array:3=83729)
B: var salaries = new Array( 1:39438, 2:39839 3:83729)
C: var salaries = new Array() values=39438,39839,83729
D: var salaries = new Array(39438,39839,83729)
A: - var txt = new Array(\"arr \",\"kim\",\"jim\")
B: - var txt = new Array:1=(\" arr \")2=(\"kim\")3=(\"jim\")
C: - var txt = new Array(1:\"arr\",2:\"kim\",3:\"jim\")
D: - var txt = new Array=\" arr \",\"kim\",\"jim\"
Which of the ways below is incorrect of instantiating a date?
A: new Date(dateString)
B: new Date(seconds)
C: new Date(year, month, day, hours, minutes, seconds, milliseconds)
D: new Date()
How to append a value to an array of Java Script?
A: arr[arr.length*1] = value
B: arr[arr.length+1] = new Arrays()
C: arr[arr.length-1] = value
D: arr[arr.length] = value
Which of the following is correct to write âHello Worldâ on the web page?
A: document.write("Hello World")
B: print("Hello World")
C: response.write("Hello World")
D: System.out.println("Hello World")
Which of the following statements are true for Java script?
C: semicolon at the end of statement is mandatory
Recommended Other Related TopicsASP.NET Online Exams MCQs Quiz Test
Intelligence Quotient (IQ) Online Exams MCQs Quiz Test