Partial preview of the text
Download Final Exam | CSC 116 - Introduction to Computing - Java and more Quizzes Java Programming in PDF only on Docsity!
Algorithm
A step-by-step description of how to accomplish a task
TERM 2
Program
DEFINITION 2
A list of instructions to be carried out by a computer
TERM 3
Class
DEFINITION 3
A unit of code that is the basic building block of Java
programs
TERM 4
Method
DEFINITION 4
A program unit that represents a particular action or
computation
TERM 5
Statement
DEFINITION 5
An executable snippet of code that represents a complete
command
Identifier
A name given to an entity in a program, such as a class or
method
TERM 7
Decomposition
DEFINITION 7
A separation into discernible parts, each of which is simpler
than the whole
TERM 8
Expression
DEFINITION 8
A simple value or a set of operations that produces a value
TERM 9
Operator
DEFINITION 9
A special symbol used to indicate an operation to be
performed on one or more values
TERM 10
Precedence
DEFINITION 10
The binding power of an operator, which determines how to
group parts of an expression
Constructor
A method that creates and initializes an object.
TERM 17
Text Processing
DEFINITION 17
Editing and formatting strings of text
TERM 18
Precondition
DEFINITION 18
A condition that must be true before a method executes to
guarantee that it can perform its task
TERM 19
Postcondition
DEFINITION 19
A condition that the method guarantees will be true after it
finishes executing, as long as the preconditions were true
before it was called
TERM 20
Throws Clause
DEFINITION 20
A declaration that a method will not attempt to handle a
particular type of exception
Null
A Java keyword signifying no object
TERM 22
Boilerplate Code
DEFINITION 22
Code that tends to be the same from one program to another
TERM 23
Array
DEFINITION 23
A structure that holds multiple values of the same type
TERM 24
Index
DEFINITION 24
An integer indicating the position of a value in a data
structure
TERM 25
Array Traversal
DEFINITION 25
Processing each array element sequentially from the first to
the last
Class Invariant
An assertion about an object's state that is true for the
lifetime of that object
TERM 32
This
DEFINITION 32
A java keyword that allows you to refer to the implicit
parameter inside a class