Assignment #8 (Part A)

waisttherapeuticSoftware and s/w Development

Nov 4, 2013 (3 years and 5 months ago)

51 views

Mike Desruisseaux








23/03/2004

Assignment #8 (Part A)

1.

What can JavaScript add to HTML pages?

-

JavaScript can add interactivity to HTML pages.


2.

JavaScript is a scripting language. What is a scripting language?

-

A scripting language is

a

lightweight programming language.

3.

Do you need a license to use JavaScript?

-

No, you do not need a licence to you JavaScript.

4.

What is the difference between Java and JavaScript?

-

The difference between Java and JavaScript

is that Java is a very powerful and
complex programming language like C and C++ while JavaScript is only a
simpler programming language

5.

The HTML <script> tag is used to insert a JavaScript into an HTML page. What
would be the correct beginning and ending tags to tell the browser that you ar
e using
JavaScript?

-

T
he correct beginnings and endings <script type=”javascript”> and </script>
.

6.

Is JavaScript case sensitive?

-

Yes, it is case sensitive.

7.

When is it necessary to use semicolons in Javascript?

-

At the end of each code statement. They
required

if you want to put more than
one statement on a single line.