Shared Flashcard Set

Details

Java Vocabulary
key terms for Java
64
Software
Graduate
09/16/2013

Additional Software Flashcards

 


 

Cards

Term
problem-solving
Definition
The process of formulating a problem, finding a solution, and expressing the solution.
Term
high-level language
Definition
A programming language like Java that is designed to be easy for humans to read and write.
Term
problem-solving
Definition
The process of formulating a problem, finding a solution, and expressing the solution.
Term
high-level language
Definition
A programming language like Java that is designed to be easy for humans to read and write.
Term
low-level languag
Definition
A programming language that is designed to be easy for a computer to run. Also called \machine language" or \assembly language."
Term
formal languag
Definition
Any of the languages people have designed for specific purposes, like representing mathematical ideas or computer programs. All programming languages are formal languages.
Term
natural languag
Definition
Any of the languages people speak that have evolved naturally.
Term
portability
Definition
A property of a program that can run on more than one kind of computer.
Term
interpret
Definition
To run a program in a high-level language by translating it one line at a time.
Term
compile
Definition
To translate a program in a high-level language into a low-level language, all at once, in preparation for later execution.
Term
source code
Definition
A program in a high-level language, before being compiled.
Term
object code
Definition
The output of the compiler, after translating the program.
Term
executable
Definition
Another name for object code that is ready to run.
Term
byte code
Definition
A special kind of object code used for Java programs. Byte code is similar to a low-level language, but it is portable, like a high-level language.
Term
statement
Definition
A part of a program that specifies a computation.
Term
print statement
Definition
A statement that causes output to be displayed on the screen.
Term
comment
Definition
A part of a program that contains information about the program, but that has no effect when the program runs.
Term
method
Definition
A named collection of statements.
Term
librar
Definition
A collection of class and method definitions.
Term
bug
Definition
An error in a program.
Term
syntax
Definition
The structure of a program.
Term
semantic
Definition
The meaning of a program.
Term
parse
Definition
To examine a program and analyze the syntactic structure.
Term
syntax error
Definition
An error in a program that makes it impossible to parse (and therefore impossible to compile).
Term
exception
Definition
An error in a program that makes it fail at run-time. Also called a run-time error.
Term
logic error
Definition
An error in a program that makes it do something other than what the programmer intended.
Term
debugging
Definition
The process of finding and removing any of the three kinds of errors.
Term
variable
Definition
A named storage location for values. All variables have a type, which is declared when the variable is created.
Term
value
Definition
A number or string (or other thing to be named later) that can be stored in a variable. Every value belongs to a type.
Term
type
Definition
A set of values. The type of a variable determines which values can be stored there. The types we have seen are integers (int in Java) and strings (String in Java).
Term
keyword
Definition
A reserved word used by the compiler to parse programs. You cannot use keywords, like public, class and void as variable names.
Term
declaration
Definition
A statement that creates a new variable and determines its type.
Term
assignment
Definition
A statement that assigns a value to a variable.
Term
expression
Definition
A combination of variables, operators and values that represents a single value. Expressions also have types, as determined by their operators and operands.
Term
operator
Definition
A symbol that represents a computation like addition, multiplication or string concatenation.
Term
operand
Definition
One of the values on which an operator operates.
Term
precedence
Definition
The order in which operations are evaluated.
Term
concatenate
Definition
To join two operands end-to-end.
Term
composition
Definition
The ability to combine simple expressions and statements into compound
Term
initialization
Definition
A statement that declares a new variable and assigns a value to it at the same time.
Term
floating-point
Definition
A type of variable (or value) that can contain fractions as well as integers. The floating-point type we will use is double.
Term
class
Definition
A named collection of methods. So far, we have used the Math class and the System class, and we have written classes named Hello and NewLine.
Term
method
Definition
A named sequence of statements that performs a useful function. Methods may or may not take parameters, and may or may not return a value.
Term
parameter
Definition
A piece of information a method requires before it can run. Parameters are variables: they contain values and have types.
Term
argument
Definition
A value that you provide when you invoke a method. This value must have the same type as the corresponding parameter.
Term
frame
Definition
A structure (represented by a gray box in stack diagrams) that contains a method's parameters and variables.
Term
invoke
Definition
Cause a method to execute.
Term
return type
Definition
The part of a method declaration that indicates what type of value the method returns.
Term
return value
Definition
The value provided as the result of a method invocation.
Term
dead code
Definition
Part of a program that can never be executed, often because it appears after a return statement.
Term
scaffolding
Definition
Code that is used during program development but is not part of the final version.
Term
void
Definition
A special return type that indicates a void method; that is, one that does not return a value.
Term
overloading
Definition
Having more than one method with the same name but different parameters. When you invoke an overloaded method, Java knows which version to use by looking at the arguments you provide.
Term
boolean
Definition
A type of variable that can contain only the two values true and false.
Term
flag
Definition
A variable (usually boolean) that records a condition or status information.
Term
conditional operator
Definition
An operator that compares two values and produces a boolean that indicates the relationship between the operands.
Term
logical operator
Definition
An operator that combines boolean values and produces boolean values.
Term
return type
Definition
The part of a method declaration that indicates what type of value the method returns.
Term
array
Definition
A collection of values, where all the values have the same type, and each value is identi ed by an index.
Term
element
Definition
One of the values in an array. The [] operator selects elements.
Term
index
Definition
An integer variable or value used to indicate an element of an array.
Term
deterministic
Definition
A program that does the same thing every time it is invoked.
Term
pseudorandom
Definition
A sequence of numbers that appear to be random, but which are actually the product of a deterministic computation.
Term
histogram
Definition
An array of integers where each integer counts the number of values that fall into a certain range.
Supporting users have an ad free experience!