Send a link to your students to track their progress
101 Terms
1
New cards
Software Engineer
Designs, develops, and tests software for home, school, and business use
2
New cards
IDE (Integrated Development Environment)
A software application for writing, compiling, testing, and debugging program code
3
New cards
Source Code
A collection of programming commands
4
New cards
Syntax
The rules for how a programmer must write code for a computer to understand
5
New cards
Class Header
Consists of the keyword class and the name of the class
6
New cards
Syntax Error
A mistake in the code that does not follow a programming language's syntax
7
New cards
Attribute
Characteristic of an object
8
New cards
Behavior
Action an object can do
9
New cards
Instantiate
Call the constructor to create the object
10
New cards
Constructor
A block of code that has the same name as the class and tells the computer how to create a new object
11
New cards
object-oriented programming
an approach to creating and using models of physical or imagined objects
12
New cards
Object
An instance of a class
13
New cards
Class
A programmer-defined blueprint from which objects are created
14
New cards
State
The attributes of an object that are represented by its instance variables
15
New cards
Package
A collection of similar classes
16
New cards
Bug
An error in the code
17
New cards
Debugging
Finding and fixing problems in your algorithm or program
18
New cards
Method
A named set of instructions to perform a task
19
New cards
Dot operator
Used to call a method in a class
20
New cards
void method
A method that performs an action but does not return a value
21
New cards
Procedural Abstraction
allows a programmer to use a method by knowing what the method does even if they do not know how the method was written
22
New cards
Parameter
A variable in the method or constructor signature that defines the type of value to receive when the method or constructor is called
23
New cards
Argument
A value passed to a method or constructor when the method or constructor is called
24
New cards
Boolean
A primitive data type that represents either true or false.
25
New cards
Conditional Statement
A statement that only executes when a condition is true
26
New cards
Condition
determines whether or not to execute a block of code
27
New cards
If statement
A conditional statement that only executes when the condition is true.
28
New cards
Logic error
An error that occurs when the code runs but does not do what was expected
29
New cards
Return
To exit a method and go back to the point in the program that called it with the requested value or information
30
New cards
Constructor Signature
The first line of the constructor which includes the public keyword, the constructor name, and the values to specify when an object is created
31
New cards
Super Keyword
A keyword used to refer to the superclass
32
New cards
Method Signature
Consists of a name and parameter list
33
New cards
Comment
Text note that is ignored by the compiler to explain or annotate the code
34
New cards
Programming style
Set of guidelines for formatting program code
35
New cards
Code review
The process of examining code and providing feedback to improve the quality and functionality of the program
36
New cards
Documentation
Written descriptions of the purpose and functionality of code
37
New cards
Algorithm
A set of instructions to solve a problem or accomplish a task
38
New cards
Pseudocode
A plain language description of the steps in an algorithm
39
New cards
Efficient
Getting the best outcome with the least amount of waste
40
New cards
If-Else-Statement
Specifies a block of code to execute when the condition is true and a block of code to execute when the condition is false
41
New cards
Logical operator
An operator that returns a Boolean value
42
New cards
Not (!) operator
Returns true when false and false when true
43
New cards
Method Decomposition
The process of breaking a problem down into smaller parts to write methods for each part
44
New cards
Edge Case
A bug that occurs at the highest or lowest end of a range of possible values or in extreme situations
45
New cards
Inheritance Hierarchy
Where a class serves as a superclass for more than one subclass
46
New cards
Open Source Code
Code that is freely available for anyone to use, study, change, and distribute
47
New cards
Expression
A combination of data and operators that evaluates to a single value
48
New cards
Operand
The data that is operated on
49
New cards
Compound expression
A combination of expressions
50
New cards
Compound assignment operator
Shortcut syntax ( +\=. -\=, *\=, /\=, %\= ) to perform an operation on both operands and store the result into the variable on the left
51
New cards
ArithmeticException
An error caused by dividing by zero
52
New cards
Truncate
To cut off data from the end
53
New cards
Instance Variable
A variable defined in a class that represents an attribute of an object
54
New cards
Encapsulation
An object-oriented programming concept where the instance variables of a class are hidden from other classes and can be accessed only through the methods of the class
55
New cards
Access modifier
A keyword used to set the visibility of classes, variables, constructors, and methods
56
New cards
No-argument constructor
A constructor with no parameters
57
New cards
Default Value
A predefined value that is used by a program when the user does not provide a value
58
New cards
Parameterized constructor
A constructor that has a specific number of arguments to be passed to assign values to an object's instance variables
59
New cards
Overloading
Defining two or more constructors or methods
60
New cards
Actual Parameter
The value given to an attribute when initializing an object
61
New cards
Formal parameter
The values to be passed t a constructor or method
62
New cards
Local variable
A variable declared and accessible within a specific block of code
63
New cards
Call by value
Copying the value of the actual parameter to the constructors formal parameter
64
New cards
Null
The variable does not refer to any object
65
New cards
NullPointerException
An error that occurs when a reference does not point to an object
66
New cards
Application Programming Interface (API)
A library of prewritten classes
67
New cards
Library
A collection of methods or reusable components of code
68
New cards
DRY Principle
Don't repeat yourself: try to simplify your code and avoid repeating code unnecessarily.
69
New cards
Refactor
To improve the readability, reusability, or structure of program code without altering its functionality
70
New cards
Mutator method
Changes the value stored in an instance variable
71
New cards
Relational operator
An operator used to compare values or expressions
72
New cards
Boolean expression
A logical statement that gives either a true or false value
73
New cards
Sentinel value
A special value used to notify the program to stop accepting input
74
New cards
Scope
Where a variable can be used
75
New cards
This keyword
A keyword used to refer to the current object in a method or constructor
76
New cards
Data Structure
a structure for organizing, processing, retrieving, and storing data
77
New cards
one-dimensional array
A data structure that holds multiple values of the same data type
78
New cards
Immutable
An object whose state cannot be modified after it is created
79
New cards
Element
A single value or object in a data structure
80
New cards
Index
An integer value that indicates the position of a value in a data structure
81
New cards
Initializer list
A comma-separated list of values or objects for an array given inside curly braces ({})
82
New cards
ArrayIndexOutOfBoundsException
An error that occurs when attempting to access an index that is negative, greater than, or equal to the size of the array
83
New cards
Precondition
A condition that must always be true just before the execution of a code segment
84
New cards
Postcondition
a condition that must always be true just after the execution of a code segment
85
New cards
Static Variable
Variable that is shared by all instances of a class
86
New cards
Constant
Variable whose value cannot be changed once it has been assigned
87
New cards
Text file
A file that contains letters, numbers, and/or symbols but has no special formatting
88
New cards
Off-by-one error
an error that occurs when we try to access an index value that is greater than the length of the array
89
New cards
Aliasing
When two Reference variables point to the same object
90
New cards
Truth Table
A table used to determine the truth values of a Boolean expression
91
New cards
Compound Boolean Expression
An expressions using logical operators that evaluates to a Boolean value
92
New cards
Short-circuited evaluation
A process in which the evaluation of a logical expressions exits when the result is clear, even before the complete evaluation of the expression
93
New cards
final class
a class that cannot be extended
94
New cards
Math class
a class that contains methods for performing basic numeric operations
95
New cards
Cast
Assign a value of one type to another
96
New cards
Widen
Automatically cast from a smaller type to a larger type
97
New cards
Multi-selection statement
a statement that selects a single action from three or more conditional statements based on which Boolean expression is true
98
New cards
column-major order
traversing a 2D array by accessing each column from left to right
99
New cards
row-major order
traversing a 2D array by accessing each row from top to bottom