Chapter 1 - intro to javascript Flashcards

1
Q

Although JavaScript is considered a programming language, it is also a critical part of web page design and authoring

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Like HTML, XHTML is not case sensitive.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

You can place script elements in either the document head or in the document body

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

JavaScript code is always stored in an external file separate from the HTML or XHTML code for a web document

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Elements that do not require a closing tag are called empty elements

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

_____ can turn static documents into applications such as games or calculators

A

JavaScript

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

______ was established in 1994 at MIT to oversee the development of web technology standards

A

The W3C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

An HTML document is a text document that contains codes called _____

A

Tags

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

In the client/server system, one of the primary roles of the client, or front end, is to _____

A

Present an interface to the user

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A system consisting of a client and server is known as a ____ system

A

Two-tier

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

On client/server systems, heavy processing, such as calculations, usually takes place in the ____

A

Server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

A three tier, or multi tier, client/server system consists of three distinct pieces : These are _____

A

The client tier
The processing tier
The data storage tier

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Some of the more popular server-side-scripting languages include_____

A

PHP
ASP.NET
PYTHON

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

_____ refers to programming using a scripting language that is executed from a web server

A

Server-side scripting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

When a client requests a server side script , a client will never see the server side script only the ____ that the web server software returns from the script

A

HTML

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

An object is ___ that can be treated as an individual unit or component

A

Programming code and data

17
Q

The procedures associated with an object are called _____

A

Methods

18
Q

___ are lines of code that are not processed by browsers , which you use to add notes about your code

A

Comments

19
Q

A ___ comment occupies only a single line or part of a line

A

Line

20
Q

A ___ comment hides multiple lines of code

A

Block

21
Q

Which keyword do you use to create a variable?

A

var

22
Q

Variables and literals contained in an expression are known as _____

A

Operands

23
Q

Symbols such as + and * used in expressions to manipulate operands are known as ____

A

Operators

24
Q

Which method do you use to reference an element on a web page in a script?

A

getElementById()

25
Q

Which method displays a dialog box with an okay button?

A

alert()

26
Q

Special words that are part of the JavaScript language syntax and that can’t be used as a variable names are known as ____

A

Reserved words

27
Q

A document on the web is called a web page and is identified by a unique address called the _____

A

URL

28
Q

When you assign a value to a variable, you ur an equal sign, which is also called an ______ operator

A

Assignment

29
Q

When an event occurs, your script executed any code that responds to that specific event on that specific element. This code is known as the ____

A

Event handler

30
Q

JavaScript source filed that store especially useful generic scripts used on many different website are known as ____

A

Libraries

31
Q

A ___ is a specific circumstance that is monitored by JavaScript and that your script can respond to in some way

A

Event