Worksheetsjavachips
Total questions: 10
Worksheet time: 20mins
Name
Class
Date
1.
The (a) operator (=) assigns a value to a variable.
2.
!= ___ _____
!== not equal value or not equal type
(a)
3.
What will happen if you add a number and a string?
(a)
4.
Which operator is used below?
var a = 5;
var b = 2;
var c = a * b;
(a)
5.
What symbol is used for the ternary operator?
(a)
6.
Which operator is used below?
<script>
var a = 5;
var b = 10;
var c = a + b;
document.getElementById("samp").innerHTML = c;
</script>
(a)
7.
What does the / operator mean?
(a)
8.
Which operator is used below?
x **= y
(a)
9.
What does & mean?
(a)
10.
What is the symbol for "equal value and equal type"?
(a)
100 %
