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

Notes

Chp. 3 Vocabulary

dwrinkle5671 Intro to Computer Programming 10-12 English 1 page

Content of the notes (1)

Page 1

Chapter 3 Vocabulary

Abstract data type- A class of data that defines more than a single piece of information

ArithmeticException exception- An exception thrown when division by 0 happens

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

Case sensitive- Uppercase and Lowercase are considered different

Class- Data type that can store data and methods

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

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

Data type- Kind of information that a variable stores

Declaration- Statement that creates a variable or constant

Equal sign (=) Assignment operator that 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

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. Must begin with a letter and can contain any numbers, letters, and some special characters

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

InputMismatchException exception- Thrown when the user input is not as expected

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

Instantiation- To create a 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- An actual 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- The level assigned to an operator so that a specific order of operations is maintained

Primitive data type- A data type that can only store a single piece of data. 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

Semantic error- Error caused by a statement that is syntactically correct but produces unexpected or undesired results

Syntax error- 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- Name for a memory location that stores a value

boolean- Data type that represents true or false

char- Data type that represents a single character

double- Data type that represents positive or negative floating point numbers

final- Keyword used to declare an identifier an constant

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

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

int- Data type that represents positive or negative integers

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

java.text- Java package with the NumberFormat class for formatting numbers

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

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 the keyboard

Information

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

Feedback

What is it about?

What do you think of the new look?

How do you like it?