Vocabulary Flashcards

(51 cards)

1
Q

Compile

A

To generate a dictionary in computer memory from source text (the written-out form of a definition).

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

Dictionary

A

A list of words and definitions including both “system” definitions (predefined) and “user” definitions (which you invent). A dictionary resides in computer memory in compiled form.

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

Execute

A

To perform the operations specified.

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

Extensibility

A

A characteristic of a computer language that allows a programmer to add new features or modify existing ones.

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

Glossary

A

A list of words defined in Forth, showing their stack effects and an explanation of what they do, which serves as a reference for programmers.

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

Infix notation

A

The method of writing operators between the operands they affect.

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

Postfix notation

A

The method of writing operators after the operands they affect. Also known as Reverse Polish Notation.

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

Prefix notation

A

The method of writing operators before the operands they affect. Also known as Polish Notation.

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

Actual arguments

A

The parameters/expressions used to call a function(or are passed to the function) .

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

Formal parameters

A

The parameters which are used in the function prototype.

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

Interpret

A

To read the input stream, then to find each word in the dictionary or, failing that, to convert it to a number.

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

LIFO

A

Last in, first out.

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

FIFO

A

First in, first out.

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

Stack

A

A region of memory that is controlled in such a way that data can be stored or removed in a last-in, first-out (LIFO) fashion.

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

Stack overflow

A

The error condition that occurs when the entire area of memory allowed for the stack is completely filled with data.

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

Stack underflow

A

The error condition that occurs when an operation expects a value on the stack, but there is no valid data on the stack.

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

Word

A

The name of a definition, a defined dictionary entry.

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

Run-time

A

When a word is executed.

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

Compile-time

A

When a definition is compiled.

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

Organize procedures

A
  1. Define useful tasks and give each task a name.

2. Group related tasks together into larger tasks and give each of these a name.

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

Data stack

A

The region of memory which serves as common ground between various operations to pass arguments from one operation to another.

22
Q

Return stack

A

A region of memory distinct from the data stack which the Forth system uses to hold return addresses, among other things.

23
Q

Definite loop

A

A loop structure in which the words contained within the loop repeat a definite number of times.

24
Q

Infinite loop

A

loop structure in which the words contained within the loop continue to repeat without any chance of an external event stopping them, except for the shutting down or resetting the computer.

25
Indefinite loop
A loop structure in which the words contained within the loop continue to repeat until some truth condition changes state.
26
Cell
Fundamental data type of a Forth system.
27
Factoring
Simplifying a large job by extracting those elements which might be reused and defining those elements as operations.
28
Address interpreter
Interpreter that executes the list of addresses found in the dictionary entry of a colon definition.
29
Body
The code and parameter fields of a Forth dictionary entry.
30
Boot
To load the precompiled portion of Forth into the computer so that you can talk to the computer in Forth. This happens automatically when you turn the computer on or press "Reset".
31
Cfa
Code field address. The address of a dictionary entry's code pointer field.
32
Control task
On a multitasked system, a task which cannot converse with a terminal. Control tasks usually run hardware devices.
33
Code pointer field
The cell in a dictionary entry that contains the address of the run-time code for that particular type of definition.
34
Defining word
A Forth word that creates a dictionary entry.
35
Electives
The set of Forth definitions that come with a system but not in the precompiled portion. The electives block loads the blocks that contain the electives definitions; the block can be modified as the user desires.
36
Forward reference
In general, a reference to a waord that has not yet been defined.
37
Head
The name and link fields of a Forth dictionary entry.
38
Link field
The cell in a dictionary entry that contains the address of the previous definition, used in searching the dictionary.
39
Name field
The area of a dictionary entry that contains the name of the defined word, along with the number of characters in the name.
40
Pad
The region of memory within a terminal task that is used as a scratch pad to hold characters strings for intermediate processing.
41
Parameter field
The area of a dictionary that contains the "contents" of the definition. Depending on its use, the length of a parameter field varies.
42
Pfa
Parameter field address, the address of the first cell in a dictionary entry's parameter field.
43
Precompiled portion
The part of the Forth system that is resident in object form immediately after the power-up or boot operation.
44
Run-time code
A routine, compiled in memory, that specifies what happens when a member of a given class of words is executed.
45
System variable
Variable provided by Forth, referred to system-wide (by any task).
46
Task
A partition in memory that contains at minimum a data stack, a return stack, and a set of user variables.
47
Terminal task
On a multitasked system, a task that can converse with a human being using a terminal; has a text interpreter, dictionary, and so on.
48
Text input buffer
The region in memory within a terminal task that is used to store text as it arrives from a terminal. Incoming source text is interpreted here.
49
User variable
Variable provided by Forth, whose value are unique for each task.
50
Vectored execution
Method of specifying code to be executed by providing not the address of the code itself, but the address of a location which contains the address of the code. This location is often called vector.
51
Vocabulary
An independently linked subset of the Forth dictionary.