What type of value gets printed if we add following two variables.
var a = "1"; var b = 5;
Integer
Long
Number
Text
"++" is __________ type of operator.
Ternary
Binary
Unary
None of these
Conditional Operator shown in the following example is _____________.
marks = (mark<35)?"Fail":"Pass";
Unary Operator
Binary Operator
Ternary Operator
None Of These
Which of the following is not a comparison operator ?
++
>=
==
===
"+=" operator can operate on following data values.
Float
String
All Options
The syntax of Eval is ________________
[objectName.]eval(numeri).
[objectName.]eval(string)
[EvalName.]eval(string)
[EvalName.]eval(numeri).
Which of the following operators not comes under assignment Operator ?Select all possible options.
=
%=
+=
______method evaluates a string of JavaScript code in the context of the specified object.
Eval
ParseInt
ParseFloat
Efloat
"Add and Assignment" operator is shown by this symbol.
+==
==+
=+
Which of the following is not an logical operator ?
&&
||
!
|
Guess the ternary operator used in the following example !!!
Conditional Operator
Logical Operator
Bitwise Operator
Colon Operator
Which of the following is not considered a JavaScript operator?
new
this
delete
typeof
"++" can operate only on ________________.
Constants
Variables
Assignment Operators is following type of operator ______________.
Unarry
"===" operator is _______________.
Is equal to
Is identical (is equal to and is of the different type)
Is identical (is equal to and is of the same type)
Which of the following operator is used to concatenate two strings.
Dot
Arrow
Comma
Plus
Integer Variable + Character Variable + Undefined Variable = ______________ Value
Undefined Value
Character
Text / String Value
JavaScript contains a _________________ that assigns a value to a variable based on some condition.
Assignment operator
Conditional operator
Adding String and Integer always results in _________.
What will be the output of the following script ?
<!DOCTYPE html> <html> <body> <script> var x = 5; document.write(x == "5"); </script> </body> </html>
false
5
true
Undefined
<!DOCTYPE html> <html> <body> <script> var x = 5; document.write(x === "5"); </script> </body> </html>
True
1
False