Is it possible to declare a variable in Java Script along its type?
Which machine actually executes the Java Script?
A: The machine which is running a web browser
B: Java Script engine
C: The web server
D: Both A and C
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?
D: 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 source = âformValidation.jsâ>
B: < script href = âformValidation.jsâ>
C: < script name = âformValidation.jsâ>
D: < script src = âformValidation.jsâ>
What is the purpose of <noscript> tag in Java Script?
A: None of these all
B: Suppresses the result to be displayed on the web page
D: 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() values=39438,39839,83729
C: var salaries = new (Array:1=39438, Array:2=39839, Array:3=83729)
D: var salaries = new Array( 1:39438, 2:39839 3:83729)
A: - var txt = new Array:1=(\" arr \")2=(\"kim\")3=(\"jim\")
B: - var txt = new Array(\"arr \",\"kim\",\"jim\")
C: - var txt = new Array=\" arr \",\"kim\",\"jim\"
D: - var txt = new Array(1:\"arr\",2:\"kim\",3:\"jim\")
Which of the ways below is incorrect of instantiating a date?
A: new Date(seconds)
B: new Date(year, month, day, hours, minutes, seconds, milliseconds)
C: new Date(dateString)
D: new Date()
How to append a value to an array of Java Script?
A: arr[arr.length] = value
B: arr[arr.length-1] = value
C: arr[arr.length+1] = new Arrays()
D: arr[arr.length*1] = value
Which of the following is correct to write âHello Worldâ on the web page?
A: document.write("Hello World")
B: System.out.println("Hello World")
C: print("Hello World")
D: response.write("Hello World")
Which of the following statements are true for Java script?
B: 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