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

Notes

Chp. 3 Vocabulary

Montrice Gore intro to computer programming 10-12 English 1 page

Content of the notes (1)

Page 1

Chapter 3 Vocabulary

Abstract data type a data type that can store data and methods

ArithmeticException exception an exception thrown when division by 0 occurs

Assignment statement gives the variable or constant on the left of an assignment operator

Case sensitive an uppercase letter is different from the same letter in lowercase

Class a data type that can store data and methods

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

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

Data type kind of information a variable or constant

Declaration statement that creates a variable stores

Equal sign (=) indicates the variable or constant on the left is to receive the value of the expression on the right

Exception an error affecting program execution also an exception

Floating point values that are represented by the double data type. Value of the expression on the right.

Identifier name for a variable.

Initialize assign a variable a value in a declaration

InputMismatchException exception thrown when user input is not as expected

Input stream the sequence of characters received is from an input device

Instantiation create new object

Integer division division that truncates the decimal portion

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

Literal action value

Logic error error caused by a statement that is syntactically correct but produces unexpected or undesired results

Modulus division division that returns the remainder

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

Object a variable declared with a class

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

Primitive data type can only store a single piece of data

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 an exception

Semantic error see logic error

Syntax error caused by a statement that violated 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 memory location that stores a value

boolean type of data type that represents true or false

char represents a single character

double represents positive or negative floating points

final keyword used to declare an identifier a constant

import make a package or classes from a package accessible to an application

in represents the standard input stream

int a data type that represents positive or negative integers

java.lang most fundamental java package. it contains chases that define the java language

java.text package with number format class for formatting numbers

java.util package with the scanner class for reading input

NumberFormat class with methods for reading input from the server

Scanner class with methods for reading input

System.in 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
Montrice Gore
Views
1
History
  • Created by Terri FLetcher · Jan 25, 2016
  • Copied by Montrice Gore · Jan 25, 2016
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?