Term
|
Definition
A named storage location for values. They all have a type, which is declared when it is created |
|
|
Term
|
Definition
A number or string (or other thing to be named later) that can be stored in a variable. Everyone belongs to a type |
|
|
Term
|
Definition
A set of values. The ___ of a variable determines which values can be stored there. The ones we have seen are integers (int in Java) and strings (String in Java) |
|
|
Term
|
Definition
A reserved word used by the compiler to parse programs. You cannot use words like, public, class, and void as variable names. |
|
|
Term
|
Definition
A statement that creates a new variable and determines its type. |
|
|
Term
|
Definition
A statement that assigns a value to a variable. |
|
|
Term
|
Definition
A combination of variables, operators and values that represents a single value. they also have types, as determined by their operators and operands. |
|
|
Term
|
Definition
A symbol that represents a computation like addition, multiplication or string concatenation. |
|
|
Term
|
Definition
One of the values on which an operator operates. |
|
|
Term
|
Definition
The order in which operations are evaluated. |
|
|
Term
|
Definition
To join two operands end-to-end. |
|
|
Term
|
Definition
The ability to combine simple expressions and statements into compound statements and expressions to represent complex computations concisely. |
|
|
Term
|
Definition
The phrases that appear in quotation marks are called _____ because they are made up of a sequence of characters. They can contain any combination of letters, numbers, punctuation marks, and other special characters. |
|
|
Term
|
Definition
Are useful for organizing your program visually, making it easier to read the program and locate errors |
|
|
Term
|
Definition
One of the most powerful features of a programming language is the ability to manipulate _____ |
|
|
Term
|
Definition
To store a value, you have to create a _______. |
|
|
Term
|
Definition
When you declare a variable, you create a named ______. |
|
|
Term
|
Definition
When you make an assignment to a variable, you give it a ______. |
|
|
Term
|
Definition
As a general rule a ____ has to have the same type as the value you assign it. |
|
|
Term
|
Definition
To print the name of a variable, you have to _____________. |
|
|
Term
|
Definition
The Syntax for printing a variable is the same regardless of the variable's type? TRUE or FALSE |
|
|
Term
terminate without displaying the stored output! |
|
Definition
If you omit println, the program may ___________________________. |
|
|
Term
|
Definition
Integer division always rounds ______. |
|
|
Term
|
Definition
To get a more accurate answer, we can use a different type of variable, called a __________, that can store fractional values. |
|
|
Term
|
Definition
If the operators have the same precedence they are evaluated from ________ to ________. |
|
|
Term
|
Definition
One of the most useful features of programming languages is their ability to tak small building blocks and _________ them |
|
|
Term
|
Definition
Any expression involving numbers, strings, and variables cannot be used inside a print statement. TRUE or FALSE |
|
|