Chapter 3 Flashcards
arithmetic expression
A sequence of operands and operators combined in a manner familiar from algebra. (63)
comments
Explanatory sentences inserted in a program in such a manner that the compiler ignores them. (77)
coordinate system
A mechanism for locating the positions of points and other objects in space. (94)
exception
An abnormal state or error that occurs during run time and is signaled by the JVM. (84)
graphics context
An object that supports the drawing of shapes and images in a program. (95)
keywords
Words that have predefined meanings that cannot be changed. (71)
literal
An item in a program whose value does not change. (60)
logic error
Occurs when a programmer fails to express him/herself accurately; also called design errors or bugs. (82)
method signature
A method’s name and the types and number of its parameters. (71)
origin
The position (0,0) of a point in space or of a pixel on a computer terminal screen. (94)
package
A group of related classes in a named directory that makes it easy for programmers to share code. (73)
pseudocode
A half-English / half-code style of writing that expresses an algorithm. (79)
reserved words
Words that have predefined meanings that cannot be changed. (71)
run-time error
An error that occurs when a programmer asks a computer to do something that it considers illegal. Program execution halts with an error message. (82)
screen coordinate system
A mechanism for locating the positions of pixels on a computer terminal screen. (94)