1/41
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
algorithm
A methodical, logical rule or procedure that guarantees solving a particular problem.
sequencing
to arrange in a specific order
syntax error
a mistake in the program where the rules of the programming language are not followed.
logic error
an error that produces the wrong output, happens after
run time error
A mistake in a program that happens during, stops the program
data type
indicates the type of data that can be stored in a field
primitive data type
Integer, real, character or Boolean data types, fundamental
reference type
a data type that contains a pointer to the memory location of an object
int
a command defining variables, whole numbers
double
data set that stroes numbers with decimals
boolean
A single value of either TRUE or FALSE
variable
a named container for a value in memory, must declare it
literal
an unchanging variable as soruce code
escape sequence
A sequence of code that represents a special character when used inside a string, /n
remainder operator %
Performs division and returns the remainder
assignment operator/statement
allows a program to change the value represented by a variable equals sign
casting operator
Converts one data type to another.
interger overflow error
when a mth number is too high
round off error
Error from attempting to represent a number that is too precise. The value is rounded.
comment
not an executable command, used for clarity
precondition
a condition that must be true to run
postcondition
a condition that is guaranteed to be true after the code is ran
method
a block of code preforming a task
parameter
a variable used in a function to recieve input values when a procedure is called
void method
a method that does not return any result after completion
non void method
A method that returns a value
class method
method bound to the class, not the object
object
a part of the program thar knows how to executre a command and preform actions
class
a template for creating actions
superclass
class that inherits another
subclass
class that inherits attributes from another class
compiler
A computer program created to read an entire program and convert it into bytecode(0's and 1's)
string literal
text in double quotes
compound assignmnt operators
used in place of assignment operator in numeric expressions
increment/decrement operators
used to add or subtract from stored values
API
informs programmer how to use classes
declaration
creates a container name, int studentAge
Initialization
the answer to a declaration, studentAge = 16
expression
combination of variables, literals and operators
output
provides methods for displaying information to the console
Widening Conversion (Implicit)
Happens when you convert a smaller data type to a larger one
Narrowing Conversion (Explicit)
Requirs you to manually specify the casr using parentheses