Chapter 3 Vocab Flashcards
define arithmetic expressions
A sequence of operands and operators that computes a value.
define comments
non-executable statements used to make a program more readable.
What is the coordinate system?
A grid that allows a programmer to specify positions of points in a plane or pixels on a computer screen
define exception
An abnormal state or error that occurs during run-time and is signaled by the operating system
What is graphics context?
In Java, an object associated with a component where the image for that component are drawn
What are keywords/reserved words?
words that have predefined meanings that cannot be changed
What is a literal?
An element of a language the evaluates to itself, such as 34 or “hi there.”
What is a logic error/design error?
An error such that a program runs, but unexpected results are produced.
What is the method signature?
the name and formal parameters of a method
What is the origin?
The point (0,0) in a coordinate system
What is a package?
A group of related classes in a named directory
What is pseudo code?
A stylized half-English, half-code language written in English but suggesting Java code
What is a run-time error?
An error detected when, after compilation is completed, an error message results instead of the correct output.
What is the screen coordinate system?
A coordinate system used by most programming languages in which the origin is in the upper-left corner of the screen, window, or panel, and the y values increase toward the bottom of the drawing area
What is semantics?
The rules for interpreting the meaning of a program in a language