McGraw-Hill OnlineMcGraw-Hill Higher EducationLearning Center
Student Center | Instructor Center | Information Center | Home
Sample Code
Multiple Choice Quiz
True or False
E-Lectures
Feedback
Help Center


Programming the Web Using XHTML and JavaScript
Larry Randles Lagerstrom

Introduction to Programming and JavaScript

True or False



1

Most CPUs have several thousand instructions in their instruction set.
A)TRUE
B)FALSE
2

Using a compiler makes it easier to identify errors in a program.
A)TRUE
B)FALSE
3

Instructions in a computer language may also be called statements.
A)TRUE
B)FALSE
4

A scripting language is typically embedded in another application.
A)TRUE
B)FALSE
5

<script type="text/JavaScript"> is an error in HTML version 4.
A)TRUE
B)FALSE
6

Including HTML tags inside a <script> element will generally cause an error.
A)TRUE
B)FALSE
7

More than one <script> element can be used in a single HTML document.
A)TRUE
B)FALSE
8

An external JavaScript file cannot contain any HTML tags including <script>
A)TRUE
B)FALSE
9

Misspelling a JavaScript statement causes a logic error.
A)TRUE
B)FALSE
10

The statement Alert("Hello") will cause a logic error.
A)TRUE
B)FALSE




McGraw-Hill/Irwin