Font size
Worksheetsuntitled
Total questions: 10
Worksheet time: 7mins
How do you call a function in JavaScript?
function: name()
callFunction()
functionName()
function call()
What is a variable in JavaScript?
A variable in JavaScript is a method for defining classes.
A variable in JavaScript is a type of loop used for iteration.
A variable in JavaScript is a function that performs calculations.
A variable in JavaScript is a named container for storing data values.
Which of the following is a data type in JavaScript: String, Number, or Both?
Array
Both
Boolean
Character
How do you declare a variable in JavaScript?
You can only use 'let' to declare variables.
Variables are declared with 'declare'.
You declare a variable in JavaScript using 'var', 'let', or 'const'.
You declare a variable using 'define'.
How do you declare a variable in JavaScript?
You can only use 'let' to declare variables.
Variables are declared with 'declare'.
You declare a variable in JavaScript using 'var', 'let', or 'const'.
You declare a variable using 'define'.
In which year was JavaScript developed
1995
1985
1975
1997
Which og the following is used to add single line comments in JavaScript
:
//
;
" "
Which of the following languages is used to make dynamic web pages?
HTML
CSS
javaScript
None of these
Java is developed by (a) , a Netscape Communication Corporation programmer.
Which of the following tags is used to add JavaScript in web pages?
<JavaScript>
<head>
<script>
All of these
