Chapter 3 Key Terms Flashcards

1
Q

Array

A

A set of data represented by a single variable name.

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

Array Literal

A

A single statement that declares an array variable and its content.

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

Browser Test

A

A conditional statement that tests whether a feature of the JavaScript language is supported by the browser.

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

Callback Function

A

A function that is passed as a parameter to another function or method.

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

Conditional Statement

A

A special type of JavaScript statement used for making decisions.

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

Controlling Flow

A

Changing the order in which JavaScript code is executed.

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

Counter

A

A variable that is incremented or decremented with each iteration of a program loop.

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

Decision Making

A

The process of choosing which code to execute at a given point in an application.

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

Decision-making statement

A

A special type of JavaScript statement used for making decisions.

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

Decision-making structure

A

A special type of JavaScript statement used for making decisions.

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

Element

A

An individual value contained in an array or a page object marked within an HTML file.

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

Fallthrough

A

A situation in which execution of a switch statement does not stop after the statements for a particular case label are executed, but continues evaluating the rest of the case labels in the list.

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

HTML Collection Project

A

A group of HTML elements within the Document Object Model.

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

Index

A

A number associated with an element in an array, which represents the element’s position within the array.

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

Infinite Loop

A

A program loop than repeats without end.

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

Iteration

A

Each repetition of a program loop.

17
Q

Matrix

A

Numbers stored in a rectangular grid of rows and columns.

18
Q

Multidimensional Array

A

A data structure in which two or more arrays are nested within one another.

19
Q

Nested decision-making structure

A

The type of structure created by nesting one decision-making statement within another decision-making statement.

20
Q

Posttest loop

A

A program loop in which the stopping condition is evaluated after the command block has been executed at least once.

21
Q

Pretest loop

A

A program loop in which the stopping condition is evaluated before each iteration of the command block.

22
Q

Program loop

A

A command block that is executed repeatedly until a stopping condition is met.

23
Q

Spaghetti code

A

A pejorative programming term that refers to convoluted or poorly written code.

24
Q

Sparse array

A

An array in which some array elements are left undefined so that the length of the array is not the same as the number of defined values.