Is it possible to declare a variable in Java Script along its type?
Which machine actually executes the Java Script?
A: Java Script engine
B: The web server
C: Both A and C
D: The machine which is running a web browser
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?
B: 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?
A: _java_and_ java _names
What language defines the behavior of a web page?
D: 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 src = âformValidation.jsâ>
B: < script source = âformValidation.jsâ>
C: < script href = âformValidation.jsâ>
D: < script name = âformValidation.jsâ>
What is the purpose of <noscript> tag in Java Script?
A: Suppresses the result to be displayed on the web page
B: None of these all
C: Prevents scripts on the page from executing
Java Script entities start with ____________ and end with ______________.
A: Semicolon, colon
B: Ampersand, colon
C: Semicolon, Ampersand
D: Ampersand, semicolon
Which of the following is used to capture all click events in a window?
A: window.routeEvents(Event.CLICK );
B: window.handleEvents (Event.CLICK);
C: 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(39438,39839,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:1=39438, Array:2=39839, Array:3=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()
C: new Date(year, month, day, hours, minutes, seconds, milliseconds)
D: new Date(seconds)
How to append a value to an array of Java Script?
A: arr[arr.length+1] = new Arrays()
B: arr[arr.length-1] = value
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: System.out.println("Hello World")
B: response.write("Hello World")
C: print("Hello World")
D: document.write("Hello World")
Which of the following statements are true for Java script?
A: 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