1/27
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Algorithm
Define step by step processes to follow when completing a task or solving a problem.
Sequencing
Defines an order for when steps in an algorithm are completed
Java
Very popular coding language, used in most apps and programs.
Class
Groups data and actions
Compiler
Translates the code written in java into a language the computer can understand.
IDE: Integrated Development Environment
A tool programmers use to develop their programs.
Bug
An error in the code.
Debugging
Finding and fixing errors.
Syntax
The rules that define how code is written so the computer can understand it.
Syntax
A mistake in the program where the rules of the programming language are not followed.
Logic Error
An error that causes the program to run incorrectly or behave unexpectedly
Run-Time Error
An error that occurs when the program is executed
Exception
A type of run-time error caused by an unexpected issue the compiler didn’t catch.
Variable
A storage location for a value
Data type specifications
The type of information stored, and what can be done to that information
Primitive
Most basic data type in Java and represents the simplest building blocks of data.
Primitive data Types
int, double, boolean, char
int
integer
double
Decimal
boolean
true/false
char
character (single, and must be in single quotes)
Declaring a variable
Declare the data type then name it
Naming guidlines
Starts with a letter/symbol/space, describes the value they store, written in lowerCamelCase
Initializing a variable
Assigning the variable a value. using an = sign.
Updating a variable
Assigning the variable a new value done the same way as initializing.
Finalizing a variable
Final in front of the variable, and prevents it from being changed.
String
An ordered sequence of characters in double quotes
Object
has a reference data type, and is created by a class