You are on page 1of 3

JavaScript has similarities to other programming and scripting languages.

a. False
b. true ====

The choice of a Web browser is up to you, as long it's compatible with _________.
d. None of the choices

What is the purpose of the <script> and </script> tags?

Select one:
a. To let the browser know the scripting language to be used
b. To tell the browser where a script begins and ends
c. All of the choices --------=====
d. To point to an external JavaScript file

Why should you use the type attribute in the opening script tag?
a. None of the choices
b. To let the browser know what type of coder you are
c. To create a typing script
d. To be sure the browser does not interpret your JavaScript as another scripting
language and to ensure the Web page validates in XHTML =====

Part of the web browser that understands HTML and CSS.

a. Rendering Engine
b. JavaScript Interpreter=====
c. JavaScript Compiler
d. None of the choices

JavaScript is a language that must be compiled while Java is a language that must
be interpreted.
Select one:
a. True====
b. False

The _______ signals the end of a JavaScript statement.


Select one:
a. None of the choices===
b. period
c. colon

Which of the following correctly points to an external JavaScript file named


yourfile.js?

. <script type= "text/javascript" src="yourfile.js"></script>

Which of the following language is used to program the behavior of web pages?

Select one:
a. HTML ===
b. None of the choices
c. Java
d. CSS

Active scripting is not a programing language instead it is a plain text


interpreted to make a dynamic and interactive web pages.
Select one:
a. True ===
b. False
==================================================

Which of the following is something you should have to use the JavaScript?

b. Web browser

JavaScript is a language that must be compiled while Java is a language that must
be interpreted.
a. False

Why should you use the type attribute in the opening script tag?

d. None of the choices


Why should you use the type attribute in the opening script tag?

a. To let the browser know what type of coder you are

Is JavaScript code case sensitive?


Select one:
a. Yes

What is the original name of JavaScript?


b. Mocha
The _______ signals the end of a JavaScript statement.
c. None of the choices

JavaScript is a _________ language that doesn't require a program to be compiled


before it is run.

programming

What is the purpose of the <script> and </script> tags?


. To point to an external JavaScript file

Part of the browser that understands JavaScript.


a. Rendering Engine

Active scripting is not a programing language instead it is a plain text


interpreted to make a dynamic and interactive web pages.
b. True

==================================================================
JavaScript is a _________ language that doesn't require a program to be compiled
before it is run.
server-side

Part of the browser that understands JavaScript.


d. None of the choices

c. All of the choices


JavaScript is _________.
d. Object based

When would it be a good idea to use an external JavaScript file?


When the script is very long or needs to be placed in more than one HTML document

JavaScript has similarities to other programming and scripting languages.


b. False

An external JavaScript file commonly uses a filename extension of _______.


c. .js

Which of the following correctly points to an external JavaScript file named


yourfile.js?

<script language="yourfile.js"></script>

Part of the web browser that understands HTML and CSS.

d. Rendering Engine

JavaScript is a language that must be compiled while Java is a language that must
be interpreted.
a. False

You might also like