Chapter 3 Java | Syntax, Errors, and Debugging

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

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.

Coordinate System

A grid that allows a programmer to specify positions of points in a plane or of pixels on a computer screen.

Package

A group of related classes in a named directory; makes it easy for programmers to share code.

Virus

A program that can enter a computer and perhaps destroy information.

Pseudocode

A stylized half-English, half-code language written in English but suggesting Java code.

Exception

An abnormal state or error that occurs during runtime and is signaled by the operating system.

Literal

An item in a program whose value does not change.

Arithmetic Expression

Consists of operands and operators combined in a manner familiar from algebra.

Syntax

Consists of the rules for combining words into sentences, or a statement.

Semantics

Define the rules for interpreting the meaning of statements.

Syntax Errors

Errors detected at compile time for when we violate a syntax rule. For example: a missing semicolon after a statement.

Comments

Explanatory sentences inserted in a program in such a manner that the compiler ignores them.

Graphics Content

In Java, an object associated with a component where the images for that component are drawn.

Run-time Error

Occur when we ask the computer to do something that it considers illegal, such as dividing by 0.

Logic Error

Occur when we fail to express ourselves accurately; also called design errors or bugs.

Variable Declaration Statement

The form that introduces a new variable name and its data type in a program.

Method Signature

The name and formal parameters of a method.

Origin

The upper-left corner of a screen coordinate system.

Reserved Words

Words that cannot be employed as user-defined symbols; also known as keywords. Examples: true, false, import, etc.


संबंधित स्टडी सेट्स

Ch 15: interpersonal and organizational communication

View Set

The Perioperative Patient + Surgical Suite Prep

View Set

Chapter 27 - Japan and the Koreas-

View Set

American Government Ch11,14, 12, 13

View Set

Behandling vid orofacial smärta 2/3

View Set