2 Flashcards

1
Q

A sequence of operands and operators that computes a value.

A

Arithmetic Expressions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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

A

Comments

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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

A

Coordinate System

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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

A

Exception

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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

A

Graphics Context

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

An error such that a program runs, but unexpected results are produced. Also referred to as a design error.

A

Logic Error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The point (0,0) in a coordinate system.

A

Origin

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A group of related classes in a named directory.

A

Package

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

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

A

Pseudocode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Words that have predefined meanings that cannot be changed.

A

Reserved Words

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

An error that occurs when a program asks the computer to do something that it considers illegal, such as dividing by 0.

A

Run-Time Error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

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.

A

Screen Coordinate System

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Rules for interpreting the meaning of statements.

A

Semantics

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Rules for combining words into sentences.

A

Syntax

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

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

A

Virus

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Set of all words and symbols in the language.

A

Java Vocabulary

17
Q

Numbers, characters, and Booleans. combined in expression with operators,

A

Primitive Data Types

18
Q

Sent messages.

A

Objects

19
Q

int, double, short, long, byte, and float

A

Name the 6 numeric data types

20
Q

Items whose values do not change, like the number 5.0 or the string “Java”.

A

Literals