NEW
Font size
WorksheetsJSProg
Total questions: 20
Worksheet time: 10mins
NaN stands for_________.
Nano
NanTech
Not a number
New attacted Nematic
++ operator in Java Script is ____ Operator.
Unary
Positive
Increment
Addition
When a user views a page containing a java script program, which machine actually executes the script?
The user’s machine running offline
The user’s machine running a web browser
The user’s machine running on a website
The users cookies used by a website
______ side java script statements embedded in a HTML Page can respond to user events such as mouse-clicks, forms input and page navigation.
client
Server
Website
Live wire
What will be the output of the following JavaScript code?
10
50
5
Error
Arrays in JavaScript are defined by which of the following statements?
It is an ordered list of values
It is an ordered list of objects
It is an ordered list of string
It is an ordered list of functions
What will be the output of the following JavaScript code?
false
true
compilation error
runtime erro
What will be the output of the following JavaScript code snippet?
false
true
compilation error
runtime error
Java script is interpreted by ______.
client
Server
Website
Live wire
Javascript variables are ______ typed.
statically
strongly
dynamically
globally
Which of the following scoping type does JavaScript use?
Sequential
Segmental
Lexical
Literal
What will be the output of the following JavaScript code?
1, 2, 3, 6, 7, 8
123
1, 2, 3
Error
What will be the function of the following JavaScript program?
Returns the value in scope
Returns value null
Shows an error messag
Returns exception
Why event handlers is needed in JS?
Allows JavaScript code to alter the behaviour of windows
Adds innerHTML page to the code
Change the server location
Performs handling of exceptions and occurrences
Javascriptcomplies with______ standard.
Indian
British
ASCII
ECMA-262 & ISO/IEC 16262
Which of the following is the correct output for the following JavaScript code:
1
Error
10
5
Which of the following is the correct output for the following JavaScript code:
9
0
8
Undefined
Which of the following is the correct output for the following JavaScript code:
10
9
8
0
Which of the following is the correct output for the following JavaScript code:
3
0
error
2
In the JavaScript, which one of the following is not considered as an error:
Syntax error
Missing of semicolons
Division by zero
Missing of Bracket
