Primitive Types

4.3(11)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/24

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

25 Terms

1
New cards
Computer Science
An official name that pertains to the world of computers, and coding.
2
New cards
Programming style
A specific way that someone programs
3
New cards
commenting
Comments on the code, they don’t execute anything, but are their to improve the readability of the program for anyone looking at it
4
New cards
interpreter
enables the computer to understand the code
5
New cards
binary
the languages that computers understand, 0’s and 1’s
6
New cards
compiling
the process where the interpreter translates the java code into binary
7
New cards
compile-time error
when compiling stops because of an error within the code
8
New cards
logical error
something is incorrect with the logic behind the code, and it doesn’t give the provided output
9
New cards
run-time error
an error that isn’t caught by the compiler, but it produces an error during the execution of the code
10
New cards
string literal(string)
this is a type in java used to represent words, or sentences
11
New cards
escape sequence
a piece of code that begins with a backslash that indicates specific characters
12
New cards
assign
this sets values to a variable
13
New cards
assignment operator
The equal sign, =, that assigns a value to something
14
New cards
variable
used to store information to referenced, so that it can be manipulated in the program
15
New cards
concatenation operator
\+ sign that is used between 2 entities to combine them
16
New cards
primitive data
the basic types of data used in java
17
New cards
integer
(int) it represents an integer number
18
New cards
double
(double) it represents a number that can be positive, negative, or zero and can contain decimals, or be fractions
19
New cards
boolean
(boolean) a representation of a value that is either true or false
20
New cards
character
(char) represents any single character that can be represented on the computer anywhere from special characters, letters, numbers, and spaces
21
New cards
precedence
the order of operations in java
22
New cards
strongly typed
meaning that java makes you define the variables data type
23
New cards
casting
has a higher precedence than all the other operators, and is used to convert the output that is produced
24
New cards
increment operator
used to increase the value of a number by 1
25
New cards
decrement operator
used to decrease the value of a number by 1