Student Center
|
Instructor Center
|
Information Center
|
Home
Sample Code
Choose a Chapter
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Chapter 9
Chapter 10
Chapter 11
Chapter 12
Chapter 13
Chapter 14
Chapter 15
Chapter 16
Chapter 17
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
Multiple Choice Quiz
1
JavaScript statements must be contained in which element?
A)
<language>
B)
<script>
C)
<code>
D)
<applet>
2
Which of these is an assembly language instruction?
A)
1000111011011000
B)
ADD AX, 14
C)
X = X + Y
D)
(SET! X Y)
3
Which of these is a high-level language?
A)
COBOL
B)
FORTRAN
C)
C++
D)
all of the above
4
Which of these programs translates a computer language into machine language?
A)
compiler
B)
interpreter
C)
assembler
D)
both A and B
5
Which is NOT one of the four basic control structures?
A)
iteration
B)
execute
C)
sequence
D)
conditional
6
Which is a notation for algorithms that uses half-programming-language and half-natural-language?
A)
pseudocode
B)
flowchart
C)
Baukus-Naur form
D)
state transition diagram
7
Which is Microsoft's version of JavaScript?
A)
JavaScript 1.2
B)
ECMAScript
C)
VBScript
D)
JScript
8
Which attribute of the <script> tag is used to load an external JavaScript file?
A)
source
B)
language
C)
src
D)
type
9
Which is part of JavaScript but NOT part of HTML?
A)
onclick
B)
alert()
C)
both A and B
D)
neither A nor B
10
XHTML requires which attribute to be included in the <input> tag?
A)
type
B)
onclick
C)
name
D)
none of the above
2003 McGraw-Hill Higher Education
Any use is subject to the
Terms of Use
and
Privacy Policy
.
McGraw-Hill Higher Education
is one of the many fine businesses of
The McGraw-Hill Companies
.