Describe the operation of the alert method in JavaScript.
Describe the operation of the prompt() method in JavaScript.
Write a program to execute a JavaScript function using HTML onclick Event Attribute
write function to add two numbers in javascript
Describe briefly three major uses of JavaScript on the client side?
What are the two categories of properties in JavaScript?
Why does JavaScript have two categories of data variables, namely, primitives and objects?
Describe the two ways to embed a JavaScript script in an HTML document?
What are the two forms of JavaScript comments?
Why are JavaScript scripts sometimes hidden in HTML documents by putting them into HTML comments?
What are the five primitive data types in JavaScript?
Do single-quoted string literals have any characteristics different from those of double-quoted string literals?
In what circumstances would a variable have the value undefined?
If the value undefined is used as a Boolean expression, is it interpreted as true or false?
What is the usual end-of-line punctuation for the string operand passed to document.write?
What is the usual end-of-line punctuation for the string operand passed to alert?
Describe the operation of the prompt method.
write program to display multiplication table using for, while do while loops in javascript. (15)
10 * 1 = 10
10 * 2 = 20
………………
………………
10 * 10 = 100
<html> <head><title>JavaScript</title></head>
<body>
<script language="JavaScript"> document.write((125/5)%12); </script> </body> </html>
<html> <body> <script type="text/js"> document.print("Hello") </script> </html>