Skip to content

Commit 4e79bf1

Browse files
authored
Update VOCABULARY.md
1 parent 64d8cf9 commit 4e79bf1

1 file changed

Lines changed: 166 additions & 82 deletions

File tree

VOCABULARY.md

Lines changed: 166 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -1,89 +1,173 @@
1-
**address**: The location of a value in computer memory, often represented as a hexadecimal integer.
2-
**algorithm**: A procedure or formula for solving a problem, with or without a computer.
3-
**abstract class**: A class that is declared as abstract; it cannot be instantiated, and it may (or may not) include abstract methods.
4-
**argument**: A value that you provide when you call a method. This value must have the type that the method expects.
5-
**assignment**: A statement that gives a value to a variable.
1+
**Address**: The location of a value in computer memory, often represented as a hexadecimal integer.
2+
3+
**Algorithm**: A procedure or formula for solving a problem, with or without a computer.
4+
5+
**Abstract class**: A class that is declared as abstract; it cannot be instantiated, and it may (or may not) include abstract methods.
6+
7+
**Argument**: A value that you provide when you call a method. This value must have the type that the method expects.
8+
9+
**Assignment**: A statement that gives a value to a variable.
10+
611
**AWT**: The “Abstract Window Toolkit”, a Java package for creating graphical user interfaces.
7-
**binary**: A system that uses only zeros and ones to represent numbers. Also known as “base 2”.
8-
**binary search**: An algorithm that searches a sorted array by starting in the middle, comparing an element to the target, and eliminating half of the remaining elements.
9-
**block**: A sequence of statements, surrounded by braces, that generally runs as the result of a condition.
10-
**branch**: One of the alternative blocks after a conditional statement. For example, an if-else statement has two branches.
11-
**bug**: An error in a program.
12-
**base case**: A condition that causes a recursive method not to make another recursive call.
13-
**class**: A template for a new type of object, containing both attributes and methods.
14-
**compile**: To translate a program in a high-level language into a low-level language, all at once, in preparation for later execution.
15-
**compile-time error**: An error in the source code that makes it impossible to compile. Also called a “syntax error”.
16-
**concatenate**: To join two values, often strings, end to end.
17-
**conditional statement**: A statement that uses a condition to determine which statements to execute.
18-
**constructor**: A special method that initializes the instance variables of a newly constructed object.
19-
**client**: A class that uses objects defined in another class.
20-
**class diagram**: An illustration of the attributes and methods for a class.
21-
**compile-time error**: An error in the source code that makes it impossible to compile. Also called a “syntax error”.
22-
**concatenate**: To join two values, often strings, end to end.
23-
**constant**: A variable, declared as final, whose value cannot be changed.
24-
**debugging**: The process of finding and removing errors.
25-
**declaration**: A statement that creates a new variable and specifies its type.
26-
**dot notation**: Use of the dot operator (.) to access an object’s attributes or methods.
27-
**decrement**: Decrease the value of a variable.
28-
**dynamic memory**: Memory that is allocated at runtime, such as with arrays or objects.
29-
**encapsulate**: To wrap data inside an object, or to wrap statements inside a method.
30-
**expression**: A combination of variables, operators, and values that represents a single value. Expressions also have types, as determined by their operators and operands.
31-
**equivalent**: Objects that are equal in value, as defined by the equals method.
32-
**executable**: Another name for object code that is ready to run on specific hardware.
33-
**flag**: A variable (usually boolean) that represents a condition or status.
34-
**floating-point**: A data type that represents numbers with an integer part and a fractional part. In Java, the default floating-point type is double.
35-
**format specifier**: A special code that begins with a percent sign and specifies the data type and format of the corresponding value.
36-
**function**: A part of a program that performs a specific task or computation.
37-
**garbage collection**: The process of finding objects that have no references and reclaiming their storage space.
38-
**getter**: A method that returns the value of an instance variable.
39-
**hacker**: A programmer who breaks into computer systems. The term hacker may also apply to someone who enjoys writing code.
40-
**helper method**: A method that implements part of a more complex algorithm; often it is not particularly useful on its own.
12+
13+
**Binary**: A system that uses only zeros and ones to represent numbers. Also known as “base 2”.
14+
15+
**Binary search**: An algorithm that searches a sorted array by starting in the middle, comparing an element to the target, and eliminating half of the remaining elements.
16+
17+
**Block**: A sequence of statements, surrounded by braces, that generally runs as the result of a condition.
18+
19+
**Branch**: One of the alternative blocks after a conditional statement. For example, an if-else statement has two branches.
20+
21+
**Bug**: An error in a program.
22+
23+
**Base case**: A condition that causes a recursive method not to make another recursive call.
24+
25+
**Class**: A template for a new type of object, containing both attributes and methods.
26+
27+
**Compile**: To translate a program in a high-level language into a low-level language, all at once, in preparation for later execution.
28+
29+
**Compile-time error**: An error in the source code that makes it impossible to compile. Also called a “syntax error”.
30+
31+
**Concatenate**: To join two values, often strings, end to end.
32+
33+
**Conditional statement**: A statement that uses a condition to determine which statements to execute.
34+
35+
**Constructor**: A special method that initializes the instance variables of a newly constructed object.
36+
37+
**Client**: A class that uses objects defined in another class.
38+
39+
**Class diagram**: An illustration of the attributes and methods for a class.
40+
41+
**Constant**: A variable, declared as final, whose value cannot be changed.
42+
43+
**Debugging**: The process of finding and removing errors.
44+
45+
**Declaration**: A statement that creates a new variable and specifies its type.
46+
47+
**Dot notation**: Use of the dot operator (.) to access an object’s attributes or methods.
48+
49+
**Decrement**: Decrease the value of a variable.
50+
51+
**Dynamic memory**: Memory that is allocated at runtime, such as with arrays or objects.
52+
53+
**Encapsulate**: To wrap data inside an object, or to wrap statements inside a method.
54+
55+
**Expression**: A combination of variables, operators, and values that represents a single value. Expressions also have types, as determined by their operators and operands.
56+
57+
**Equivalent**: Objects that are equal in value, as defined by the equals method.
58+
59+
**Executable**: Another name for object code that is ready to run on specific hardware.
60+
61+
**Flag**: A variable (usually boolean) that represents a condition or status.
62+
63+
**Floating-point**: A data type that represents numbers with an integer part and a fractional part. In Java, the default floating-point type is double.
64+
65+
**Format specifier**: A special code that begins with a percent sign and specifies the data type and format of the corresponding value.
66+
67+
**Function**: A part of a program that performs a specific task or computation.
68+
69+
**Garbage collection**: The process of finding objects that have no references and reclaiming their storage space.
70+
71+
**Getter**: A method that returns the value of an instance variable.
72+
73+
**Hacker**: A programmer who breaks into computer systems. The term hacker may also apply to someone who enjoys writing code.
74+
75+
**Helper method**: A method that implements part of a more complex algorithm; often it is not particularly useful on its own.
76+
4177
**IDE**: An “integrated development environment” that includes tools for editing, compiling, and debugging programs.
42-
**inheritance**: The ability to define a new class that has the same instance variables and methods of an existing class.
43-
**instance**: A member of a class. Every object is an instance of a class.
44-
**instance method**: A non-static method that has access to this and the instance variables.
45-
**instance variable**: An attribute of an object; a non-static variable defined at the class level.
46-
**immutable**: An object that, once created, cannot be modified. Strings are immutable by design.
47-
**import statement**: A statement that allows programs to use classes defined in other packages.
78+
79+
**Inheritance**: The ability to define a new class that has the same instance variables and methods of an existing class.
80+
81+
**Instance**: A member of a class. Every object is an instance of a class.
82+
83+
**Instance method**: A non-static method that has access to this and the instance variables.
84+
85+
**Instance variable**: An attribute of an object; a non-static variable defined at the class level.
86+
87+
**Immutable**: An object that, once created, cannot be modified. Strings are immutable by design.
88+
89+
**Import statement**: A statement that allows programs to use classes defined in other packages.
90+
4891
**JAR**: A “Java Archive”, which is essentially a ZIP file containing classes and other resources.
92+
4993
**JDK**: The “Java Development Kit”, which contains the compiler, Javadoc, and other tools.
94+
5095
**JVM**: The “Java Virtual Machine”, which interprets the compiled byte code.
51-
**keyword**: A reserved word used by the compiler to analyze programs. You cannot use keywords (like public, class, and void) as variable names.
52-
**literal**: A value that appears in source code. For example, "Hello" is a string literal, and 74 is an integer literal.
53-
**loop**: A statement that executes a sequence of statements repeatedly.
54-
**local variable**: A variable declared inside a method. Local variables cannot be accessed from outside their method.
55-
**loop body**: The statements inside the loop.
56-
**logic error**: An error in a program that makes it do something other than what the programmer intended.
57-
**method**: A named sequence of statements.
58-
**memory diagram**: A graphical representation of the state of a program at a point in time.
59-
**method signature**: The first line of a method that defines its name, return type, and parameters.
60-
**merge sort**: A recursive sorting algorithm that divides an array into two parts, sorts each part (using merge sort), and merges the results.
96+
97+
**Keyword**: A reserved word used by the compiler to analyze programs. You cannot use keywords (like public, class, and void) as variable names.
98+
99+
**Literal**: A value that appears in source code. For example, "Hello" is a string literal, and 74 is an integer literal.
100+
101+
**Loop**: A statement that executes a sequence of statements repeatedly.
102+
103+
**Local variable**: A variable declared inside a method. Local variables cannot be accessed from outside their method.
104+
105+
**Loop body**: The statements inside the loop.
106+
107+
**Logic error**: An error in a program that makes it do something other than what the programmer intended.
108+
109+
**Method**: A named sequence of statements.
110+
111+
**Memory diagram**: A graphical representation of the state of a program at a point in time.
112+
113+
**Method signature**: The first line of a method that defines its name, return type, and parameters.
114+
115+
**Merge sort**: A recursive sorting algorithm that divides an array into two parts, sorts each part (using merge sort), and merges the results.
116+
61117
**NaN**: A special floating-point value that stands for “not a number”.
62-
**newline**: A special character signifying the end of a line of text. Also known as “line ending”, “end of line” (EOL), or “line break”.
63-
**nesting**: Putting a conditional statement inside one or both branches of another conditional statement.
64-
**object**: A collection of related data that comes with a set of methods that operate on the data.
65-
**operator**: A symbol that represents a computation like addition, multiplication, or string concatenation.
66-
**object-oriented**: A way of organizing code and data into objects, rather than independent methods.
67-
**parameter**: A piece of information that a method requires before it can run.
68-
**parse**: To analyze the structure of a program; what the compiler does first.
69-
**primitive**: A data type that stores a single value and provides no methods.
70-
**polymorphism**: A language feature that allows objects to be assigned to variables of related types.
71-
**query**: A request for data from a database or other data source.
72-
**return type**: The type of value a method returns.
73-
**recursion**: A method or algorithm that invokes itself one or more times with different arguments.
74-
**refactor**: To restructure or reorganize existing source code without changing its behavior.
75-
**recursive**: A method or algorithm that invokes itself one or more times with different arguments.
76-
**row-major order**: Storing data in a 2D array, first by rows and then by columns.
77-
**scope**: The area of a program where a variable can be used.
78-
**stack diagram**: A graphical representation of the variables belonging to each method. The method calls are “stacked” from top to bottom, in the flow of execution.
79-
**static context**: The parts of a class that run without reference to a specific instance of the class.
80-
**temporary variable**: A short-lived variable, often used for debugging.
81-
**top-down design**: Breaking down a problem into subproblems, and solving each subproblem one at a time.
82-
**token**: The smallest unit of source code, such as an individual word, literal value, or symbol.
118+
119+
**Newline**: A special character signifying the end of a line of text. Also known as “line ending”, “end of line” (EOL), or “line break”.
120+
121+
**Nesting**: Putting a conditional statement inside one or both branches of another conditional statement.
122+
123+
**Object**: A collection of related data that comes with a set of methods that operate on the data.
124+
125+
**Operator**: A symbol that represents a computation like addition, multiplication, or string concatenation.
126+
127+
**Object-oriented**: A way of organizing code and data into objects, rather than independent methods.
128+
129+
**Parameter**: A piece of information that a method requires before it can run.
130+
131+
**Parse**: To analyze the structure of a program; what the compiler does first.
132+
133+
**Primitive**: A data type that stores a single value and provides no methods.
134+
135+
**Polymorphism**: A language feature that allows objects to be assigned to variables of related types.
136+
137+
**Query**: A request for data from a database or other data source.
138+
139+
**Return type**: The type of value a method returns.
140+
141+
**Recursion**: A method or algorithm that invokes itself one or more times with different arguments.
142+
143+
**Refactor**: To restructure or reorganize existing source code without changing its behavior.
144+
145+
**Recursive**: A method or algorithm that invokes itself one or more times with different arguments.
146+
147+
**Row-major order**: Storing data in a 2D array, first by rows and then by columns.
148+
149+
**Scope**: The area of a program where a variable can be used.
150+
151+
**Stack diagram**: A graphical representation of the variables belonging to each method. The method calls are “stacked” from top to bottom, in the flow of execution.
152+
153+
**Static context**: The parts of a class that run without reference to a specific instance of the class.
154+
155+
**Temporary variable**: A short-lived variable, often used for debugging.
156+
157+
**Top-down design**: Breaking down a problem into subproblems, and solving each subproblem one at a time.
158+
159+
**Token**: The smallest unit of source code, such as an individual word, literal value, or symbol.
160+
83161
**UML**: Unified Modeling Language, a standard way to draw diagrams for software engineering.
84-
**unit test**: Code that exercises a single method of a program, testing for correctness and/or efficiency.
85-
**value**: A number, string, or other data that can be stored in a variable. Every value belongs to a type (e.g., int or String).
86-
**validate**: To confirm that an input value is of the correct type and within the expected range.
87-
**virtual machine**: An emulation of a real machine. The JVM enables a computer to run Java programs.
88-
**wildcard**: A command-line feature that allows you to specify a pattern of filenames by using the * character.
89-
**zero-based index**: Indexing convention in which the first element of an array is accessed using the index 0.
162+
163+
**Unit test**: Code that exercises a single method of a program, testing for correctness and/or efficiency.
164+
165+
**Value**: A number, string, or other data that can be stored in a variable. Every value belongs to a type (e.g., int or String).
166+
167+
**Validate**: To confirm that an input value is of the correct type and within the expected range.
168+
169+
**Virtual machine**: An emulation of a real machine. The JVM enables a computer to run Java programs.
170+
171+
**Wildcard**: A command-line feature that allows you to specify a pattern of filenames by using the * character.
172+
173+
**Zero-based index**: Indexing convention in which the first element of an array is accessed using the index 0.

0 commit comments

Comments
 (0)