GoConqr has a new look! Let us know what you think.

Notes

Chp. 3 Vocab

gvassalle7505 English 1 page

Content of the notes (1)

Page 1

Chapter 3 Vocabulary

Abstract data type - A class. A data type that can store data and methods

ArithmeticException exception - An exception thrown when division by 0 occurs

Assignment statement - A statement that gives the variable or constant on the left of an assignment operator the value of the expression on the right side of the assignment operator.

Case sensitive - An uppercase letter is different from the same letter in lowercase

Class - see Abstract Data Type

Concatenate - To join two or more strings to form one larger string

Constant - A name for a memory location that stores a value than cannot be changed from its initial assignment

Data type - The kind of information a variable stores

Declaration - A statement that creates a variable or a constant

Equal sign (=) - An assignment operator that indicates the variable or constant on the left is to receive the value of the expression on the right

Exception - see Run-time Error

Floating point - Values that are represented by the double data type. Values that contain numbers after the decimal point

Identifier - A name for a variable or constant. An identifier must begin with a letter and can include any number or letters, numbers, and special characters

Initialize - To assign a variable a value in a declaration statement

InputMismatchException exception - An exception thrown when user input is not as expected

Input stream - The sequence of characters received from an input device

Instantiation - To create a new object

Integer division - Division that truncates the decimal portion

Keyword - A word that has a special meaning to the Java compiler and therefore cannot be used as a variable or constant identifier

Literal - An actual value

Logic error - A error caused by a statement that is syntactically correct, but produces unexpected or undesired results. Also called a semantic error

Modulus division - Division that returns the remainder

Numeric expression - At least on operand and possibly one or more operators that evaluate to a single value

Object - A variable declared with a class

Operator precedence - The level assigned to an operator so that a specific order of operations is maintained

Primitive data type - A data type that can store only a single piece of data. Primitive data types are also called built-in data types

Prompt - A string that informs the user of the kind of data expected to be typed

Run-time error - An error affecting program execution Also called and exception.

Semantic error see Logic error

Syntax error - An error caused by a statement that violates the rules of Java

Truncate - Removing the decimal portion of a number when casting a double to an int.

Type casting - Converting a number from one type to a different type

Variable - A name for a memore location that stores a value.

boolean - A data type that represents true or false

char - A data type that represents a single character

double - A data type that represents positive or negative floating point numbers

final - Keyword used to declare an identifier a constant

import - Statement used to make a package or classes from a package accessible to an application.

in - the java.lang.System number that represents the standard input stream.

int - A data type that represents positive or negative integers

java.lang - The most fundamental Java package. It contains classes that define the Java language

java.text - A Java package with the Number Format class for formatting numbers

java.util - A Java package with the Scanner class for reading output

NumberFormat - A java.text class with methods for formatting numbers

Scanner - A java.util class with methods for reading input from the user

System.in - The input stream for reading from the keyboard

Information

Description
You may use your textbook (which I recommend) or the Internet to find the definitions.
Created by
gvassalle7505
Views
1
History
  • Created by Terri FLetcher · Jan 27, 2016
  • Copied by bhoward3321 · Jan 27, 2016
  • Copied by gvassalle7505 · Jan 27, 2016
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?